activate_scenario.sh
Sat Aug 24 07:25:06 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/24/_0.log)

vorher: 07:25:06.650

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: 07:25:06.707
Dauer: 57 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 07:25:06.612
nachher: 07:25:06.714
Dauer : 104 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/24//scene_vorraumOn_20240824_072506.txt'


syslog

Aug 24 07:22:01 srv4hai CRON[11530]: (root) CMD (/etc/linetest/linetest.sh)
Aug 24 07:22:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11553, secured, session=
Aug 24 07:22:32 srv4hai dovecot: imap(miglincit)<11553>: Logged out in=562 out=45799 deleted=0 expunged=0 trashed=0 hdr_count=58 hdr_bytes=17291 body_count=0 body_bytes=0
Aug 24 07:23:01 srv4hai CRON[11575]: (root) CMD (/etc/linetest/linetest.sh)
Aug 24 07:24:01 srv4hai CRON[11623]: (root) CMD (/etc/linetest/linetest.sh)
Aug 24 07:24:55 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug 24 07:24:55 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 24 07:24:55 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 24 07:24:55 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 24 07:24:55 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 24 07:24:55 srv4hai common[11660]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 24 07:24:55 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 24 07:24:55 srv4hai common[11674]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 24 07:24:55 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 24 07:24:55 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#37859/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50671/key rndc-key: signer "rndc-key" approved
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50671/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50671/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50671/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50671/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 24 07:24:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#38625/key rndc-key: signer "rndc-key" approved
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#38625/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 24 07:24:55 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#38625/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 24 07:24:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 24 07:24:55 srv4hai ping_SP[11674]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug 24 07:25:01 srv4hai CRON[11701]: (root) CMD (/etc/linetest/linetest.sh)
Aug 24 07:25:05 srv4hai common[11715]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 24 07:25:06 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Aug 24 07:25:06 srv4hai check_presence[11715]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 24 07:25:06 srv4hai check_presence[11715]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug 24 07:25:06 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Aug 24 07:25:06 srv4hai check_presence[11715]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug 24 07:25:06 srv4hai common.sh: SHELLY: BTstatus[2]:'NO_BTdweet' dweetAge:''=-
Aug 24 07:25:06 srv4hai check_presence[11715]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 24 07:25:06 srv4hai check_presence[11715]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 24 07:25:06 srv4hai check_presence[11715]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug 24 07:25:06 srv4hai check_presence[11715]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug 24 07:25:06 srv4hai activate_scenario[11822]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug 24 07:25:06 srv4hai activate_scenario[11822]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished