activate_scenario.sh
Fri May 31 15:36:58 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/05/31/_0.log)

vorher: 15:36:58.322

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: 15:36:58.407
Dauer: 84 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:36:58.339

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: 15:36:58.373
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 15:36:58.298
nachher: 15:36:58.414
Dauer : 116 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/31//scene_buero_UM_20240531_153658.txt'


syslog

May 31 15:33:01 srv4hai CRON[27691]: (root) CMD (/etc/linetest/linetest.sh)
May 31 15:33:23 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717162403 - 'ping_SP_0'
May 31 15:33:23 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 31 15:33:29 srv4hai common[27725]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 31 15:33:39 srv4hai bt_scan[27725]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
May 31 15:33:40 srv4hai bt_scan[27725]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
May 31 15:33:49 srv4hai systemd[1]: Started Run anacron jobs.
May 31 15:33:49 srv4hai anacron[27769]: Anacron 2.3 started on 2024-05-31
May 31 15:33:49 srv4hai anacron[27769]: Normal exit (0 jobs run)
May 31 15:33:49 srv4hai systemd[1]: anacron.service: Succeeded.
May 31 15:34:01 srv4hai CRON[27777]: (root) CMD (/etc/linetest/linetest.sh)
May 31 15:34:36 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717162476 - 'ping_SP_0'
May 31 15:34:36 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 31 15:35:01 srv4hai CRON[27828]: (root) CMD (/etc/linetest/linetest.sh)
May 31 15:35:41 srv4hai common[27854]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 31 15:35:49 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717162549 - 'ping_SP_0'
May 31 15:35:49 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 31 15:35:51 srv4hai bt_scan[27854]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
May 31 15:35:51 srv4hai bt_scan[27854]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
May 31 15:35:51 srv4hai common[27901]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 31 15:35:51 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1717162551-1717162541
May 31 15:35:51 srv4hai check_presence[27901]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May 31 15:35:51 srv4hai check_presence[27901]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
May 31 15:35:51 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1717162551-1717162541
May 31 15:35:51 srv4hai check_presence[27901]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May 31 15:35:51 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1717162551-1717162541
May 31 15:35:51 srv4hai check_presence[27901]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May 31 15:35:51 srv4hai check_presence[27901]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
May 31 15:35:51 srv4hai check_presence[27901]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_sekr_UM) - sceneOFF(offAll)
May 31 15:35:51 srv4hai check_presence[27901]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
May 31 15:36:01 srv4hai CRON[28064]: (root) CMD (/etc/linetest/linetest.sh)
May 31 15:36:03 srv4hai named[15509]: clients-per-query decreased to 12
May 31 15:36:58 srv4hai activate_scenario[28120]: SHELLY scenario: 'buero_UM(buero_um)' started
May 31 15:36:58 srv4hai activate_scenario[28120]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished