activate_scenario.sh
Sat Aug 3 18:38:43 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> 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/08/03/_0.log)

vorher: 18:38:43.658

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: 18:38:43.690
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:38:43.677

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: 18:38:43.713
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 18:38:43.605
nachher: 18:38:43.719
Dauer : 116 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/03//scene_buero_UM_20240803_183843.txt'


syslog

Aug  3 18:35:01 srv4hai CRON[6040]: (root) CMD (/etc/linetest/linetest.sh)
Aug  3 18:35:10 srv4hai auditd[579]: Audit daemon rotating log files
Aug  3 18:35:25 srv4hai postfix/anvil[5663]: statistics: max connection rate 1/60s for (smtp:80.94.92.151) at Aug  3 18:31:57
Aug  3 18:35:25 srv4hai postfix/anvil[5663]: statistics: max connection count 1 for (smtp:80.94.92.151) at Aug  3 18:31:57
Aug  3 18:35:25 srv4hai postfix/anvil[5663]: statistics: max cache size 2 at Aug  3 18:32:00
Aug  3 18:35:38 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722702938 - 'ping_SP_0'
Aug  3 18:35:38 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  3 18:35:40 srv4hai common[6093]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  3 18:35:50 srv4hai bt_scan[6093]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug  3 18:35:50 srv4hai bt_scan[6093]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug  3 18:35:50 srv4hai common[6133]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  3 18:35:51 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1722702951-1722702950
Aug  3 18:35:51 srv4hai check_presence[6133]: 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
Aug  3 18:35:51 srv4hai check_presence[6133]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug  3 18:35:51 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1722702951-1722702950
Aug  3 18:35:51 srv4hai check_presence[6133]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  3 18:35:51 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1722702951-1722702950
Aug  3 18:35:51 srv4hai check_presence[6133]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  3 18:35:51 srv4hai check_presence[6133]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug  3 18:35:51 srv4hai check_presence[6133]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcOFF) - sceneOFF(offAll)
Aug  3 18:35:51 srv4hai check_presence[6133]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug  3 18:36:01 srv4hai CRON[6271]: (root) CMD (/etc/linetest/linetest.sh)
Aug  3 18:36:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6289, secured, session=
Aug  3 18:36:19 srv4hai dovecot: imap(miglincit)<6289>: Logged out in=737 out=55354 deleted=0 expunged=0 trashed=0 hdr_count=58 hdr_bytes=27194 body_count=0 body_bytes=0
Aug  3 18:36:51 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722703011 - 'ping_SP_0'
Aug  3 18:36:51 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  3 18:37:01 srv4hai CRON[6339]: (root) CMD (/etc/linetest/linetest.sh)
Aug  3 18:38:01 srv4hai CRON[6387]: (root) CMD (/etc/linetest/linetest.sh)
Aug  3 18:38:05 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722703085 - 'ping_SP_0'
Aug  3 18:38:05 srv4hai ping_SP[10823]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  3 18:38:20 srv4hai activate_scenario[6424]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug  3 18:38:20 srv4hai activate_scenario[6424]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Aug  3 18:38:20 srv4hai activate_scenario[6424]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Aug  3 18:38:20 srv4hai postfix/pickup[2205]: B37636018A: uid=33 from=
Aug  3 18:38:20 srv4hai postfix/cleanup[6477]: B37636018A: message-id=<20240803163820.B37636018A@mail.viehai.at>
Aug  3 18:38:20 srv4hai postfix/qmgr[8566]: B37636018A: from=, size=4529, nrcpt=1 (queue active)
Aug  3 18:38:20 srv4hai postfix/local[6490]: warning: database /etc/aliases.db is older than source file /etc/aliases
Aug  3 18:38:20 srv4hai activate_scenario[6424]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Aug  3 18:38:20 srv4hai proc_url[6495]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/03/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug  3 18:38:20 srv4hai postfix/local[6490]: B37636018A: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Aug  3 18:38:20 srv4hai postfix/cleanup[6477]: BE0496018B: message-id=<20240803163820.BE0496018B@mail.viehai.at>
Aug  3 18:38:20 srv4hai postfix/bounce[6491]: B37636018A: sender non-delivery notification: BE0496018B
Aug  3 18:38:20 srv4hai postfix/qmgr[8566]: BE0496018B: from=<>, size=6451, nrcpt=1 (queue active)
Aug  3 18:38:20 srv4hai postfix/qmgr[8566]: B37636018A: removed
Aug  3 18:38:20 srv4hai activate_scenario[6424]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Aug  3 18:38:20 srv4hai postfix/local[6490]: BE0496018B: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug  3 18:38:20 srv4hai postfix/qmgr[8566]: BE0496018B: removed
Aug  3 18:38:20 srv4hai proc_url[6507]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/03/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug  3 18:38:20 srv4hai activate_scenario[6424]: SHELLY scenario: 'buero_UM(buero_um)' took 125 msec, shelly-40:'Thomas Büro Licht'
Aug  3 18:38:22 srv4hai common[6548]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  3 18:38:32 srv4hai bt_scan[6548]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug  3 18:38:32 srv4hai bt_scan[6548]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug  3 18:38:32 srv4hai common[6583]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  3 18:38:33 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'154'=1722703113-1722702959
Aug  3 18:38:33 srv4hai check_presence[6583]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  3 18:38:33 srv4hai check_presence[6583]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug  3 18:38:33 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'154'=1722703113-1722702959
Aug  3 18:38:33 srv4hai check_presence[6583]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  3 18:38:33 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'154'=1722703113-1722702959
Aug  3 18:38:33 srv4hai check_presence[6583]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  3 18:38:33 srv4hai check_presence[6583]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug  3 18:38:33 srv4hai check_presence[6583]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Aug  3 18:38:33 srv4hai check_presence[6583]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug  3 18:38:41 srv4hai common[6723]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  3 18:38:43 srv4hai activate_scenario[6737]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug  3 18:38:43 srv4hai activate_scenario[6737]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished