activate_scenario.sh
Mon Jul 15 08:28:14 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/07/15/_0.log)

vorher: 08:28:15.024

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": "http"

nachher: 08:28:15.051
Dauer: 26 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 08:28:14.996
nachher: 08:28:15.057
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/15//scene_vorraumOn_20240715_082814.txt'


syslog

Jul 15 08:25:01 srv4hai CRON[25598]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 08:26:01 srv4hai CRON[25615]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 08:26:19 srv4hai nmbd[2172]: [2024/07/15 08:26:19.226491,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 15 08:26:19 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 15 08:26:19 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 15 08:26:19 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 15 08:27:01 srv4hai CRON[25636]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 08:27:03 srv4hai postfix/anvil[25572]: statistics: max connection rate 1/60s for (smtp:94.154.35.194) at Jul 15 08:23:43
Jul 15 08:27:03 srv4hai postfix/anvil[25572]: statistics: max connection count 1 for (smtp:94.154.35.194) at Jul 15 08:23:43
Jul 15 08:27:03 srv4hai postfix/anvil[25572]: statistics: max cache size 1 at Jul 15 08:23:43
Jul 15 08:27:09 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 15 08:27:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25648, secured, session=
Jul 15 08:27:41 srv4hai dovecot: imap(miglincit)<25648>: Logged out in=520 out=1285 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 15 08:28:01 srv4hai CRON[25653]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 15 08:28:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 15 08:28:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 15 08:28:04 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 15 08:28:04 srv4hai common[25658]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 15 08:28:04 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 15 08:28:04 srv4hai common[25672]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#57561/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: signer "rndc-key" approved
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 15 08:28:04 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#60301/key rndc-key: signer "rndc-key" approved
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#60301/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 15 08:28:04 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#60301/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.
Jul 15 08:28:04 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 15 08:28:04 srv4hai ping_SP[25672]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 15 08:28:14 srv4hai common[25706]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 15 08:28:14 srv4hai common[25720]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 15 08:28:14 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1721024894-1721024894
Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 15 08:28:14 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1721024894-1721024894
Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 15 08:28:14 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1721024894-1721024894
Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 15 08:28:14 srv4hai activate_scenario[25852]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 15 08:28:14 srv4hai activate_scenario[25852]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished