activate_scenario.sh
Wed Aug 14 10:17:01 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/08/14/_0.log)

vorher: 10:17:01.551

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: 10:17:01.591
Dauer: 39 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 10:17:01.522
nachher: 10:17:01.597
Dauer : 76 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/14//scene_vorraumOn_20240814_101701.txt'


syslog

Aug 14 10:14:01 srv4hai CRON[29501]: (root) CMD (/etc/linetest/linetest.sh)
Aug 14 10:14:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29525, secured, session=<7Z7bUKAfdJkAAAAAAAAAAAAAAAAAAAAB>
Aug 14 10:14:32 srv4hai dovecot: imap(miglincit)<29525><7Z7bUKAfdJkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=744 out=54926 deleted=0 expunged=0 trashed=0 hdr_count=58 hdr_bytes=26737 body_count=0 body_bytes=0
Aug 14 10:14:38 srv4hai postfix/anvil[29380]: statistics: max connection rate 1/60s for (smtp:94.141.120.212) at Aug 14 10:10:27
Aug 14 10:14:38 srv4hai postfix/anvil[29380]: statistics: max connection count 1 for (smtp:94.141.120.212) at Aug 14 10:10:27
Aug 14 10:14:38 srv4hai postfix/anvil[29380]: statistics: max cache size 2 at Aug 14 10:11:17
Aug 14 10:15:01 srv4hai CRON[29536]: (root) CMD (/etc/linetest/linetest.sh)
Aug 14 10:15:31 srv4hai postfix/smtpd[29552]: connect from unknown[94.141.120.36]
Aug 14 10:15:31 srv4hai postfix/smtpd[29552]: warning: unknown[94.141.120.36]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug 14 10:15:31 srv4hai postfix/smtpd[29552]: lost connection after AUTH from unknown[94.141.120.36]
Aug 14 10:15:31 srv4hai postfix/smtpd[29552]: disconnect from unknown[94.141.120.36] ehlo=1 auth=0/1 commands=1/2
Aug 14 10:15:50 srv4hai postfix/smtpd[29552]: connect from starttls-virginia.securing-email.com[34.227.19.103]
Aug 14 10:15:51 srv4hai postfix/smtpd[29552]: disconnect from starttls-virginia.securing-email.com[34.227.19.103] ehlo=2 starttls=1 quit=1 commands=4
Aug 14 10:16:01 srv4hai CRON[29568]: (root) CMD (/etc/linetest/linetest.sh)
Aug 14 10:16:50 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug 14 10:16:50 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 14 10:16:50 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 14 10:16:50 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 14 10:16:50 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 14 10:16:50 srv4hai common[29592]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 14 10:16:50 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 14 10:16:50 srv4hai common[29606]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 14 10:16:50 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 14 10:16:50 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#49785/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#43419/key rndc-key: signer "rndc-key" approved
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#43419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#43419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#43419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#43419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 14 10:16:50 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#53305/key rndc-key: signer "rndc-key" approved
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#53305/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 14 10:16:50 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#53305/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.
Aug 14 10:16:50 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 14 10:16:50 srv4hai ping_SP[29606]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug 14 10:16:59 srv4hai common[29629]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 14 10:17:00 srv4hai common[29651]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 14 10:17:01 srv4hai CRON[29666]: (root) CMD (/etc/linetest/linetest.sh)
Aug 14 10:17:01 srv4hai CRON[29667]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 14 10:17:01 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1723623421-1723623419
Aug 14 10:17:01 srv4hai check_presence[29651]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 14 10:17:01 srv4hai check_presence[29651]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug 14 10:17:01 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1723623421-1723623419
Aug 14 10:17:01 srv4hai check_presence[29651]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Aug 14 10:17:01 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1723623421-1723623419
Aug 14 10:17:01 srv4hai check_presence[29651]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 14 10:17:01 srv4hai check_presence[29651]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 14 10:17:01 srv4hai check_presence[29651]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug 14 10:17:01 srv4hai check_presence[29651]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug 14 10:17:01 srv4hai activate_scenario[29818]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug 14 10:17:01 srv4hai activate_scenario[29818]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished