activate_scenario.sh
Sat Nov 23 02:15:20 CET 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/11/23/_0.log)

vorher: 02:15:20.822

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: 02:15:20.931
Dauer: 109 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 02:15:20.797
nachher: 02:15:20.939
Dauer : 142 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/23//scene_vorraumOn_20241123_021520.txt'


syslog

Nov 23 02:12:01 srv4hai CRON[7455]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 02:12:37 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732324357 - 'ping_SP_1'
Nov 23 02:12:37 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 23 02:12:47 srv4hai nmbd[2172]: [2024/11/23 02:12:47.884013,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Nov 23 02:12:47 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Nov 23 02:12:47 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Nov 23 02:12:47 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Nov 23 02:13:01 srv4hai CRON[7523]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 02:13:37 srv4hai postfix/smtpd[7550]: connect from unknown[80.94.95.239]
Nov 23 02:13:39 srv4hai postfix/smtpd[7550]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 23 02:13:41 srv4hai postfix/smtpd[7550]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 23 02:13:50 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732324430 - 'ping_SP_1'
Nov 23 02:13:50 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 23 02:14:01 srv4hai CRON[7589]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 02:14:06 srv4hai common[7601]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 23 02:14:16 srv4hai bt_scan[7601]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 23 02:14:16 srv4hai bt_scan[7601]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 23 02:14:16 srv4hai common[7639]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 23 02:14:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1732324457-1732324446
Nov 23 02:14:17 srv4hai check_presence[7639]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 23 02:14:17 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1732324457-1732324446
Nov 23 02:14:17 srv4hai check_presence[7639]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 23 02:14:17 srv4hai check_presence[7639]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Nov 23 02:14:17 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1732324457-1732324446
Nov 23 02:14:17 srv4hai check_presence[7639]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 23 02:14:17 srv4hai check_presence[7639]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 23 02:14:17 srv4hai check_presence[7639]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Nov 23 02:14:17 srv4hai check_presence[7639]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 23 02:14:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7818, secured, session=
Nov 23 02:14:48 srv4hai dovecot: imap(miglincit)<7818>: Logged out in=373 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 23 02:15:01 srv4hai CRON[7837]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 02:15:01 srv4hai CRON[7838]: (root) CMD (/etc/bup/bup.sh)
Nov 23 02:15:03 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732324503 - 'ping_SP_1'
Nov 23 02:15:03 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 23 02:15:10 srv4hai common[7890]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 23 02:15:20 srv4hai bt_scan[7890]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Nov 23 02:15:20 srv4hai bt_scan[7890]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Nov 23 02:15:20 srv4hai common[7970]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Nov 23 02:15:20 srv4hai ping_SP[7970]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Nov 23 02:15:20 srv4hai common[7991]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 23 02:15:20 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'11'=1732324520-1732324509
Nov 23 02:15:20 srv4hai check_presence[7991]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Nov 23 02:15:20 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1732324520-1732324509
Nov 23 02:15:20 srv4hai check_presence[7991]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 23 02:15:20 srv4hai check_presence[7991]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Nov 23 02:15:20 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1732324520-1732324509
Nov 23 02:15:20 srv4hai check_presence[7991]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 23 02:15:20 srv4hai check_presence[7991]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 23 02:15:20 srv4hai check_presence[7991]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Nov 23 02:15:20 srv4hai check_presence[7991]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Nov 23 02:15:20 srv4hai activate_scenario[8142]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Nov 23 02:15:20 srv4hai activate_scenario[8142]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished