activate_scenario.sh
Sun Nov 24 18:28:43 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'

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_0.log)

vorher: 18:28:43.105

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: 18:28:43.167
Dauer: 63 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 18:28:43.079
nachher: 18:28:43.175
Dauer : 95 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/24//scene_vorraumOn_20241124_182843.txt'


syslog

Nov 24 18:25:00 srv4hai postfix/smtpd[12174]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 24 18:25:00 srv4hai postfix/smtpd[12174]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 24 18:25:01 srv4hai CRON[12181]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 18:25:07 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732469107 - 'ping_SP_1'
Nov 24 18:25:07 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 18:25:12 srv4hai common[12202]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 18:25:22 srv4hai bt_scan[12202]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 24 18:25:22 srv4hai bt_scan[12202]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 24 18:25:22 srv4hai common[12237]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 24 18:25:23 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1732469123-1732469112
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Nov 24 18:25:23 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1732469123-1732469112
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Nov 24 18:25:23 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1732469123-1732469112
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Nov 24 18:25:23 srv4hai check_presence[12237]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 24 18:25:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12389, secured, session=
Nov 24 18:25:38 srv4hai dovecot: imap(rozumm)<12389>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 18:26:00 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732469160 - 'ping_SP_0'
Nov 24 18:26:00 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 18:26:01 srv4hai CRON[12417]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 18:26:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 24 18:26:20 srv4hai fetchmail[1651]: 57591 messages (57591 seen) for tmiglinci at mail.akis.at (435573275 octets).
Nov 24 18:26:20 srv4hai fetchmail[1651]: 11097 messages (11097 seen) for srozum at mail.akis.at (1337500516 octets).
Nov 24 18:26:21 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732469181 - 'ping_SP_1'
Nov 24 18:26:21 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 18:26:21 srv4hai fetchmail[1651]: 27426 messages (27426 seen) for mrozum at mail.akis.at (435493450 octets).
Nov 24 18:26:21 srv4hai fetchmail[1651]: 1157 messages (1157 seen) for admin@bastelstube.wien at pop3.world4you.com (52170273 octets).
Nov 24 18:26:24 srv4hai common[12447]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Nov 24 18:26:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Nov 24 18:26:24 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Nov 24 18:26:24 srv4hai common[12470]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Nov 24 18:26:24 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1732469184-1732469173
Nov 24 18:26:24 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1732469184-1732469173
Nov 24 18:26:24 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1732469184-1732469173
Nov 24 18:26:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12546, secured, session=
Nov 24 18:26:38 srv4hai dovecot: imap(rozumm)<12546>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 18:26:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12553, secured, session=
Nov 24 18:26:48 srv4hai dovecot: imap(miglincit)<12553>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 18:27:01 srv4hai CRON[12562]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 18:27:13 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732469233 - 'ping_SP_0'
Nov 24 18:27:13 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 18:27:24 srv4hai common[12590]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 18:27:34 srv4hai bt_scan[12590]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Nov 24 18:27:34 srv4hai bt_scan[12590]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Nov 24 18:27:34 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732469254 - 'ping_SP_1'
Nov 24 18:27:34 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 18:27:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12642, secured, session=
Nov 24 18:27:38 srv4hai dovecot: imap(rozumm)<12642>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 18:27:48 srv4hai nmbd[2172]: [2024/11/24 18:27:48.698495,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Nov 24 18:27:48 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Nov 24 18:27:48 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Nov 24 18:27:48 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Nov 24 18:28:01 srv4hai CRON[12665]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 18:28:21 srv4hai postfix/anvil[12176]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 24 18:24:57
Nov 24 18:28:21 srv4hai postfix/anvil[12176]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 24 18:24:57
Nov 24 18:28:21 srv4hai postfix/anvil[12176]: statistics: max cache size 1 at Nov 24 18:24:57
Nov 24 18:28:24 srv4hai common[12675]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 18:28:32 srv4hai common[12696]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 18:28:34 srv4hai bt_scan[12675]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 24 18:28:34 srv4hai bt_scan[12675]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 24 18:28:34 srv4hai common[12727]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 24 18:28:34 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1732469314-1732469312
Nov 24 18:28:34 srv4hai check_presence[12727]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 24 18:28:34 srv4hai check_presence[12727]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Nov 24 18:28:34 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1732469314-1732469312
Nov 24 18:28:35 srv4hai check_presence[12727]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 24 18:28:35 srv4hai check_presence[12727]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Nov 24 18:28:35 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'3'=1732469315-1732469312
Nov 24 18:28:35 srv4hai check_presence[12727]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 24 18:28:35 srv4hai check_presence[12727]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(BT/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 24 18:28:35 srv4hai check_presence[12727]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Nov 24 18:28:35 srv4hai check_presence[12727]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 24 18:28:36 srv4hai ping_SP[7749]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1732469316 - 'ping_SP_0'
Nov 24 18:28:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12899, secured, session=<1Qxh8qsnlM4AAAAAAAAAAAAAAAAAAAAB>
Nov 24 18:28:39 srv4hai dovecot: imap(rozumm)<12899><1Qxh8qsnlM4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 18:28:42 srv4hai bt_scan[12696]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Nov 24 18:28:42 srv4hai bt_scan[12696]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Nov 24 18:28:42 srv4hai common[12921]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Nov 24 18:28:42 srv4hai ping_SP[12921]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Nov 24 18:28:42 srv4hai common[12942]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 24 18:28:42 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'10'=1732469322-1732469312
Nov 24 18:28:42 srv4hai check_presence[12942]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Nov 24 18:28:42 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1732469322-1732469312
Nov 24 18:28:42 srv4hai check_presence[12942]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 24 18:28:42 srv4hai check_presence[12942]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Nov 24 18:28:42 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'10'=1732469322-1732469312
Nov 24 18:28:42 srv4hai check_presence[12942]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 24 18:28:42 srv4hai check_presence[12942]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 24 18:28:43 srv4hai check_presence[12942]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Nov 24 18:28:43 srv4hai check_presence[12942]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Nov 24 18:28:43 srv4hai activate_scenario[13102]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Nov 24 18:28:43 srv4hai activate_scenario[13102]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished