activate_scenario.sh
Wed Aug 21 16:47:32 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/21/_0.log)

vorher: 16:47:32.382

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:47:32.406
Dauer: 24 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 16:47:32.362
nachher: 16:47:32.413
Dauer : 51 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/21//scene_vorraumOn_20240821_164732.txt'


syslog

Aug 21 16:44:01 srv4hai CRON[8119]: (root) CMD (/etc/linetest/linetest.sh)
Aug 21 16:45:01 srv4hai CRON[8141]: (root) CMD (/etc/linetest/linetest.sh)
Aug 21 16:46:01 srv4hai CRON[8150]: (root) CMD (/etc/linetest/linetest.sh)
Aug 21 16:46:04 srv4hai postfix/anvil[8086]: statistics: max connection rate 1/60s for (smtp:178.215.236.137) at Aug 21 16:41:14
Aug 21 16:46:04 srv4hai postfix/anvil[8086]: statistics: max connection count 1 for (smtp:178.215.236.137) at Aug 21 16:41:14
Aug 21 16:46:04 srv4hai postfix/anvil[8086]: statistics: max cache size 1 at Aug 21 16:41:14
Aug 21 16:47:01 srv4hai CRON[8163]: (root) CMD (/etc/linetest/linetest.sh)
Aug 21 16:47:20 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug 21 16:47:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 21 16:47:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 21 16:47:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 21 16:47:20 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 21 16:47:21 srv4hai common[8169]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 21 16:47:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 21 16:47:21 srv4hai common[8183]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 21 16:47:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 21 16:47:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#52185/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#56917/key rndc-key: signer "rndc-key" approved
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#56917/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#56917/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#56917/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#56917/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 21 16:47:21 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#57123/key rndc-key: signer "rndc-key" approved
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#57123/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 21 16:47:21 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#57123/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 21 16:47:21 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 21 16:47:21 srv4hai ping_SP[8183]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug 21 16:47:31 srv4hai common[8213]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 21 16:47:32 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'37911'=1724251652-1724213741
Aug 21 16:47:32 srv4hai check_presence[8213]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 21 16:47:32 srv4hai check_presence[8213]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug 21 16:47:32 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'37911'=1724251652-1724213741
Aug 21 16:47:32 srv4hai check_presence[8213]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug 21 16:47:32 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'37911'=1724251652-1724213741
Aug 21 16:47:32 srv4hai check_presence[8213]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 21 16:47:32 srv4hai check_presence[8213]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 21 16:47:32 srv4hai check_presence[8213]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug 21 16:47:32 srv4hai check_presence[8213]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug 21 16:47:32 srv4hai activate_scenario[8351]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug 21 16:47:32 srv4hai activate_scenario[8351]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished