activate_scenario.sh
Thu May 23 15:34:43 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/23/_0.log)

vorher: 15:34:43.169

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: 15:34:43.199
Dauer: 31 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 15:34:43.139
nachher: 15:34:43.206
Dauer : 68 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/23//scene_vorraumOn_20240523_153443.txt'


syslog

May 23 15:31:01 srv4hai CRON[9843]: (root) CMD (/etc/linetest/linetest.sh)
May 23 15:31:54 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 23 15:31:55 srv4hai fetchmail[1651]: 44893 messages (44892 seen) for tmiglinci at mail.akis.at (-580227097 octets).
May 23 15:31:55 srv4hai postfix/smtpd[9852]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 23 15:31:55 srv4hai postfix/smtpd[9852]: connect from localhost[127.0.0.1]
May 23 15:31:55 srv4hai postfix/smtpd[9852]: 405C4631F7: client=localhost[127.0.0.1]
May 23 15:31:55 srv4hai postfix/cleanup[9855]: 405C4631F7: message-id=<20240523133123.dcb439fab044dc1c@care.thenlover.com>
May 23 15:31:55 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:44893 of 44893 (67613 octets) not flushed
May 23 15:31:55 srv4hai postfix/qmgr[15291]: 405C4631F7: from=, size=67861, nrcpt=1 (queue active)
May 23 15:31:55 srv4hai postfix/smtpd[9852]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 23 15:31:55 srv4hai postfix/local[9856]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 23 15:31:55 srv4hai postfix/local[9856]: 405C4631F7: to=, relay=local, delay=0.12, delays=0.09/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 23 15:31:55 srv4hai postfix/qmgr[15291]: 405C4631F7: removed
May 23 15:31:55 srv4hai fetchmail[1651]: 10246 messages (10246 seen) for srozum at mail.akis.at (1234948164 octets).
May 23 15:31:56 srv4hai fetchmail[1651]: 23653 messages (23653 seen) for mrozum at mail.akis.at (-204044230 octets).
May 23 15:31:56 srv4hai fetchmail[1651]: 63 messages (63 seen) for admin@bastelstube.wien at pop3.world4you.com (16859232 octets).
May 23 15:32:01 srv4hai CRON[9860]: (root) CMD (/etc/linetest/linetest.sh)
May 23 15:32:01 srv4hai systemd[1]: Started Run anacron jobs.
May 23 15:32:01 srv4hai anacron[9862]: Anacron 2.3 started on 2024-05-23
May 23 15:32:01 srv4hai anacron[9862]: Normal exit (0 jobs run)
May 23 15:32:01 srv4hai systemd[1]: anacron.service: Succeeded.
May 23 15:32:40 srv4hai postfix/qmgr[15291]: 4C30D631CC: from=, size=21728, nrcpt=1 (queue active)
May 23 15:32:40 srv4hai postfix/qmgr[15291]: 6D1C0631C7: from=, size=21639, nrcpt=1 (queue active)
May 23 15:32:40 srv4hai postfix/qmgr[15291]: D190B631DB: from=, size=21752, nrcpt=1 (queue active)
May 23 15:32:41 srv4hai postfix/smtp[9869]: 6D1C0631C7: host aspmx.l.google.com[64.233.165.27] said: 421-4.7.0 IP not in whitelist for RCPT domain, closing connection. For more 421-4.7.0 information, go to 421 4.7.0  https://support.google.com/a/answer/60752 38308e7fff4ca-2e4d0bbd434si87087891fa.16 - gsmtp (in reply to RCPT TO command)
May 23 15:32:41 srv4hai postfix/smtp[9869]: 6D1C0631C7: lost connection with aspmx.l.google.com[64.233.165.27] while sending DATA command
May 23 15:32:41 srv4hai postfix/smtp[9869]: 6D1C0631C7: to=, relay=alt2.aspmx.l.google.com[173.194.202.27]:25, delay=130702, delays=130701/0.01/1.2/0.27, dsn=4.7.0, status=deferred (host alt2.aspmx.l.google.com[173.194.202.27] said: 421-4.7.0 IP not in whitelist for RCPT domain, closing connection. For more 421-4.7.0 information, go to 421 4.7.0  https://support.google.com/a/answer/60752 41be03b00d2f7-63409e83b39si29156737a12.32 - gsmtp (in reply to RCPT TO command))
May 23 15:32:41 srv4hai postfix/smtp[9870]: D190B631DB: host roundtablepizza-com.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-23T13:32:41.881Z 08DC76F8A2E664ED] (in reply to end of DATA command)
May 23 15:32:42 srv4hai postfix/smtp[9870]: D190B631DB: to=, relay=roundtablepizza-com.mail.protection.outlook.com[52.101.10.8]:25, delay=76009, delays=76007/0.02/1.9/0.59, dsn=4.4.4, status=deferred (host roundtablepizza-com.mail.protection.outlook.com[52.101.10.8] 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 [BN3PEPF0000B077.namprd04.prod.outlook.com 2024-05-23T13:32:42.834Z 08DC77360C75E01D] (in reply to end of DATA command))
May 23 15:32:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9878, secured, session=
May 23 15:32:59 srv4hai dovecot: imap(miglincit)<9878>: Logged out in=735 out=39697 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15132 body_count=0 body_bytes=0
May 23 15:33:01 srv4hai CRON[9880]: (root) CMD (/etc/linetest/linetest.sh)
May 23 15:33:10 srv4hai postfix/smtp[9868]: connect to idean.com[3.33.130.190]:25: Connection timed out
May 23 15:33:40 srv4hai postfix/smtp[9868]: connect to idean.com[15.197.148.33]:25: Connection timed out
May 23 15:33:40 srv4hai postfix/smtp[9868]: 4C30D631CC: to=, relay=none, delay=82611, delays=82551/0.01/60/0, dsn=4.4.1, status=deferred (connect to idean.com[15.197.148.33]:25: Connection timed out)
May 23 15:34:01 srv4hai CRON[9891]: (root) CMD (/etc/linetest/linetest.sh)
May 23 15:34:32 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
May 23 15:34:32 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 23 15:34:32 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May 23 15:34:32 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
May 23 15:34:32 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
May 23 15:34:32 srv4hai common[9899]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May 23 15:34:32 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May 23 15:34:32 srv4hai common[9913]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May 23 15:34:32 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May 23 15:34:32 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 23 15:34:32 srv4hai named[15509]: client @0x7f931810e280 192.168.12.252#47591/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 23 15:34:32 srv4hai named[15509]: client @0x7f92fc0b58b0 192.168.12.252#51833/key rndc-key: signer "rndc-key" approved
May 23 15:34:32 srv4hai named[15509]: client @0x7f92fc0b58b0 192.168.12.252#51833/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
May 23 15:34:32 srv4hai named[15509]: client @0x7f92fc0b58b0 192.168.12.252#51833/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
May 23 15:34:32 srv4hai named[15509]: client @0x7f92fc0b58b0 192.168.12.252#51833/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
May 23 15:34:32 srv4hai named[15509]: client @0x7f92fc0b58b0 192.168.12.252#51833/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
May 23 15:34:32 srv4hai dhcpd[22856]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
May 23 15:34:32 srv4hai named[15509]: client @0x7f931c6fb140 192.168.12.252#49441/key rndc-key: signer "rndc-key" approved
May 23 15:34:32 srv4hai named[15509]: client @0x7f931c6fb140 192.168.12.252#49441/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
May 23 15:34:32 srv4hai named[15509]: client @0x7f931c6fb140 192.168.12.252#49441/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
May 23 15:34:32 srv4hai dhcpd[22856]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
May 23 15:34:32 srv4hai ping_SP[9913]: SHELLY ping_SP.sh started from smartphone, user:'root'
May 23 15:34:33 srv4hai common[9935]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 23 15:34:42 srv4hai common[9958]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 23 15:34:42 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1716471282-1716471280
May 23 15:34:42 srv4hai check_presence[9958]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May 23 15:34:42 srv4hai check_presence[9958]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
May 23 15:34:42 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1716471282-1716471280
May 23 15:34:42 srv4hai check_presence[9958]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May 23 15:34:42 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1716471282-1716471280
May 23 15:34:42 srv4hai check_presence[9958]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May 23 15:34:42 srv4hai check_presence[9958]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
May 23 15:34:43 srv4hai check_presence[9958]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
May 23 15:34:43 srv4hai check_presence[9958]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
May 23 15:34:43 srv4hai activate_scenario[10107]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May 23 15:34:43 srv4hai activate_scenario[10107]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished