activate_scenario.sh
Sat Apr 13 23:50:46 CEST 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/04/13/_0.log)

vorher: 23:50:46.445

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:50:46.479
Dauer: 34 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 23:50:46.420
nachher: 23:50:46.488
Dauer : 68 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/13//scene_bedlight_tom_20240413_235046.txt'


syslog

Apr 13 23:47:01 srv4hai CRON[18565]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 23:47:49 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713044869 - 'ping_SP_0'
Apr 13 23:47:49 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 13 23:47:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18611, secured, session=
Apr 13 23:47:53 srv4hai dovecot: imap(miglincit)<18611>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 13 23:48:01 srv4hai CRON[18614]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 23:48:04 srv4hai common[18620]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 13 23:48:14 srv4hai bt_scan[18620]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 13 23:48:14 srv4hai bt_scan[18620]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 13 23:48:14 srv4hai common[18651]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 13 23:48:15 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1713044895-1713044884
Apr 13 23:48:15 srv4hai check_presence[18651]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 13 23:48:15 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1713044895-1713044884
Apr 13 23:48:15 srv4hai check_presence[18651]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 13 23:48:15 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1713044895-1713044884
Apr 13 23:48:15 srv4hai check_presence[18651]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 13 23:48:15 srv4hai check_presence[18651]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 13 23:48:15 srv4hai check_presence[18651]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 13 23:49:01 srv4hai CRON[18796]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 23:49:02 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713044942 - 'ping_SP_0'
Apr 13 23:49:02 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 13 23:49:39 srv4hai postfix/anvil[18085]: statistics: max connection rate 1/60s for (smtp:87.121.105.109) at Apr 13 23:46:19
Apr 13 23:49:39 srv4hai postfix/anvil[18085]: statistics: max connection count 1 for (smtp:87.121.105.109) at Apr 13 23:46:19
Apr 13 23:49:39 srv4hai postfix/anvil[18085]: statistics: max cache size 1 at Apr 13 23:46:19
Apr 13 23:50:01 srv4hai CRON[18832]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 13 23:50:01 srv4hai CRON[18833]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 23:50:01 srv4hai common[18835]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 13 23:50:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 13 23:50:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 13 23:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 13 23:50:04 srv4hai common[19163]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 13 23:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 13 23:50:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 13 23:50:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 13 23:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 13 23:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 13 23:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 13 23:50:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 13 23:50:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 13 23:50:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 13 23:50:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 13 23:50:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 13 23:50:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 13 23:50:14 srv4hai bt_scan[19163]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 13 23:50:14 srv4hai bt_scan[19163]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr 13 23:50:15 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713045015 - 'ping_SP_0'
Apr 13 23:50:15 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 13 23:50:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 13 23:50:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 13 23:50:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 13 23:50:18 srv4hai common[18835]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 13 23:50:18 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1713045018-1713045017
Apr 13 23:50:19 srv4hai check_presence[18835]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 13 23:50:19 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1713045019-1713045017
Apr 13 23:50:19 srv4hai check_presence[18835]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 13 23:50:19 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1713045019-1713045017
Apr 13 23:50:19 srv4hai check_presence[18835]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 13 23:50:19 srv4hai check_presence[18835]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 13 23:50:19 srv4hai check_presence[18835]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 13 23:50:19 srv4hai common[18835]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 13 23:50:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_gehen'
Apr 13 23:50:19 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Apr 13 23:50:19 srv4hai meter.sh: SHELLY meter.sh ended
Apr 13 23:50:19 srv4hai postfix/pickup[3668]: 1E0FA6022F: uid=33 from=
Apr 13 23:50:19 srv4hai postfix/cleanup[19940]: 1E0FA6022F: message-id=<20240413215019.1E0FA6022F@mail.viehai.at>
Apr 13 23:50:19 srv4hai postfix/qmgr[15291]: 1E0FA6022F: from=, size=642, nrcpt=1 (queue active)
Apr 13 23:50:19 srv4hai postfix/local[19942]: 1E0FA6022F: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 13 23:50:19 srv4hai postfix/qmgr[15291]: 1E0FA6022F: removed
Apr 13 23:50:35 srv4hai activate_scenario[19948]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 13 23:50:35 srv4hai activate_scenario[19948]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr 13 23:50:35 srv4hai activate_scenario[19948]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr 13 23:50:35 srv4hai postfix/pickup[3668]: BF4396022F: uid=33 from=
Apr 13 23:50:35 srv4hai postfix/cleanup[19940]: BF4396022F: message-id=<20240413215035.BF4396022F@mail.viehai.at>
Apr 13 23:50:35 srv4hai postfix/qmgr[15291]: BF4396022F: from=, size=9664, nrcpt=1 (queue active)
Apr 13 23:50:35 srv4hai postfix/local[19942]: BF4396022F: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 13 23:50:35 srv4hai postfix/cleanup[19940]: C36EB60230: message-id=<20240413215035.C36EB60230@mail.viehai.at>
Apr 13 23:50:35 srv4hai postfix/bounce[20009]: BF4396022F: sender non-delivery notification: C36EB60230
Apr 13 23:50:35 srv4hai postfix/qmgr[15291]: C36EB60230: from=<>, size=11586, nrcpt=1 (queue active)
Apr 13 23:50:35 srv4hai postfix/qmgr[15291]: BF4396022F: removed
Apr 13 23:50:35 srv4hai activate_scenario[19948]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Apr 13 23:50:35 srv4hai proc_url[20017]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/13/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 13 23:50:35 srv4hai postfix/local[19942]: C36EB60230: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 13 23:50:35 srv4hai postfix/qmgr[15291]: C36EB60230: removed
Apr 13 23:50:35 srv4hai activate_scenario[19948]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Apr 13 23:50:35 srv4hai proc_url[20028]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/13/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 13 23:50:36 srv4hai activate_scenario[19948]: SHELLY scenario: 'buero_UM(buero_um)' took 286 msec, shelly-40:'Thomas Büro Licht'
Apr 13 23:50:43 srv4hai activate_scenario[20073]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 13 23:50:43 srv4hai activate_scenario[20073]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr 13 23:50:43 srv4hai activate_scenario[20073]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr 13 23:50:43 srv4hai postfix/pickup[3668]: 7205D6022F: uid=33 from=
Apr 13 23:50:43 srv4hai postfix/cleanup[19940]: 7205D6022F: message-id=<20240413215043.7205D6022F@mail.viehai.at>
Apr 13 23:50:43 srv4hai postfix/qmgr[15291]: 7205D6022F: from=, size=12128, nrcpt=1 (queue active)
Apr 13 23:50:43 srv4hai postfix/local[19942]: 7205D6022F: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 13 23:50:43 srv4hai postfix/cleanup[19940]: 7580960230: message-id=<20240413215043.7580960230@mail.viehai.at>
Apr 13 23:50:43 srv4hai postfix/bounce[20009]: 7205D6022F: sender non-delivery notification: 7580960230
Apr 13 23:50:43 srv4hai postfix/qmgr[15291]: 7580960230: from=<>, size=14050, nrcpt=1 (queue active)
Apr 13 23:50:43 srv4hai postfix/qmgr[15291]: 7205D6022F: removed
Apr 13 23:50:43 srv4hai activate_scenario[20073]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Apr 13 23:50:43 srv4hai proc_url[20141]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/13/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 13 23:50:43 srv4hai postfix/local[19942]: 7580960230: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 13 23:50:43 srv4hai postfix/qmgr[15291]: 7580960230: removed
Apr 13 23:50:43 srv4hai activate_scenario[20073]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Apr 13 23:50:43 srv4hai proc_url[20152]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/13/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 13 23:50:43 srv4hai activate_scenario[20073]: SHELLY scenario: 'buero_UM(buero_um)' took 166 msec, shelly-40:'Thomas Büro Licht'
Apr 13 23:50:46 srv4hai activate_scenario[20195]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Apr 13 23:50:46 srv4hai activate_scenario[20195]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished