activate_scenario.sh
Mon May 20 13:24:28 CEST 2024
scenario: vorraumOn
phoneName: 0

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

vorher: 13:24:28.475

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: 13:24:28.500
Dauer: 25 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 13:24:28.457
nachher: 13:24:28.507
Dauer : 49 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/20//scene_vorraumOn_20240520_132428.txt'


syslog

May 20 13:21:01 srv4hai CRON[13338]: (root) CMD (/etc/linetest/linetest.sh)
May 20 13:21:15 srv4hai ping_SP[12096]: SHELLY (2)- ping 192.168.12.63 1 not answered (1) @~1716204075 - 'ping_SP_2'
May 20 13:21:18 srv4hai ping_SP[16090]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1716204078 - 'ping_SP_1'
May 20 13:21:18 srv4hai ping_SP[16090]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 20 13:21:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13385, secured, session=
May 20 13:21:33 srv4hai dovecot: imap(rozumm)<13385>: Logged out in=93 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 20 13:21:48 srv4hai ping_SP[12096]: SHELLY (2)- ping 192.168.12.63 2 not answered (1) @~1716204108 - 'ping_SP_2'
May 20 13:22:01 srv4hai CRON[13410]: (root) CMD (/etc/linetest/linetest.sh)
May 20 13:22:21 srv4hai ping_SP[12096]: SHELLY (2)- ping 192.168.12.63 3 not answered (1) @~1716204141 - 'ping_SP_2'
May 20 13:22:31 srv4hai ping_SP[16090]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1716204151 - 'ping_SP_1'
May 20 13:22:31 srv4hai ping_SP[16090]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 20 13:22:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13455, secured, session=
May 20 13:22:33 srv4hai dovecot: imap(rozumm)<13455>: Logged out in=93 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 20 13:22:37 srv4hai postfix/qmgr[15291]: 7D89A63628: from=, size=21792, nrcpt=1 (queue active)
May 20 13:22:37 srv4hai postfix/qmgr[15291]: BAE686363A: from=, size=21759, nrcpt=1 (queue active)
May 20 13:22:37 srv4hai postfix/qmgr[15291]: E0F0C6353D: from=, size=21758, nrcpt=1 (queue active)
May 20 13:22:37 srv4hai postfix/qmgr[15291]: 908CF6362A: from=, size=21875, nrcpt=1 (queue active)
May 20 13:22:37 srv4hai postfix/qmgr[15291]: 548B76361E: from=, size=21764, nrcpt=1 (queue active)
May 20 13:22:39 srv4hai postfix/smtp[13461]: 908CF6362A: host foundationforautismsupportandtraining-org.mail.protection.outlook.com[52.101.9.14] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [BL02EPF0001A100.namprd03.prod.outlook.com 2024-05-20T11:22:39.526Z 08DC772B907BC6A9] (in reply to end of DATA command)
May 20 13:22:39 srv4hai postfix/smtp[13462]: connect to fldsmtpe03.verizon.com[140.108.26.142]:25: No route to host
May 20 13:22:40 srv4hai postfix/smtp[13461]: 908CF6362A: to=, relay=foundationforautismsupportandtraining-org.mail.protection.outlook.com[52.101.9.20]:25, delay=260744, delays=260741/0.02/2.1/0.75, dsn=4.4.4, status=deferred (host foundationforautismsupportandtraining-org.mail.protection.outlook.com[52.101.9.20] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [BL02EPF00021F6B.namprd02.prod.outlook.com 2024-05-20T11:22:40.603Z 08DC77230436E411] (in reply to end of DATA command))
May 20 13:22:42 srv4hai postfix/smtp[13462]: connect to fldsmtpe01.verizon.com[140.108.26.140]:25: No route to host
May 20 13:22:44 srv4hai postfix/smtp[13462]: connect to fldsmtpe02.verizon.com[140.108.26.141]:25: No route to host
May 20 13:22:54 srv4hai ping_SP[12096]: SHELLY (2)- ping 192.168.12.63 4 not answered (1) @~1716204174 - 'ping_SP_2'
May 20 13:22:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13486, secured, session=<72RX7OAYcq0AAAAAAAAAAAAAAAAAAAAB>
May 20 13:22:57 srv4hai dovecot: imap(miglincit)<13486><72RX7OAYcq0AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 20 13:23:01 srv4hai CRON[13491]: (root) CMD (/etc/linetest/linetest.sh)
May 20 13:23:08 srv4hai postfix/smtp[13459]: connect to smarthost.avnet.com[12.9.139.96]:25: Connection timed out
May 20 13:23:08 srv4hai postfix/smtp[13459]: BAE686363A: to=, relay=none, delay=256693, delays=256663/0.01/30/0, dsn=4.4.1, status=deferred (connect to smarthost.avnet.com[12.9.139.96]:25: Connection timed out)
May 20 13:23:08 srv4hai postfix/smtp[13460]: connect to guidantpartners.com[208.72.132.92]:25: Connection timed out
May 20 13:23:08 srv4hai postfix/smtp[13460]: E0F0C6353D: to=, relay=none, delay=281942, delays=281912/0.01/30/0, dsn=4.4.1, status=deferred (connect to guidantpartners.com[208.72.132.92]:25: Connection timed out)
May 20 13:23:08 srv4hai postfix/smtp[13458]: connect to smtp2.newnet66.org[3.64.163.50]:25: Connection timed out
May 20 13:23:08 srv4hai postfix/smtp[13458]: 7D89A63628: to=, relay=none, delay=260784, delays=260753/0.02/31/0, dsn=4.4.1, status=deferred (connect to smtp2.newnet66.org[3.64.163.50]:25: Connection timed out)
May 20 13:23:14 srv4hai postfix/smtp[13462]: connect to omzsmtpe01.verizonbusiness.com[199.249.25.210]:25: Connection timed out
May 20 13:23:28 srv4hai ping_SP[12096]: SHELLY (2)- ping 192.168.12.63 5 not answered (1) @~1716204208 - 'ping_SP_2'
May 20 13:23:28 srv4hai ping_SP[12096]: SHELLY (2)- ping 192.168.12.63 5 not answered - abort (12096) @~1716204208 - rm 'ping_SP_2'
May 20 13:23:28 srv4hai common[13515]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 20 13:23:28 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1716204208-1716204198
May 20 13:23:28 srv4hai check_presence[13515]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May 20 13:23:28 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1716204208-1716204198
May 20 13:23:28 srv4hai check_presence[13515]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
May 20 13:23:28 srv4hai check_presence[13515]: SHELLY (ping_SP__NO_ping)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
May 20 13:23:28 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'10'=1716204208-1716204198
May 20 13:23:28 srv4hai check_presence[13515]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
May 20 13:23:28 srv4hai check_presence[13515]: SHELLY (ping_SP__NO_ping)-(2) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
May 20 13:23:28 srv4hai check_presence[13515]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
May 20 13:23:28 srv4hai check_presence[13515]: SHELLY (ping_SP__NO_ping)-(2)-presence: NOT activate_scenario.shtml: offAll
May 20 13:23:28 srv4hai ping_SP[12096]: SHELLY (2)- TERMINATING now
May 20 13:23:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13667, secured, session=
May 20 13:23:33 srv4hai dovecot: imap(rozumm)<13667>: Logged out in=93 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 20 13:23:35 srv4hai ping_SP[16090]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1716204215 - 'ping_SP_1'
May 20 13:23:35 srv4hai ping_SP[16090]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 20 13:23:44 srv4hai postfix/smtp[13462]: connect to omzsmtpe02.verizonbusiness.com[199.249.25.209]:25: Connection timed out
May 20 13:23:44 srv4hai postfix/smtp[13462]: 548B76361E: to=, relay=none, delay=260827, delays=260760/0.03/67/0, dsn=4.4.1, status=deferred (connect to omzsmtpe02.verizonbusiness.com[199.249.25.209]:25: Connection timed out)
May 20 13:23:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13691, secured, session=
May 20 13:23:52 srv4hai dovecot: imap(miglincit)<13691>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 20 13:23:53 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 20 13:23:54 srv4hai fetchmail[1651]: 44668 messages (44667 seen) for tmiglinci at mail.akis.at (-596355858 octets).
May 20 13:23:54 srv4hai postfix/smtpd[13692]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 20 13:23:54 srv4hai postfix/smtpd[13692]: connect from localhost[127.0.0.1]
May 20 13:23:54 srv4hai postfix/smtpd[13692]: A90F0631AB: client=localhost[127.0.0.1]
May 20 13:23:54 srv4hai postfix/cleanup[13694]: A90F0631AB: message-id=<20240520111939.53C2A631C8@mail.viehai.at>
May 20 13:23:54 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:44668 of 44668 (16624 octets) not flushed
May 20 13:23:54 srv4hai postfix/qmgr[15291]: A90F0631AB: from=, size=16949, nrcpt=1 (queue active)
May 20 13:23:54 srv4hai postfix/smtpd[13692]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 20 13:23:54 srv4hai postfix/local[13695]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 20 13:23:54 srv4hai postfix/local[13695]: A90F0631AB: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 20 13:23:54 srv4hai postfix/qmgr[15291]: A90F0631AB: removed
May 20 13:23:55 srv4hai fetchmail[1651]: 10241 messages (10241 seen) for srozum at mail.akis.at (1234647842 octets).
May 20 13:23:55 srv4hai fetchmail[1651]: 23596 messages (23596 seen) for mrozum at mail.akis.at (-215998149 octets).
May 20 13:23:56 srv4hai fetchmail[1651]: 55 messages (55 seen) for admin@bastelstube.wien at pop3.world4you.com (12603918 octets).
May 20 13:24:01 srv4hai CRON[13701]: (root) CMD (/etc/linetest/linetest.sh)
May 20 13:24:27 srv4hai common[13711]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 20 13:24:27 srv4hai bt_scan[13711]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
May 20 13:24:27 srv4hai bt_scan[13711]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
May 20 13:24:27 srv4hai common[13742]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May 20 13:24:27 srv4hai ping_SP[13742]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
May 20 13:24:27 srv4hai common[13763]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 20 13:24:28 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1716204268-1716204267
May 20 13:24:28 srv4hai check_presence[13763]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 20 13:24:28 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1716204268-1716204267
May 20 13:24:28 srv4hai check_presence[13763]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
May 20 13:24:28 srv4hai check_presence[13763]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
May 20 13:24:28 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1716204268-1716204267
May 20 13:24:28 srv4hai check_presence[13763]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
May 20 13:24:28 srv4hai check_presence[13763]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May 20 13:24:28 srv4hai check_presence[13763]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
May 20 13:24:28 srv4hai check_presence[13763]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
May 20 13:24:28 srv4hai activate_scenario[13892]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May 20 13:24:28 srv4hai activate_scenario[13892]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished