activate_scenario.sh
Wed May 22 21:54:58 CEST 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/05/22/_0.log)

vorher: 21:54:59.038

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:54:59.063
Dauer: 25 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:54:59.019
nachher: 21:54:59.070
Dauer : 51 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/22//scene_vorraumOn_20240522_215458.txt'


syslog

May 22 21:51:00 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1716407460 - 'ping_SP_1'
May 22 21:51:00 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 22 21:51:01 srv4hai CRON[14353]: (root) CMD (/etc/linetest/linetest.sh)
May 22 21:51:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14388, secured, session=
May 22 21:51:47 srv4hai dovecot: imap(rozumm)<14388>: Logged out in=178 out=1617 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 22 21:52:01 srv4hai CRON[14402]: (root) CMD (/etc/linetest/linetest.sh)
May 22 21:52:14 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1716407534 - 'ping_SP_1'
May 22 21:52:14 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 22 21:52:39 srv4hai postfix/qmgr[15291]: A68E6631B4: from=, size=21763, nrcpt=1 (queue active)
May 22 21:52:39 srv4hai postfix/qmgr[15291]: A461F631BD: from=, size=21795, nrcpt=1 (queue active)
May 22 21:52:39 srv4hai postfix/qmgr[15291]: A548A631AD: from=, size=21677, nrcpt=1 (queue active)
May 22 21:52:39 srv4hai postfix/qmgr[15291]: A34C8631EA: from=, size=21739, nrcpt=1 (queue active)
May 22 21:52:39 srv4hai postfix/qmgr[15291]: 18458631B7: from=, size=21761, nrcpt=1 (queue active)
May 22 21:52:39 srv4hai postfix/qmgr[15291]: D2588631A8: from=, size=21703, nrcpt=1 (queue active)
May 22 21:52:39 srv4hai named[15509]: validating shapesllc.com/MX: no valid signature found
May 22 21:52:39 srv4hai postfix/smtp[14451]: connect to mailx.gridhost.com[67.219.148.18]:25: Connection refused
May 22 21:52:39 srv4hai postfix/smtp[14451]: 18458631B7: to=, relay=none, delay=67781, delays=67780/0.03/0.37/0, dsn=4.4.1, status=deferred (connect to mailx.gridhost.com[67.219.148.18]:25: Connection refused)
May 22 21:52:40 srv4hai named[15509]: REFUSED unexpected RCODE resolving 'interactivehealthinc.com/MX/IN': 13.107.236.6#53
May 22 21:52:40 srv4hai named[15509]: REFUSED unexpected RCODE resolving 'interactivehealthinc.com/MX/IN': 208.84.5.6#53
May 22 21:52:40 srv4hai named[15509]: REFUSED unexpected RCODE resolving 'interactivehealthinc.com/MX/IN': 204.14.183.6#53
May 22 21:52:40 srv4hai named[15509]: REFUSED unexpected RCODE resolving 'interactivehealthinc.com/MX/IN': 150.171.21.6#53
May 22 21:52:40 srv4hai postfix/smtp[14449]: A548A631AD: host shapesllc-com.mail.protection.outlook.com[52.101.8.34] 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 [DS3PEPF000099E1.namprd04.prod.outlook.com 2024-05-22T19:52:40.350Z 08DC78F0A36D0799] (in reply to end of DATA command)
May 22 21:52:41 srv4hai postfix/smtp[14449]: A548A631AD: to=, relay=shapesllc-com.mail.protection.outlook.com[52.101.194.19]:25, delay=71765, delays=71763/0.02/1.7/0.64, dsn=4.4.4, status=deferred (host shapesllc-com.mail.protection.outlook.com[52.101.194.19] 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 [CH2PEPF0000013E.namprd02.prod.outlook.com 2024-05-22T19:52:41.382Z 08DC773987A15938] (in reply to end of DATA command))
May 22 21:52:42 srv4hai postfix/smtp[14448]: A461F631BD: to=, relay=none, delay=4535, delays=4532/0.01/3.1/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=interactivehealthinc.com type=MX: Host not found, try again)
May 22 21:52:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14457, secured, session=
May 22 21:52:47 srv4hai dovecot: imap(rozumm)<14457>: Logged out in=178 out=1617 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 22 21:52:48 srv4hai common[14462]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
May 22 21:52:48 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
May 22 21:52:48 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
May 22 21:52:48 srv4hai common[14485]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
May 22 21:52:48 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1716407568-1716407568
May 22 21:52:48 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1716407568-1716407568
May 22 21:52:48 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1716407568-1716407568
May 22 21:52:50 srv4hai postfix/smtp[14452]: D2588631A8: host mx1.emailsrvr.com[184.106.54.1] said: 450 4.4.1 : The recipient's server was temporarily unavailable to accept your message (G6) (in reply to RCPT TO command)
May 22 21:53:01 srv4hai postfix/smtp[14452]: D2588631A8: to=, relay=mx2.emailsrvr.com[146.20.161.2]:25, delay=122253, delays=122231/0.03/12/10, dsn=4.4.1, status=deferred (host mx2.emailsrvr.com[146.20.161.2] said: 450 4.4.1 : The recipient's server was temporarily unavailable to accept your message (G6) (in reply to RCPT TO command))
May 22 21:53:01 srv4hai CRON[14553]: (root) CMD (/etc/linetest/linetest.sh)
May 22 21:53:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 22 21:53:08 srv4hai fetchmail[1651]: 44847 messages (44847 seen) for tmiglinci at mail.akis.at (-583841157 octets).
May 22 21:53:09 srv4hai fetchmail[1651]: 10244 messages (10244 seen) for srozum at mail.akis.at (1234874455 octets).
May 22 21:53:09 srv4hai postfix/smtp[14450]: connect to web133.dnchosting.com[199.7.105.133]:25: Connection timed out
May 22 21:53:09 srv4hai postfix/smtp[14450]: A34C8631EA: to=, relay=none, delay=11172, delays=11142/0.02/30/0, dsn=4.4.1, status=deferred (connect to web133.dnchosting.com[199.7.105.133]:25: Connection timed out)
May 22 21:53:09 srv4hai postfix/smtp[14447]: connect to parlio.com[13.248.213.45]:25: Connection timed out
May 22 21:53:09 srv4hai fetchmail[1651]: 23641 messages (23641 seen) for mrozum at mail.akis.at (-211970450 octets).
May 22 21:53:09 srv4hai fetchmail[1651]: 63 messages (63 seen) for admin@bastelstube.wien at pop3.world4you.com (16859232 octets).
May 22 21:53:27 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1716407607 - 'ping_SP_1'
May 22 21:53:27 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 22 21:53:39 srv4hai postfix/smtp[14447]: connect to parlio.com[76.223.67.189]:25: Connection timed out
May 22 21:53:39 srv4hai postfix/smtp[14447]: A68E6631B4: to=, relay=none, delay=71844, delays=71784/0.01/60/0, dsn=4.4.1, status=deferred (connect to parlio.com[76.223.67.189]:25: Connection timed out)
May 22 21:53:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14607, secured, session=
May 22 21:53:48 srv4hai dovecot: imap(rozumm)<14607>: Logged out in=178 out=1617 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 22 21:54:01 srv4hai CRON[14618]: (root) CMD (/etc/linetest/linetest.sh)
May 22 21:54:41 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1716407681 - 'ping_SP_1'
May 22 21:54:41 srv4hai ping_SP[24993]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May 22 21:54:48 srv4hai common[14671]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 22 21:54:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14685, secured, session=
May 22 21:54:48 srv4hai dovecot: imap(rozumm)<14685>: Logged out in=178 out=1617 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 22 21:54:50 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
May 22 21:54:50 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 22 21:54:50 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May 22 21:54:50 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
May 22 21:54:50 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
May 22 21:54:50 srv4hai common[14687]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May 22 21:54:58 srv4hai bt_scan[14671]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
May 22 21:54:58 srv4hai bt_scan[14671]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
May 22 21:54:58 srv4hai common[14724]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May 22 21:54:58 srv4hai ping_SP[14724]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
May 22 21:54:58 srv4hai common[14745]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 22 21:54:58 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1716407698-1716407695
May 22 21:54:58 srv4hai check_presence[14745]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 22 21:54:58 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1716407698-1716407695
May 22 21:54:58 srv4hai check_presence[14745]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
May 22 21:54:58 srv4hai check_presence[14745]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
May 22 21:54:58 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1716407698-1716407695
May 22 21:54:58 srv4hai check_presence[14745]: 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 21:54:58 srv4hai check_presence[14745]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May 22 21:54:58 srv4hai check_presence[14745]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
May 22 21:54:58 srv4hai check_presence[14745]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
May 22 21:54:58 srv4hai activate_scenario[14893]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May 22 21:54:58 srv4hai activate_scenario[14893]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished