activate_scenario.sh
Wed May 22 06:15:42 CEST 2024
scenario: vorraumOn
phoneName: 1

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

vorher: 06:15:42.357

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: 06:15:42.384
Dauer: 27 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 06:15:42.323
nachher: 06:15:42.391
Dauer : 69 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/22//scene_vorraumOn_20240522_061542.txt'


syslog

May 22 06:12:01 srv4hai CRON[19208]: (root) CMD (/etc/linetest/linetest.sh)
May 22 06:12:05 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716351125 - 'ping_SP_0'
May 22 06:12:05 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 22 06:12:38 srv4hai postfix/qmgr[15291]: 8BB96631CF: from=, size=21685, nrcpt=1 (queue active)
May 22 06:12:38 srv4hai postfix/qmgr[15291]: 7D89A63628: from=, size=21792, nrcpt=1 (queue active)
May 22 06:12:38 srv4hai postfix/qmgr[15291]: BAE686363A: from=, size=21759, nrcpt=1 (queue active)
May 22 06:12:38 srv4hai postfix/qmgr[15291]: E0F0C6353D: from=, size=21758, nrcpt=1 (queue active)
May 22 06:12:38 srv4hai postfix/qmgr[15291]: 908CF6362A: from=, size=21875, nrcpt=1 (queue active)
May 22 06:12:38 srv4hai postfix/qmgr[15291]: 548B76361E: from=, size=21764, nrcpt=1 (queue active)
May 22 06:12:41 srv4hai postfix/smtp[19255]: connect to fldsmtpe01.verizon.com[140.108.26.140]:25: No route to host
May 22 06:12:53 srv4hai postfix/smtp[19254]: 908CF6362A: host foundationforautismsupportandtraining-org.mail.protection.outlook.com[52.101.8.51] 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 [DS3PEPF0000C37F.namprd04.prod.outlook.com 2024-05-22T04:12:53.733Z 08DC791819864E99] (in reply to end of DATA command)
May 22 06:12:55 srv4hai postfix/smtp[19254]: 908CF6362A: to=, relay=foundationforautismsupportandtraining-org.mail.protection.outlook.com[52.101.42.6]:25, delay=407758, delays=407741/0.08/16/0.85, dsn=4.4.4, status=deferred (host foundationforautismsupportandtraining-org.mail.protection.outlook.com[52.101.42.6] 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 [MWH0EPF000971E5.namprd02.prod.outlook.com 2024-05-22T04:12:55.105Z 08DC76F8A0A63F91] (in reply to end of DATA command))
May 22 06:13:01 srv4hai CRON[19271]: (root) CMD (/etc/linetest/linetest.sh)
May 22 06:13:08 srv4hai postfix/smtp[19253]: connect to guidantpartners.com[208.72.132.92]:25: Connection timed out
May 22 06:13:08 srv4hai postfix/smtp[19253]: E0F0C6353D: to=, relay=none, delay=428943, delays=428913/0.07/30/0, dsn=4.4.1, status=deferred (connect to guidantpartners.com[208.72.132.92]:25: Connection timed out)
May 22 06:13:08 srv4hai postfix/smtp[19251]: connect to smtp2.newnet66.org[3.64.163.50]:25: Connection timed out
May 22 06:13:08 srv4hai postfix/smtp[19252]: connect to smarthost.avnet.com[12.9.139.96]:25: Connection timed out
May 22 06:13:08 srv4hai postfix/smtp[19251]: 7D89A63628: to=, relay=none, delay=407784, delays=407754/0.04/30/0, dsn=4.4.1, status=deferred (connect to smtp2.newnet66.org[3.64.163.50]:25: Connection timed out)
May 22 06:13:08 srv4hai postfix/smtp[19252]: BAE686363A: to=, relay=none, delay=403694, delays=403664/0.05/30/0, dsn=4.4.1, status=deferred (connect to smarthost.avnet.com[12.9.139.96]:25: Connection timed out)
May 22 06:13:08 srv4hai postfix/smtp[19250]: connect to boathousecanton.com[178.62.195.88]:25: Connection timed out
May 22 06:13:08 srv4hai postfix/smtp[19250]: 8BB96631CF: to=, relay=none, delay=11141, delays=11110/0.03/30/0, dsn=4.4.1, status=deferred (connect to boathousecanton.com[178.62.195.88]:25: Connection timed out)
May 22 06:13:11 srv4hai postfix/smtp[19255]: connect to omzsmtpe01.verizonbusiness.com[199.249.25.210]:25: Connection timed out
May 22 06:13:14 srv4hai ping_SP[21072]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1716351194 - 'ping_SP_1'
May 22 06:13:14 srv4hai postfix/smtp[19255]: connect to fldsmtpe04.verizon.com[140.108.26.143]:25: No route to host
May 22 06:13:16 srv4hai postfix/smtp[19255]: connect to fldsmtpe03.verizon.com[140.108.26.142]:25: No route to host
May 22 06:13:18 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716351198 - 'ping_SP_0'
May 22 06:13:18 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 22 06:13:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19331, secured, session=
May 22 06:13:26 srv4hai dovecot: imap(miglincit)<19331>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 22 06:13:36 srv4hai common[19342]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 22 06:13:40 srv4hai ping_SP[21072]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1716351220 - 'ping_SP_1'
May 22 06:13:46 srv4hai bt_scan[19342]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
May 22 06:13:46 srv4hai bt_scan[19342]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
May 22 06:13:46 srv4hai common[19391]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 22 06:13:46 srv4hai postfix/smtp[19255]: connect to omzsmtpe02.verizonbusiness.com[199.249.25.209]:25: Connection timed out
May 22 06:13:46 srv4hai postfix/smtp[19255]: 548B76361E: to=, relay=none, delay=407829, delays=407761/0.09/68/0, dsn=4.4.1, status=deferred (connect to omzsmtpe02.verizonbusiness.com[199.249.25.209]:25: Connection timed out)
May 22 06:13:47 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1716351227-1716351226
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
May 22 06:13:47 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1716351227-1716351226
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.TRY' for what: 'presence'
May 22 06:13:47 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1716351227-1716351226
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/TRY) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offDownstairs) - sceneOFF(offAll)
May 22 06:13:47 srv4hai check_presence[19391]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
May 22 06:13:55 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
May 22 06:14:01 srv4hai CRON[19537]: (root) CMD (/etc/linetest/linetest.sh)
May 22 06:14:06 srv4hai ping_SP[21072]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1716351246 - 'ping_SP_1'
May 22 06:14:29 srv4hai ping_SP[21072]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1716351269 - 'ping_SP_1'
May 22 06:14:31 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716351271 - 'ping_SP_0'
May 22 06:14:31 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 22 06:14:55 srv4hai ping_SP[21072]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1716351295 - 'ping_SP_1'
May 22 06:14:55 srv4hai ping_SP[21072]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (21072) @~1716351295 - rm 'ping_SP_1'
May 22 06:14:55 srv4hai common[19640]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 22 06:14:56 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1716351296-1716351292
May 22 06:14:56 srv4hai check_presence[19640]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 22 06:14:56 srv4hai check_presence[19640]: SHELLY (ping_SP__NO_ping)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
May 22 06:14:56 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1716351296-1716351292
May 22 06:14:56 srv4hai check_presence[19640]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May 22 06:14:56 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1716351296-1716351292
May 22 06:14:56 srv4hai check_presence[19640]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May 22 06:14:56 srv4hai check_presence[19640]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May 22 06:14:56 srv4hai check_presence[19640]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offDownstairs) - sceneOFF(offAll)
May 22 06:14:56 srv4hai check_presence[19640]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
May 22 06:14:56 srv4hai ping_SP[21072]: SHELLY (1)- TERMINATING now
May 22 06:15:01 srv4hai CRON[19791]: (root) CMD (/etc/linetest/linetest.sh)
May 22 06:15:18 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 22 06:15:19 srv4hai fetchmail[1651]: 44783 messages (44783 seen) for tmiglinci at mail.akis.at (-589591795 octets).
May 22 06:15:19 srv4hai fetchmail[1651]: 10243 messages (10243 seen) for srozum at mail.akis.at (1234768293 octets).
May 22 06:15:20 srv4hai fetchmail[1651]: 23625 messages (23624 seen) for mrozum at mail.akis.at (-213032910 octets).
May 22 06:15:20 srv4hai postfix/smtpd[19808]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 22 06:15:20 srv4hai postfix/smtpd[19808]: connect from localhost[127.0.0.1]
May 22 06:15:20 srv4hai postfix/smtpd[19808]: 37A65631BC: client=localhost[127.0.0.1]
May 22 06:15:20 srv4hai postfix/cleanup[19811]: 37A65631BC: message-id=<202422050412.1o6llri53iyzj@shared-p100-i19.d.sp1-brevo.net>
May 22 06:15:20 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:23625 of 23625 (47454 octets) not flushed
May 22 06:15:20 srv4hai postfix/qmgr[15291]: 37A65631BC: from=, size=47689, nrcpt=1 (queue active)
May 22 06:15:20 srv4hai postfix/smtpd[19808]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 22 06:15:20 srv4hai postfix/local[19812]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 22 06:15:20 srv4hai postfix/local[19812]: 37A65631BC: to=, relay=local, delay=0.09, delays=0.07/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 22 06:15:20 srv4hai postfix/qmgr[15291]: 37A65631BC: removed
May 22 06:15:20 srv4hai fetchmail[1651]: 61 messages (61 seen) for admin@bastelstube.wien at pop3.world4you.com (15461866 octets).
May 22 06:15:34 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716351334 - 'ping_SP_0'
May 22 06:15:34 srv4hai ping_SP[14887]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 22 06:15:41 srv4hai common[19848]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 22 06:15:41 srv4hai bt_scan[19848]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
May 22 06:15:41 srv4hai bt_scan[19848]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
May 22 06:15:41 srv4hai common[19879]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May 22 06:15:41 srv4hai ping_SP[19879]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
May 22 06:15:41 srv4hai common[19900]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 22 06:15:42 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1716351342-1716351341
May 22 06:15:42 srv4hai check_presence[19900]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 22 06:15:42 srv4hai check_presence[19900]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
May 22 06:15:42 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1716351342-1716351341
May 22 06:15:42 srv4hai check_presence[19900]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
May 22 06:15:42 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1716351342-1716351341
May 22 06:15:42 srv4hai check_presence[19900]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May 22 06:15:42 srv4hai check_presence[19900]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May 22 06:15:42 srv4hai check_presence[19900]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offDownstairs) - sceneONsmall(vorraumOn)
May 22 06:15:42 srv4hai check_presence[19900]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
May 22 06:15:42 srv4hai activate_scenario[20029]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May 22 06:15:42 srv4hai activate_scenario[20029]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished