activate_scenario.sh
Sun Mar 31 23:51:15 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/03/31/_0.log)

vorher: 23:51:15.427

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

nachher: 23:51:15.605
Dauer: 179 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/31/_1.log)

vorher: 23:51:15.439

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

nachher: 23:51:15.467
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 23:51:15.407
nachher: 23:51:15.613
Dauer : 205 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/31//scene_buero_UM_20240331_235115.txt'


syslog

Mar 31 23:48:01 srv4hai CRON[13945]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 23:48:17 srv4hai common[13957]: SHELLY common.sh inkludiert
Mar 31 23:48:27 srv4hai bt_scan[13957]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar 31 23:48:28 srv4hai bt_scan[13957]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar 31 23:48:28 srv4hai common[13993]: SHELLY common.sh inkludiert
Mar 31 23:48:28 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1711921708-1711921697
Mar 31 23:48:28 srv4hai check_presence[13993]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar 31 23:48:28 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1711921708-1711921697
Mar 31 23:48:28 srv4hai check_presence[13993]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Mar 31 23:48:28 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'11'=1711921708-1711921697
Mar 31 23:48:28 srv4hai check_presence[13993]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Mar 31 23:48:28 srv4hai check_presence[13993]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Mar 31 23:48:28 srv4hai check_presence[13993]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar 31 23:48:56 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711921736 - 'ping_SP_0'
Mar 31 23:48:56 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 31 23:49:01 srv4hai CRON[14126]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 23:49:09 srv4hai activate_scenario[14135]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 31 23:49:09 srv4hai activate_scenario[14135]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar 31 23:49:09 srv4hai activate_scenario[14135]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar 31 23:49:09 srv4hai postfix/pickup[3153]: 5302E60245: uid=33 from=
Mar 31 23:49:09 srv4hai postfix/cleanup[14188]: 5302E60245: message-id=<20240331214909.5302E60245@mail.viehai.at>
Mar 31 23:49:09 srv4hai postfix/qmgr[15291]: 5302E60245: from=, size=4637, nrcpt=1 (queue active)
Mar 31 23:49:09 srv4hai activate_scenario[14135]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Mar 31 23:49:09 srv4hai proc_url[14206]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/31/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 31 23:49:09 srv4hai postfix/local[14201]: 5302E60245: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 31 23:49:09 srv4hai postfix/cleanup[14188]: 5905C60248: message-id=<20240331214909.5905C60248@mail.viehai.at>
Mar 31 23:49:09 srv4hai activate_scenario[14135]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Mar 31 23:49:09 srv4hai proc_url[14217]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/31/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 31 23:49:09 srv4hai postfix/bounce[14202]: 5302E60245: sender non-delivery notification: 5905C60248
Mar 31 23:49:09 srv4hai postfix/qmgr[15291]: 5905C60248: from=<>, size=6559, nrcpt=1 (queue active)
Mar 31 23:49:09 srv4hai postfix/qmgr[15291]: 5302E60245: removed
Mar 31 23:49:09 srv4hai postfix/local[14201]: 5905C60248: 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 31 23:49:09 srv4hai postfix/qmgr[15291]: 5905C60248: removed
Mar 31 23:49:09 srv4hai activate_scenario[14135]: SHELLY scenario: 'buero_UM(buero_um)' took 283 msec, shelly-40:'Thomas Büro Licht'
Mar 31 23:49:49 srv4hai common[14275]: SHELLY common.sh inkludiert
Mar 31 23:49:59 srv4hai bt_scan[14275]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar 31 23:49:59 srv4hai bt_scan[14275]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar 31 23:50:01 srv4hai CRON[14317]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 23:50:01 srv4hai CRON[14318]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 31 23:50:01 srv4hai common[14320]: SHELLY common.sh inkludiert
Mar 31 23:50:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 31 23:50:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Mar 31 23:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Mar 31 23:50:11 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711921811 - 'ping_SP_0'
Mar 31 23:50:11 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 31 23:50:16 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Mar 31 23:50:16 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Mar 31 23:50:16 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Mar 31 23:50:16 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Mar 31 23:50:16 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Mar 31 23:50:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 31 23:50:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Mar 31 23:50:22 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 31 23:50:24 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 31 23:50:24 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Mar 31 23:50:24 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Mar 31 23:50:24 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Mar 31 23:50:24 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Mar 31 23:50:24 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Mar 31 23:50:27 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Mar 31 23:50:27 srv4hai common[14320]: SHELLY common.sh inkludiert
Mar 31 23:50:27 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Mar 31 23:50:27 srv4hai check_shelly.sh: SHELLY found '12' active shelly outputs
Mar 31 23:50:27 srv4hai meter.sh: SHELLY meter.sh ended
Mar 31 23:50:27 srv4hai postfix/pickup[3153]: DA24860245: uid=33 from=
Mar 31 23:50:27 srv4hai postfix/cleanup[14188]: DA24860245: message-id=<20240331215027.DA24860245@mail.viehai.at>
Mar 31 23:50:27 srv4hai postfix/qmgr[15291]: DA24860245: from=, size=895, nrcpt=1 (queue active)
Mar 31 23:50:27 srv4hai postfix/local[14201]: DA24860245: to=, orig_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 31 23:50:27 srv4hai postfix/qmgr[15291]: DA24860245: removed
Mar 31 23:50:32 srv4hai dovecot: imap(miglincit)<15143>: Logged out in=7442 out=300569 deleted=0 expunged=0 trashed=0 hdr_count=11 hdr_bytes=3052 body_count=11 body_bytes=197416
Mar 31 23:50:33 srv4hai activate_scenario[15236]: SHELLY scenario: 'pcOFF(pcoff)' started
Mar 31 23:50:33 srv4hai activate_scenario[15236]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Mar 31 23:50:33 srv4hai activate_scenario[15236]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Mar 31 23:50:33 srv4hai postfix/pickup[3153]: 6C27760245: uid=33 from=
Mar 31 23:50:33 srv4hai postfix/cleanup[14188]: 6C27760245: message-id=<20240331215033.6C27760245@mail.viehai.at>
Mar 31 23:50:33 srv4hai postfix/qmgr[15291]: 6C27760245: from=, size=11073, nrcpt=1 (queue active)
Mar 31 23:50:33 srv4hai postfix/local[14201]: 6C27760245: to=, orig_to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 31 23:50:33 srv4hai postfix/cleanup[14188]: 6EB4C60248: message-id=<20240331215033.6EB4C60248@mail.viehai.at>
Mar 31 23:50:33 srv4hai postfix/bounce[14202]: 6C27760245: sender non-delivery notification: 6EB4C60248
Mar 31 23:50:33 srv4hai postfix/qmgr[15291]: 6EB4C60248: from=<>, size=12955, nrcpt=1 (queue active)
Mar 31 23:50:33 srv4hai postfix/qmgr[15291]: 6C27760245: removed
Mar 31 23:50:33 srv4hai postfix/local[14201]: 6EB4C60248: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 31 23:50:33 srv4hai postfix/qmgr[15291]: 6EB4C60248: removed
Mar 31 23:50:33 srv4hai activate_scenario[15236]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Mar 31 23:50:33 srv4hai proc_url[15306]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/31/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Mar 31 23:50:33 srv4hai activate_scenario[15236]: SHELLY scenario: 'pcOFF(pcoff)' took 60 msec, shelly-0:''
Mar 31 23:50:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15343, secured, session=<1PGm3fsUoIMAAAAAAAAAAAAAAAAAAAAB>
Mar 31 23:50:48 srv4hai dovecot: imap(miglincit)<15343><1PGm3fsUoIMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 31 23:51:01 srv4hai CRON[15351]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 23:51:15 srv4hai activate_scenario[15365]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 31 23:51:15 srv4hai activate_scenario[15365]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished