activate_scenario.sh
Sat Feb 1 12:15:17 CET 2025
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

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

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/01/_0.log)

vorher: 12:15:18.035

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: 12:15:18.148
Dauer: 114 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 12:15:18.010
nachher: 12:15:18.155
Dauer : 144 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/01//scene_vorraumOn_20250201_121517.txt'


syslog

Feb  1 12:12:00 srv4hai common[11418]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:12:01 srv4hai CRON[11443]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:12:51 srv4hai common[11455]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:12:51 srv4hai common[11479]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:12:59 srv4hai common[11504]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:13:00 srv4hai common[11528]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:13:00 srv4hai common[11552]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:13:01 srv4hai CRON[11577]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:13:12 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb  1 12:13:12 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.28
Feb  1 12:13:12 srv4hai dhcpd[4995]: execute_statement argv[2] = harmonyhub
Feb  1 12:13:12 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb  1 12:13:12 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#35011/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44633/key rndc-key: signer "rndc-key" approved
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44633/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44633/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44633/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44633/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb  1 12:13:12 srv4hai dhcpd[4995]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb  1 12:13:12 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#60317/key rndc-key: signer "rndc-key" approved
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#60317/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb  1 12:13:12 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#60317/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Feb  1 12:13:12 srv4hai dhcpd[4995]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb  1 12:13:12 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb  1 12:13:36 srv4hai nmbd[2172]: [2025/02/01 12:13:36.182910,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb  1 12:13:36 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Feb  1 12:13:36 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb  1 12:13:36 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Feb  1 12:13:51 srv4hai common[11604]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:13:51 srv4hai common[11628]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:13:59 srv4hai common[11652]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:13:59 srv4hai common[11676]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:14:00 srv4hai common[11700]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:14:01 srv4hai CRON[11725]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:14:27 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  1 12:14:28 srv4hai fetchmail[1651]: 62698 messages (62697 seen) for tmiglinci at mail.akis.at (834282797 octets).
Feb  1 12:14:28 srv4hai postfix/smtpd[11739]: connect from localhost[127.0.0.1]
Feb  1 12:14:28 srv4hai postfix/smtpd[11739]: 49CE3631BE: client=localhost[127.0.0.1]
Feb  1 12:14:28 srv4hai postfix/cleanup[11742]: 49CE3631BE: message-id=<1895905287.823232.1738408172271@saved-searches-db665bf69-dbcx9>
Feb  1 12:14:28 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:62698 of 62698 (22631 octets) not flushed
Feb  1 12:14:28 srv4hai postfix/qmgr[8566]: 49CE3631BE: from=, size=22868, nrcpt=1 (queue active)
Feb  1 12:14:28 srv4hai postfix/smtpd[11739]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb  1 12:14:28 srv4hai postfix/local[11743]: 49CE3631BE: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  1 12:14:28 srv4hai postfix/qmgr[8566]: 49CE3631BE: removed
Feb  1 12:14:28 srv4hai fetchmail[1651]: 11475 messages (11475 seen) for srozum at mail.akis.at (1364450128 octets).
Feb  1 12:14:29 srv4hai fetchmail[1651]: 28669 messages (28669 seen) for mrozum at mail.akis.at (617349650 octets).
Feb  1 12:14:29 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb  1 12:14:51 srv4hai common[11746]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:14:51 srv4hai common[11770]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:14:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11796, secured, session=<8GXSxBItBugAAAAAAAAAAAAAAAAAAAAB>
Feb  1 12:14:55 srv4hai dovecot: imap(miglincit)<11796><8GXSxBItBugAAAAAAAAAAAAAAAAAAAAB>: Logged out in=1675 out=152800 deleted=0 expunged=0 trashed=0 hdr_count=245 hdr_bytes=80657 body_count=0 body_bytes=0
Feb  1 12:14:59 srv4hai common[11797]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:14:59 srv4hai common[11821]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:15:00 srv4hai common[11845]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 12:15:01 srv4hai CRON[11872]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 12:15:07 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:15:07 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:15:07 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb  1 12:15:07 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb  1 12:15:07 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb  1 12:15:07 srv4hai common[11878]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb  1 12:15:07 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb  1 12:15:07 srv4hai common[11893]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb  1 12:15:07 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:15:07 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#38931/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#33619/key rndc-key: signer "rndc-key" approved
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#33619/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#33619/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#33619/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#33619/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb  1 12:15:07 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43731/key rndc-key: signer "rndc-key" approved
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43731/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb  1 12:15:07 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#43731/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.
Feb  1 12:15:07 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb  1 12:15:07 srv4hai ping_SP[11893]: SHELLY ping_SP.sh started from smartphone, user:'root'
Feb  1 12:15:07 srv4hai common[11915]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb  1 12:15:17 srv4hai common[11941]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb  1 12:15:17 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1738408517-1738408513
Feb  1 12:15:17 srv4hai check_presence[11941]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb  1 12:15:17 srv4hai check_presence[11941]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Feb  1 12:15:17 srv4hai bt_scan[11915]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Feb  1 12:15:17 srv4hai bt_scan[11915]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Feb  1 12:15:17 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1738408517-1738408513
Feb  1 12:15:17 srv4hai check_presence[11941]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb  1 12:15:17 srv4hai check_presence[11941]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  1 12:15:17 srv4hai check_presence[11941]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Feb  1 12:15:17 srv4hai check_presence[11941]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb  1 12:15:17 srv4hai activate_scenario[12078]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb  1 12:15:17 srv4hai activate_scenario[12078]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished