activate_scenario.sh
Tue Nov 12 21:27:51 CET 2024
scenario: vorraumOn
phoneName: 1

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

vorher: 21:27:51.395

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: 21:27:51.459
Dauer: 64 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 21:27:51.375
nachher: 21:27:51.466
Dauer : 91 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/12//scene_vorraumOn_20241112_212751.txt'


syslog

Nov 12 21:24:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 12 21:24:01 srv4hai fetchmail[1651]: 56673 messages (56673 seen) for tmiglinci at mail.akis.at (357764214 octets).
Nov 12 21:24:01 srv4hai fetchmail[1651]: 11013 messages (11013 seen) for srozum at mail.akis.at (1328757027 octets).
Nov 12 21:24:01 srv4hai CRON[18816]: (root) CMD (/etc/linetest/linetest.sh)
Nov 12 21:24:02 srv4hai fetchmail[1651]: 27193 messages (27193 seen) for mrozum at mail.akis.at (400168333 octets).
Nov 12 21:24:02 srv4hai fetchmail[1651]: 1156 messages (1156 seen) for admin@bastelstube.wien at pop3.world4you.com (52145207 octets).
Nov 12 21:24:06 srv4hai bt_scan[18794]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 12 21:24:06 srv4hai bt_scan[18794]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 12 21:24:06 srv4hai common[18846]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 12 21:24:07 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1731443047-1731443037
Nov 12 21:24:07 srv4hai check_presence[18846]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 12 21:24:07 srv4hai check_presence[18846]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Nov 12 21:24:07 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1731443047-1731443037
Nov 12 21:24:07 srv4hai check_presence[18846]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Nov 12 21:24:07 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'10'=1731443047-1731443037
Nov 12 21:24:07 srv4hai check_presence[18846]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 12 21:24:07 srv4hai check_presence[18846]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Nov 12 21:24:07 srv4hai check_presence[18846]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_homeOffice) - sceneOFF(offAll)
Nov 12 21:24:07 srv4hai check_presence[18846]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 12 21:24:16 srv4hai ping_SP[20179]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1731443056 - 'ping_SP_0'
Nov 12 21:24:16 srv4hai ping_SP[20179]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 12 21:24:31 srv4hai common[19015]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 12 21:24:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19030, secured, session=<21R1Ab0m2McAAAAAAAAAAAAAAAAAAAAB>
Nov 12 21:24:35 srv4hai dovecot: imap(miglincit)<19030><21R1Ab0m2McAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 12 21:24:41 srv4hai bt_scan[19015]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Nov 12 21:24:41 srv4hai bt_scan[19015]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Nov 12 21:24:54 srv4hai postfix/smtpd[19055]: connect from unknown[80.94.95.239]
Nov 12 21:24:56 srv4hai postfix/smtpd[19055]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 12 21:24:57 srv4hai postfix/smtpd[19055]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 12 21:25:01 srv4hai CRON[19065]: (root) CMD (/etc/linetest/linetest.sh)
Nov 12 21:25:29 srv4hai ping_SP[20179]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1731443129 - 'ping_SP_0'
Nov 12 21:25:29 srv4hai ping_SP[20179]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 12 21:26:01 srv4hai CRON[19102]: (root) CMD (/etc/linetest/linetest.sh)
Nov 12 21:26:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19122, secured, session=
Nov 12 21:26:26 srv4hai dovecot: imap(miglincit)<19122>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 12 21:26:42 srv4hai ping_SP[20179]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1731443202 - 'ping_SP_0'
Nov 12 21:26:42 srv4hai ping_SP[20179]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 12 21:27:01 srv4hai CRON[19159]: (root) CMD (/etc/linetest/linetest.sh)
Nov 12 21:27:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19175, secured, session=<9vAvDL0mAsgAAAAAAAAAAAAAAAAAAAAB>
Nov 12 21:27:35 srv4hai dovecot: imap(miglincit)<19175><9vAvDL0mAsgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 12 21:27:40 srv4hai common[19181]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 12 21:27:41 srv4hai nmbd[2172]: [2024/11/12 21:27:41.556288,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Nov 12 21:27:41 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Nov 12 21:27:41 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Nov 12 21:27:41 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Nov 12 21:27:50 srv4hai bt_scan[19181]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Nov 12 21:27:50 srv4hai bt_scan[19181]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Nov 12 21:27:50 srv4hai common[19221]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Nov 12 21:27:50 srv4hai ping_SP[19221]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Nov 12 21:27:50 srv4hai common[19242]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 12 21:27:50 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'10'=1731443270-1731443260
Nov 12 21:27:51 srv4hai check_presence[19242]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Nov 12 21:27:51 srv4hai check_presence[19242]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Nov 12 21:27:51 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1731443271-1731443260
Nov 12 21:27:51 srv4hai check_presence[19242]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 12 21:27:51 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1731443271-1731443260
Nov 12 21:27:51 srv4hai check_presence[19242]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 12 21:27:51 srv4hai check_presence[19242]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 12 21:27:51 srv4hai check_presence[19242]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_homeOffice) - sceneONsmall(vorraumOn)
Nov 12 21:27:51 srv4hai check_presence[19242]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Nov 12 21:27:51 srv4hai activate_scenario[19390]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Nov 12 21:27:51 srv4hai activate_scenario[19390]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished