activate_scenario.sh
Thu Jun 13 20:57:11 CEST 2024
scenario: vorraumOn
phoneName: 0

'night' <--> 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: 20:57:11.862

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: 20:57:11.887
Dauer: 24 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 20:57:11.844
nachher: 20:57:11.893
Dauer : 50 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/13//scene_vorraumOn_20240613_205711.txt'


syslog

Jun 13 20:54:01 srv4hai CRON[12341]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 20:54:45 srv4hai ping_SP[6124]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718304885 - 'ping_SP_1'
Jun 13 20:54:45 srv4hai ping_SP[6124]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 13 20:55:01 srv4hai CRON[12381]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 20:55:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12396, secured, session=
Jun 13 20:55:28 srv4hai dovecot: imap(miglincit)<12396>: Logged out in=483 out=39700 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=14948 body_count=0 body_bytes=0
Jun 13 20:55:58 srv4hai nmbd[2172]: [2024/06/13 20:55:58.285980,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jun 13 20:55:58 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jun 13 20:55:58 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jun 13 20:55:58 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jun 13 20:55:59 srv4hai ping_SP[6124]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718304959 - 'ping_SP_1'
Jun 13 20:55:59 srv4hai ping_SP[6124]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 13 20:56:01 srv4hai CRON[12425]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 20:56:07 srv4hai common[12432]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 13 20:56:17 srv4hai bt_scan[12432]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 13 20:56:17 srv4hai bt_scan[12432]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 13 20:56:17 srv4hai common[12467]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 13 20:56:18 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1718304978-1718304968
Jun 13 20:56:18 srv4hai check_presence[12467]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 13 20:56:18 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1718304978-1718304968
Jun 13 20:56:18 srv4hai check_presence[12467]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 13 20:56:18 srv4hai check_presence[12467]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jun 13 20:56:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1718304978-1718304968
Jun 13 20:56:18 srv4hai check_presence[12467]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 13 20:56:18 srv4hai check_presence[12467]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 13 20:56:18 srv4hai check_presence[12467]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jun 13 20:56:18 srv4hai check_presence[12467]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 13 20:56:41 srv4hai postfix/anvil[12295]: statistics: max connection rate 1/60s for (smtp:193.32.162.80) at Jun 13 20:52:49
Jun 13 20:56:41 srv4hai postfix/anvil[12295]: statistics: max connection count 1 for (smtp:193.32.162.80) at Jun 13 20:52:49
Jun 13 20:56:41 srv4hai postfix/anvil[12295]: statistics: max cache size 1 at Jun 13 20:52:49
Jun 13 20:57:00 srv4hai common[12627]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 13 20:57:01 srv4hai CRON[12641]: (root) CMD (/etc/linetest/linetest.sh)
Jun 13 20:57:11 srv4hai bt_scan[12627]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 13 20:57:11 srv4hai bt_scan[12627]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jun 13 20:57:11 srv4hai common[12667]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 13 20:57:11 srv4hai ping_SP[12667]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun 13 20:57:11 srv4hai common[12688]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 13 20:57:11 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1718305031-1718305026
Jun 13 20:57:11 srv4hai check_presence[12688]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun 13 20:57:11 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1718305031-1718305026
Jun 13 20:57:11 srv4hai check_presence[12688]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 13 20:57:11 srv4hai check_presence[12688]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 13 20:57:11 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1718305031-1718305026
Jun 13 20:57:11 srv4hai check_presence[12688]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 13 20:57:11 srv4hai check_presence[12688]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 13 20:57:11 srv4hai check_presence[12688]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun 13 20:57:11 srv4hai check_presence[12688]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 13 20:57:11 srv4hai activate_scenario[12834]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 13 20:57:11 srv4hai activate_scenario[12834]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished