activate_scenario.sh
Wed Sep 25 16:59:18 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/25/_0.log)

vorher: 16:59:19.064

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:59:19.114
Dauer: 49 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 16:59:19.025
nachher: 16:59:19.120
Dauer : 97 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/25//scene_vorraumOn_20240925_165918.txt'


syslog

Sep 25 16:56:01 srv4hai CRON[19583]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 16:57:01 srv4hai CRON[19595]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 16:57:03 srv4hai postfix/anvil[19531]: statistics: max connection rate 1/60s for (smtp:80.94.92.158) at Sep 25 16:52:53
Sep 25 16:57:03 srv4hai postfix/anvil[19531]: statistics: max connection count 1 for (smtp:80.94.92.158) at Sep 25 16:52:53
Sep 25 16:57:03 srv4hai postfix/anvil[19531]: statistics: max cache size 5 at Sep 25 16:53:43
Sep 25 16:57:09 srv4hai nmbd[2172]: [2024/09/25 16:57:09.215456,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 25 16:57:09 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 25 16:57:09 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 25 16:57:09 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 25 16:57:09 srv4hai postfix/smtpd[19602]: warning: hostname 188-190-10-124.clevhosting.com does not resolve to address 188.190.10.124: Name or service not known
Sep 25 16:57:09 srv4hai postfix/smtpd[19602]: connect from unknown[188.190.10.124]
Sep 25 16:57:09 srv4hai postfix/smtpd[19602]: warning: unknown[188.190.10.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 25 16:57:09 srv4hai postfix/smtpd[19602]: disconnect from unknown[188.190.10.124] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 25 16:58:01 srv4hai CRON[19614]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 16:59:01 srv4hai CRON[19627]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 25 16:59:08 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 25 16:59:08 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 25 16:59:08 srv4hai common[19632]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 25 16:59:08 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 25 16:59:08 srv4hai common[19646]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#49425/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: signer "rndc-key" approved
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 25 16:59:08 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43901/key rndc-key: signer "rndc-key" approved
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43901/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43901/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 25 16:59:08 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 25 16:59:08 srv4hai ping_SP[19646]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 25 16:59:14 srv4hai common[19668]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 25 16:59:18 srv4hai common[19691]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 25 16:59:18 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1727276358-1727276354
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 25 16:59:18 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1727276358-1727276354
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 25 16:59:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1727276358-1727276354
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 25 16:59:18 srv4hai activate_scenario[19840]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 25 16:59:18 srv4hai activate_scenario[19840]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished