activate_scenario.sh
Sat Mar 2 23:02:02 CET 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/03/02/_0.log)

vorher: 23:02:02.943

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

nachher: 23:02:02.977
Dauer: 33 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 23:02:02.913
nachher: 23:02:02.983
Dauer : 70 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/02//scene_bedlight_tom_20240302_230202.txt'


syslog

Mar  2 22:59:01 srv4hai CRON[8627]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 23:00:01 srv4hai CRON[8652]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 23:00:01 srv4hai CRON[8653]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  2 23:00:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  2 23:00:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8722, secured, session=<3/9KnbQSrL8AAAAAAAAAAAAAAAAAAAAB>
Mar  2 23:00:02 srv4hai dovecot: imap(miglincit)<8722><3/9KnbQSrL8AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  2 23:00:12 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709416812 - 'ping_SP_1'
Mar  2 23:00:12 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 23:00:13 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:16 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:16 srv4hai common[9016]: SHELLY common.sh inkludiert
Mar  2 23:00:18 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:21 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:23 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:26 srv4hai bt_scan[9016]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar  2 23:00:26 srv4hai bt_scan[9016]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar  2 23:00:26 srv4hai common[9107]: SHELLY common.sh inkludiert
Mar  2 23:00:26 srv4hai check_presence[9107]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar  2 23:00:26 srv4hai check_presence[9107]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  2 23:00:26 srv4hai check_presence[9107]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  2 23:00:26 srv4hai check_presence[9107]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  2 23:00:26 srv4hai check_presence[9107]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar  2 23:00:26 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:29 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:31 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:34 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:36 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:39 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:41 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:44 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:46 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:49 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:52 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:54 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:00:57 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:01:00 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:01:01 srv4hai CRON[9272]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 23:01:02 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:01:05 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 23:01:05 srv4hai meter.sh: SHELLY meter.sh ended
Mar  2 23:01:05 srv4hai postfix/pickup[5032]: 2B42560244: uid=33 from=
Mar  2 23:01:05 srv4hai postfix/cleanup[9298]: 2B42560244: message-id=<20240302220105.2B42560244@mail.viehai.at>
Mar  2 23:01:05 srv4hai postfix/qmgr[28610]: 2B42560244: from=, size=654, nrcpt=1 (queue active)
Mar  2 23:01:05 srv4hai postfix/local[9300]: 2B42560244: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  2 23:01:05 srv4hai postfix/qmgr[28610]: 2B42560244: removed
Mar  2 23:01:25 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709416885 - 'ping_SP_1'
Mar  2 23:01:25 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär'
Mar  2 23:01:59 srv4hai postfix/pickup[5032]: 83B2760244: uid=33 from=
Mar  2 23:01:59 srv4hai postfix/cleanup[9298]: 83B2760244: message-id=<20240302220159.83B2760244@mail.viehai.at>
Mar  2 23:01:59 srv4hai postfix/qmgr[28610]: 83B2760244: from=, size=7796, nrcpt=1 (queue active)
Mar  2 23:01:59 srv4hai postfix/local[9300]: 83B2760244: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null")
Mar  2 23:01:59 srv4hai postfix/cleanup[9298]: 8C62F60245: message-id=<20240302220159.8C62F60245@mail.viehai.at>
Mar  2 23:01:59 srv4hai postfix/bounce[9402]: 83B2760244: sender non-delivery notification: 8C62F60245
Mar  2 23:01:59 srv4hai postfix/qmgr[28610]: 8C62F60245: from=<>, size=9715, nrcpt=1 (queue active)
Mar  2 23:01:59 srv4hai postfix/qmgr[28610]: 83B2760244: removed
Mar  2 23:01:59 srv4hai postfix/local[9300]: 8C62F60245: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  2 23:01:59 srv4hai postfix/qmgr[28610]: 8C62F60245: removed
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9415]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9426]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9437]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9450]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9469]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9480]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
Mar  2 23:01:59 srv4hai proc_url[9501]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_6.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
Mar  2 23:01:59 srv4hai proc_url[9512]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_7.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Mar  2 23:01:59 srv4hai proc_url[9523]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_8.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Mar  2 23:01:59 srv4hai proc_url[9534]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_9.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9546]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9566]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9577]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:01:59 srv4hai activate_scenario[9344]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Mar  2 23:01:59 srv4hai proc_url[9608]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Mar  2 23:02:00 srv4hai activate_scenario[9344]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 842 msec, shelly-23:'Licht Sekretär'
Mar  2 23:02:01 srv4hai CRON[9769]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 23:02:02 srv4hai activate_scenario[9775]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Mar  2 23:02:02 srv4hai activate_scenario[9775]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished