activate_scenario.sh
Thu Jun 13 10:58:23 CEST 2024
scenario: vorraumOn
phoneName: 2

'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/06/13/_0.log)

vorher: 10:58:23.992

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": "http"

nachher: 10:58:24.018
Dauer: 25 msec phName: 'phoneName:'2''


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

urls : 1
vorher : 10:58:23.974
nachher: 10:58:24.024
Dauer : 50 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/13//scene_vorraumOn_20240613_105823.txt'


syslog

Jun 13 10:55:00 srv4hai ping_SP[18733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718268900 - 'ping_SP_0'
Jun 13 10:55:00 srv4hai ping_SP[18733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 13 10:55:01 srv4hai CRON[24215]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 10:55:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24229, secured, session=
Jun 13 10:55:28 srv4hai dovecot: imap(miglincit)<24229>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 13 10:55:58 srv4hai nmbd[2172]: [2024/06/13 10:55:58.038766,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jun 13 10:55:58 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jun 13 10:55:58 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jun 13 10:55:58 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jun 13 10:56:01 srv4hai CRON[24246]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 10:56:13 srv4hai ping_SP[18733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718268973 - 'ping_SP_0'
Jun 13 10:56:13 srv4hai ping_SP[18733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 13 10:57:01 srv4hai CRON[24287]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 10:57:26 srv4hai ping_SP[18733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718269046 - 'ping_SP_0'
Jun 13 10:57:26 srv4hai ping_SP[18733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 13 10:58:01 srv4hai CRON[24328]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 10:58:09 srv4hai postfix/anvil[24186]: statistics: max connection rate 1/60s for (smtp:193.32.162.80) at Jun 13 10:54:46
Jun 13 10:58:09 srv4hai postfix/anvil[24186]: statistics: max connection count 1 for (smtp:193.32.162.80) at Jun 13 10:54:46
Jun 13 10:58:09 srv4hai postfix/anvil[24186]: statistics: max cache size 1 at Jun 13 10:54:46
Jun 13 10:58:13 srv4hai common[24334]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 13 10:58:23 srv4hai bt_scan[24334]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'Yes'
Jun 13 10:58:23 srv4hai bt_scan[24334]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
Jun 13 10:58:23 srv4hai common[24369]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 13 10:58:23 srv4hai ping_SP[24369]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun 13 10:58:23 srv4hai common[24390]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 13 10:58:23 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1718269103-1718269093
Jun 13 10:58:23 srv4hai check_presence[24390]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 13 10:58:23 srv4hai check_presence[24390]: SHELLY (ping_SP__bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 13 10:58:23 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1718269103-1718269093
Jun 13 10:58:23 srv4hai check_presence[24390]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 13 10:58:23 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'10'=1718269103-1718269093
Jun 13 10:58:23 srv4hai check_presence[24390]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jun 13 10:58:23 srv4hai check_presence[24390]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(__/LIVE) (__/__) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 13 10:58:23 srv4hai check_presence[24390]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn)
Jun 13 10:58:23 srv4hai check_presence[24390]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: vorraumOn
Jun 13 10:58:23 srv4hai activate_scenario[24536]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 13 10:58:23 srv4hai activate_scenario[24536]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'2'

finished