activate_scenario.sh
Mon Dec 30 07:51:13 CET 2024
scenario: homeOffice
source: 192.168.12.140

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_0.log)

vorher: 07:51:13.315

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.360
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_1.log)

vorher: 07:51:13.333

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 07:51:13.377
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_2.log)

vorher: 07:51:13.346

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 07:51:13.378
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_3.log)

vorher: 07:51:13.361

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.390
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_4.log)

vorher: 07:51:13.374

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:51:13.409
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_5.log)

vorher: 07:51:13.388

http://192.168.12.107/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:51:13.417
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_6.log)

vorher: 07:51:13.401

http://192.168.12.108/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.437
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_7.log)

vorher: 07:51:13.415

http://192.168.12.109/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:51:13.450
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_8.log)

vorher: 07:51:13.429

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.469
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_9.log)

vorher: 07:51:13.445

http://192.168.12.112/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:51:13.471
Dauer: 25 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_10.log)

vorher: 07:51:13.460

http://192.168.12.116/white/0?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:51:13.482
Dauer: 22 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_11.log)

vorher: 07:51:13.473

http://192.168.12.116/white/1?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:51:13.514
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_12.log)

vorher: 07:51:13.487

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:51:13.525
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_13.log)

vorher: 07:51:13.501

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:51:13.536
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_14.log)

vorher: 07:51:13.514

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:51:13.583
Dauer: 68 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_15.log)

vorher: 07:51:13.530

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.680
Dauer: 150 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_16.log)

vorher: 07:51:13.543

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:51:13.565
Dauer: 23 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_17.log)

vorher: 07:51:13.559

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.692
Dauer: 133 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_18.log)

vorher: 07:51:13.574

http://192.168.12.140/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.664
Dauer: 89 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_19.log)

vorher: 07:51:13.589

http://192.168.12.155/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:51:13.618
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 20
vorher : 07:51:13.281
nachher: 07:51:13.700
Dauer : 420 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/30//scene_homeOffice_20241230_075113.txt'


syslog

Dec 30 07:48:01 srv4hai CRON[22329]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 07:48:09 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735541289 - 'ping_SP_0'
Dec 30 07:48:09 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 07:49:01 srv4hai CRON[22362]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 07:49:12 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735541352 - 'ping_SP_0'
Dec 30 07:49:12 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 07:49:13 srv4hai common[22389]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 30 07:49:13 srv4hai bt_scan[22389]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec 30 07:49:13 srv4hai bt_scan[22389]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec 30 07:49:13 srv4hai common[22420]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 30 07:49:14 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1735541354-1735541353
Dec 30 07:49:14 srv4hai check_presence[22420]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec 30 07:49:14 srv4hai check_presence[22420]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec 30 07:49:14 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1735541354-1735541353
Dec 30 07:49:14 srv4hai check_presence[22420]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec 30 07:49:14 srv4hai check_presence[22420]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Dec 30 07:49:14 srv4hai check_presence[22420]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Dec 30 07:49:14 srv4hai check_presence[22420]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec 30 07:49:15 srv4hai postfix/anvil[22264]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 30 07:45:55
Dec 30 07:49:15 srv4hai postfix/anvil[22264]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 30 07:45:55
Dec 30 07:49:15 srv4hai postfix/anvil[22264]: statistics: max cache size 1 at Dec 30 07:45:55
Dec 30 07:49:38 srv4hai common[22526]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 30 07:49:38 srv4hai bt_scan[22526]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 30 07:49:38 srv4hai bt_scan[22526]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec 30 07:49:48 srv4hai postfix/smtpd[22559]: connect from unknown[80.94.95.239]
Dec 30 07:49:51 srv4hai postfix/smtpd[22559]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 30 07:49:51 srv4hai postfix/smtpd[22559]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 30 07:50:01 srv4hai CRON[22569]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 07:50:01 srv4hai CRON[22570]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 30 07:50:01 srv4hai common[22572]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 30 07:50:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 30 07:50:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 30 07:50:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 30 07:50:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec 30 07:50:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec 30 07:50:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec 30 07:50:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec 30 07:50:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec 30 07:50:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec 30 07:50:12 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec 30 07:50:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 30 07:50:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec 30 07:50:15 srv4hai common[23558]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec 30 07:50:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Dec 30 07:50:15 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Dec 30 07:50:15 srv4hai meter.sh: SHELLY meter.sh ended
Dec 30 07:50:16 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735541416 - 'ping_SP_0'
Dec 30 07:50:16 srv4hai ping_SP[6391]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 07:51:01 srv4hai CRON[23605]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 07:51:13 srv4hai activate_scenario[23615]: SHELLY last scenario: 'offAll' @ '061335' from 'scene_offAll_20241230_061335.txt' - delta=22
Dec 30 07:51:13 srv4hai activate_scenario[23615]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241230075113 20241230061335  -f '%S'
Dec 30 07:51:13 srv4hai activate_scenario[23615]: SHELLY  new scenario: 'homeOffice' different - GO ON
Dec 30 07:51:13 srv4hai activate_scenario[23615]: SHELLY scenario: 'homeOffice(homeoffice)' started
Dec 30 07:51:13 srv4hai activate_scenario[23615]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished