activate_scenario.sh
Fri Sep 13 14:09:30 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/13/_0.log)

vorher: 14:09:30.707

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 14:09:30.794
Dauer: 87 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 14:09:30.665
nachher: 14:09:30.800
Dauer : 138 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/13//scene_vorraumOn_20240913_140930.txt'


syslog

Sep 13 14:06:01 srv4hai CRON[19644]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:06:16 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726229176 - 'ping_SP_1'
Sep 13 14:06:16 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 14:07:01 srv4hai CRON[19673]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:07:19 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726229239 - 'ping_SP_1'
Sep 13 14:07:19 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 14:08:01 srv4hai CRON[19706]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:08:22 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726229302 - 'ping_SP_1'
Sep 13 14:08:22 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 14:09:01 srv4hai CRON[19751]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 14:09:01 srv4hai CRON[19752]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Sep 13 14:09:01 srv4hai systemd[1]: Starting Clean php session files...
Sep 13 14:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Sep 13 14:09:01 srv4hai systemd[1]: Started Clean php session files.
Sep 13 14:09:26 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726229366 - 'ping_SP_1'
Sep 13 14:09:26 srv4hai ping_SP[29963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 14:09:29 srv4hai common[19878]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 13 14:09:29 srv4hai bt_scan[19878]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 13 14:09:29 srv4hai bt_scan[19878]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 13 14:09:29 srv4hai common[19909]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 13 14:09:29 srv4hai ping_SP[19909]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 13 14:09:29 srv4hai common[19930]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 13 14:09:30 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1726229370-1726229369
Sep 13 14:09:30 srv4hai check_presence[19930]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 13 14:09:30 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1726229370-1726229369
Sep 13 14:09:30 srv4hai check_presence[19930]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 13 14:09:30 srv4hai check_presence[19930]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 13 14:09:30 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1726229370-1726229369
Sep 13 14:09:30 srv4hai check_presence[19930]: 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
Sep 13 14:09:30 srv4hai check_presence[19930]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 13 14:09:30 srv4hai check_presence[19930]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_homeOffice) - sceneONsmall(vorraumOn)
Sep 13 14:09:30 srv4hai check_presence[19930]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 13 14:09:30 srv4hai activate_scenario[20059]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 13 14:09:30 srv4hai activate_scenario[20059]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished