activate_scenario.sh
Thu May 2 16:18:16 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/02/_0.log)

vorher: 16:18:16.221

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: 16:18:16.270
Dauer: 50 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 16:18:16.199
nachher: 16:18:16.276
Dauer : 78 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/02//scene_vorraumOn_20240502_161816.txt'


syslog

May  2 16:15:01 srv4hai CRON[11993]: (root) CMD (/etc/linetest/linetest.sh)
May  2 16:15:02 srv4hai postfix/anvil[9081]: statistics: max connection rate 1/60s for (smtp:80.76.49.171) at May  2 16:07:26
May  2 16:15:02 srv4hai postfix/anvil[9081]: statistics: max connection count 1 for (smtp:80.76.49.171) at May  2 16:07:26
May  2 16:15:02 srv4hai postfix/anvil[9081]: statistics: max cache size 1 at May  2 16:07:26
May  2 16:15:39 srv4hai postfix/smtpd[12006]: connect from unknown[80.76.49.171]
May  2 16:15:39 srv4hai postfix/smtpd[12006]: warning: unknown[80.76.49.171]: SASL LOGIN authentication failed: Invalid authentication mechanism
May  2 16:15:39 srv4hai postfix/smtpd[12006]: disconnect from unknown[80.76.49.171] ehlo=1 auth=0/1 quit=1 commands=2/3
May  2 16:16:01 srv4hai CRON[12018]: (root) CMD (/etc/linetest/linetest.sh)
May  2 16:16:13 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May  2 16:16:14 srv4hai fetchmail[1651]: 43381 messages (43379 seen) for tmiglinci at mail.akis.at (-682843453 octets).
May  2 16:16:14 srv4hai postfix/smtpd[12006]: connect from localhost[127.0.0.1]
May  2 16:16:14 srv4hai postfix/smtpd[12006]: 405EC6022E: client=localhost[127.0.0.1]
May  2 16:16:14 srv4hai postfix/cleanup[12025]: 405EC6022E: message-id=<639315cb-f1e7-4ed6-be9b-9616a28684a3@ind1s01mta1377.xt.local>
May  2 16:16:14 srv4hai postfix/qmgr[15291]: 405EC6022E: from=, size=45996, nrcpt=1 (queue active)
May  2 16:16:14 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43380 of 43381 (45676 octets) not flushed
May  2 16:16:14 srv4hai postfix/local[12026]: 405EC6022E: to=, relay=local, delay=0.1, delays=0.07/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May  2 16:16:14 srv4hai postfix/qmgr[15291]: 405EC6022E: removed
May  2 16:16:14 srv4hai postfix/smtpd[12006]: 5950B6022E: client=localhost[127.0.0.1]
May  2 16:16:14 srv4hai postfix/cleanup[12025]: 5950B6022E: message-id=<20240502141147.CA07F631A0@mail.viehai.at>
May  2 16:16:14 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43381 of 43381 (15965 octets) not flushed
May  2 16:16:14 srv4hai postfix/qmgr[15291]: 5950B6022E: from=, size=16280, nrcpt=1 (queue active)
May  2 16:16:14 srv4hai postfix/local[12026]: 5950B6022E: to=, relay=local, delay=0.08, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May  2 16:16:14 srv4hai postfix/qmgr[15291]: 5950B6022E: removed
May  2 16:16:14 srv4hai postfix/smtpd[12006]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
May  2 16:16:14 srv4hai fetchmail[1651]: 10197 messages (10197 seen) for srozum at mail.akis.at (1230949843 octets).
May  2 16:16:15 srv4hai fetchmail[1651]: 23246 messages (23245 seen) for mrozum at mail.akis.at (-282559590 octets).
May  2 16:16:15 srv4hai postfix/smtpd[12006]: connect from localhost[127.0.0.1]
May  2 16:16:15 srv4hai postfix/smtpd[12006]: 6E2826022E: client=localhost[127.0.0.1]
May  2 16:16:15 srv4hai postfix/cleanup[12025]: 6E2826022E: message-id=<1165a311-5c66-43ae-bc12-92b3be2ee848@ind1s01mta1377.xt.local>
May  2 16:16:15 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:23246 of 23246 (46126 octets) not flushed
May  2 16:16:15 srv4hai postfix/qmgr[15291]: 6E2826022E: from=, size=46442, nrcpt=1 (queue active)
May  2 16:16:15 srv4hai postfix/smtpd[12006]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May  2 16:16:15 srv4hai postfix/local[12026]: 6E2826022E: to=, relay=local, delay=0.08, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May  2 16:16:15 srv4hai postfix/qmgr[15291]: 6E2826022E: removed
May  2 16:16:15 srv4hai fetchmail[1651]: 52 messages (52 seen) for admin@bastelstube.wien at pop3.world4you.com (12587653 octets).
May  2 16:17:01 srv4hai CRON[12047]: (root) CMD (/etc/linetest/linetest.sh)
May  2 16:17:01 srv4hai CRON[12048]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  2 16:18:01 srv4hai CRON[12078]: (root) CMD (/etc/linetest/linetest.sh)
May  2 16:18:05 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
May  2 16:18:05 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May  2 16:18:05 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May  2 16:18:05 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
May  2 16:18:05 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
May  2 16:18:05 srv4hai common[12083]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May  2 16:18:05 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May  2 16:18:05 srv4hai common[12097]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  2 16:18:05 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May  2 16:18:05 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May  2 16:18:05 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#39191/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May  2 16:18:05 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#56855/key rndc-key: signer "rndc-key" approved
May  2 16:18:05 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#56855/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
May  2 16:18:05 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#56855/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
May  2 16:18:05 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#56855/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
May  2 16:18:05 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#56855/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
May  2 16:18:05 srv4hai dhcpd[22856]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
May  2 16:18:05 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#34865/key rndc-key: signer "rndc-key" approved
May  2 16:18:05 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#34865/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
May  2 16:18:05 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#34865/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  2 16:18:05 srv4hai dhcpd[22856]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
May  2 16:18:05 srv4hai ping_SP[12097]: SHELLY ping_SP.sh started from smartphone, user:'root'
May  2 16:18:07 srv4hai common[12120]: SHELLY common.sh inkludiert von ./bt_scan.sh
May  2 16:18:15 srv4hai common[12145]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May  2 16:18:15 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1714659495-1714659494
May  2 16:18:16 srv4hai check_presence[12145]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May  2 16:18:16 srv4hai check_presence[12145]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
May  2 16:18:16 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1714659496-1714659494
May  2 16:18:16 srv4hai check_presence[12145]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May  2 16:18:16 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1714659496-1714659494
May  2 16:18:16 srv4hai check_presence[12145]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May  2 16:18:16 srv4hai check_presence[12145]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
May  2 16:18:16 srv4hai check_presence[12145]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
May  2 16:18:16 srv4hai activate_scenario[12263]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May  2 16:18:16 srv4hai activate_scenario[12263]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished