activate_scenario.sh
Fri Sep 13 17:06:15 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/09/13/_0.log)

vorher: 17:06:15.315

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: 17:06:15.357
Dauer: 43 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 17:06:15.294
nachher: 17:06:15.364
Dauer : 69 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/13//scene_vorraumOn_20240913_170615.txt'


syslog

Sep 13 17:03:01 srv4hai CRON[19769]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:03:15 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726239795 - 'ping_SP_0'
Sep 13 17:03:15 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 13 17:04:01 srv4hai CRON[19814]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:04:18 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726239858 - 'ping_SP_0'
Sep 13 17:04:18 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 13 17:05:01 srv4hai CRON[19858]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:05:21 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726239921 - 'ping_SP_0'
Sep 13 17:05:21 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 13 17:06:01 srv4hai CRON[19902]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:06:04 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 13 17:06:04 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 13 17:06:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 13 17:06:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 13 17:06:04 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 13 17:06:04 srv4hai common[19907]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 13 17:06:04 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 13 17:06:04 srv4hai common[19921]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 13 17:06:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 13 17:06:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#55937/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#45285/key rndc-key: signer "rndc-key" approved
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#45285/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#45285/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#45285/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#45285/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 13 17:06:04 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#39551/key rndc-key: signer "rndc-key" approved
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#39551/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 13 17:06:04 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#39551/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.
Sep 13 17:06:04 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 13 17:06:04 srv4hai dhcpd[30731]: Wrote 0 deleted host decls to leases file.
Sep 13 17:06:04 srv4hai dhcpd[30731]: Wrote 0 new dynamic host decls to leases file.
Sep 13 17:06:04 srv4hai dhcpd[30731]: Wrote 19 leases to leases file.
Sep 13 17:06:04 srv4hai ping_SP[19921]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 13 17:06:14 srv4hai common[19954]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 13 17:06:14 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1726239974-1726239972
Sep 13 17:06:14 srv4hai check_presence[19954]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 13 17:06:14 srv4hai check_presence[19954]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 13 17:06:14 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1726239974-1726239972
Sep 13 17:06:14 srv4hai check_presence[19954]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 13 17:06:15 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1726239975-1726239972
Sep 13 17:06:15 srv4hai check_presence[19954]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 13 17:06:15 srv4hai check_presence[19954]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 13 17:06:15 srv4hai check_presence[19954]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_herdzeile_UM) - sceneONsmall(vorraumOn)
Sep 13 17:06:15 srv4hai check_presence[19954]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 13 17:06:15 srv4hai activate_scenario[20102]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 13 17:06:15 srv4hai activate_scenario[20102]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished