activate_scenario.sh
Wed May 8 16:18:36 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/08/_0.log)

vorher: 16:18:36.370

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


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

urls : 1
vorher : 16:18:36.339
nachher: 16:18:36.421
Dauer : 83 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/08//scene_vorraumOn_20240508_161836.txt'


syslog

May  8 16:15:01 srv4hai CRON[26416]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:15:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26431, secured, session=
May  8 16:15:24 srv4hai dovecot: imap(miglincit)<26431>: Logged out in=721 out=40263 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15887 body_count=0 body_bytes=0
May  8 16:16:01 srv4hai CRON[26451]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:17:01 srv4hai CRON[26482]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  8 16:17:01 srv4hai CRON[26483]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:17:29 srv4hai postfix/smtpd[26500]: connect from unknown[45.88.91.103]
May  8 16:17:29 srv4hai postfix/smtpd[26500]: warning: unknown[45.88.91.103]: SASL LOGIN authentication failed: Invalid authentication mechanism
May  8 16:17:29 srv4hai postfix/smtpd[26500]: disconnect from unknown[45.88.91.103] ehlo=1 auth=0/1 quit=1 commands=2/3
May  8 16:18:01 srv4hai CRON[26516]: (root) CMD (/etc/linetest/linetest.sh)
May  8 16:18:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26531, secured, session=
May  8 16:18:24 srv4hai dovecot: imap(miglincit)<26531>: Logged out in=499 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May  8 16:18:25 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
May  8 16:18:25 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May  8 16:18:25 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May  8 16:18:25 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
May  8 16:18:25 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
May  8 16:18:25 srv4hai common[26534]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May  8 16:18:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May  8 16:18:25 srv4hai common[26548]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  8 16:18:25 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May  8 16:18:25 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May  8 16:18:25 srv4hai named[15509]: client @0x7f931c12c1c0 192.168.12.252#36289/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May  8 16:18:25 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#36343/key rndc-key: signer "rndc-key" approved
May  8 16:18:25 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#36343/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
May  8 16:18:25 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#36343/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
May  8 16:18:25 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#36343/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
May  8 16:18:25 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#36343/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
May  8 16:18:25 srv4hai dhcpd[22856]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
May  8 16:18:25 srv4hai named[15509]: client @0x7f930805ddf0 192.168.12.252#40513/key rndc-key: signer "rndc-key" approved
May  8 16:18:25 srv4hai named[15509]: client @0x7f930805ddf0 192.168.12.252#40513/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
May  8 16:18:25 srv4hai named[15509]: client @0x7f930805ddf0 192.168.12.252#40513/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  8 16:18:25 srv4hai dhcpd[22856]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
May  8 16:18:25 srv4hai ping_SP[26548]: SHELLY ping_SP.sh started from smartphone, user:'root'
May  8 16:18:32 srv4hai common[26572]: SHELLY common.sh inkludiert von ./bt_scan.sh
May  8 16:18:35 srv4hai common[26596]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May  8 16:18:35 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1715177915-1715177912
May  8 16:18:35 srv4hai check_presence[26596]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May  8 16:18:35 srv4hai check_presence[26596]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
May  8 16:18:35 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1715177915-1715177912
May  8 16:18:36 srv4hai check_presence[26596]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May  8 16:18:36 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1715177916-1715177912
May  8 16:18:36 srv4hai check_presence[26596]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May  8 16:18:36 srv4hai check_presence[26596]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
May  8 16:18:36 srv4hai check_presence[26596]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
May  8 16:18:36 srv4hai check_presence[26596]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
May  8 16:18:36 srv4hai activate_scenario[26747]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May  8 16:18:36 srv4hai activate_scenario[26747]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished