activate_scenario.sh
Sat Feb 15 22:15:53 CET 2025
scenario: vorraumOn
phoneName: 0

'night' <--> 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/15/_0.log)

vorher: 22:15:53.992

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: 22:15:54.064
Dauer: 71 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 22:15:53.966
nachher: 22:15:54.070
Dauer : 105 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/15//scene_vorraumOn_20250215_221553.txt'


syslog

Feb 15 22:12:00 srv4hai common[27907]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:12:01 srv4hai CRON[27932]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 22:12:20 srv4hai common[27940]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:12:20 srv4hai common[27964]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:12:33 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Feb 15 22:13:00 srv4hai common[28014]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:13:00 srv4hai common[28038]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:13:00 srv4hai common[28062]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:13:01 srv4hai CRON[28096]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 22:13:03 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739653983 - 'ping_SP_0'
Feb 15 22:13:03 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 15 22:13:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28145, secured, session=
Feb 15 22:13:08 srv4hai dovecot: imap(miglincit)<28145>: Logged out in=137 out=1089 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 15 22:13:19 srv4hai systemd[1]: Starting Cleanup of Temporary Directories...
Feb 15 22:13:19 srv4hai systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Feb 15 22:13:19 srv4hai systemd[1]: Started Cleanup of Temporary Directories.
Feb 15 22:13:20 srv4hai common[28158]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:13:20 srv4hai common[28210]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:13:38 srv4hai common[28242]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 15 22:13:46 srv4hai nmbd[2172]: [2025/02/15 22:13:46.350898,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 15 22:13:46 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Feb 15 22:13:46 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 15 22:13:46 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Feb 15 22:13:48 srv4hai bt_scan[28242]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Feb 15 22:13:48 srv4hai bt_scan[28242]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Feb 15 22:13:59 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 15 22:13:59 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.28
Feb 15 22:13:59 srv4hai dhcpd[4995]: execute_statement argv[2] = harmonyhub
Feb 15 22:13:59 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Feb 15 22:13:59 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f932c012aa0 192.168.12.252#36851/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#57025/key rndc-key: signer "rndc-key" approved
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#57025/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#57025/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#57025/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#57025/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb 15 22:13:59 srv4hai dhcpd[4995]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb 15 22:13:59 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#54533/key rndc-key: signer "rndc-key" approved
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#54533/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb 15 22:13:59 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#54533/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 15 22:13:59 srv4hai dhcpd[4995]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb 15 22:13:59 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb 15 22:13:59 srv4hai common[28292]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:13:59 srv4hai common[28316]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:14:00 srv4hai common[28340]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:14:01 srv4hai CRON[28365]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 22:14:03 srv4hai postfix/anvil[27693]: statistics: max connection rate 1/60s for (smtp:92.118.39.63) at Feb 15 22:10:39
Feb 15 22:14:03 srv4hai postfix/anvil[27693]: statistics: max connection count 1 for (smtp:92.118.39.63) at Feb 15 22:10:39
Feb 15 22:14:03 srv4hai postfix/anvil[27693]: statistics: max cache size 1 at Feb 15 22:10:39
Feb 15 22:14:16 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739654056 - 'ping_SP_0'
Feb 15 22:14:16 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 15 22:14:20 srv4hai common[28421]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:14:20 srv4hai common[28450]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:14:57 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 15 22:14:58 srv4hai common[28479]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 15 22:14:58 srv4hai fetchmail[1651]: 63718 messages (63718 seen) for tmiglinci at mail.akis.at (928353890 octets).
Feb 15 22:14:59 srv4hai fetchmail[1651]: 11543 messages (11543 seen) for srozum at mail.akis.at (1370016638 octets).
Feb 15 22:14:59 srv4hai fetchmail[1651]: 28974 messages (28974 seen) for mrozum at mail.akis.at (674012252 octets).
Feb 15 22:14:59 srv4hai common[28492]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:14:59 srv4hai common[28516]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:15:00 srv4hai common[28540]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:15:00 srv4hai fetchmail[1651]: 1163 messages (1163 seen) for admin@bastelstube.wien at pop3.world4you.com (52216311 octets).
Feb 15 22:15:01 srv4hai CRON[28565]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 22:15:08 srv4hai bt_scan[28479]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Feb 15 22:15:08 srv4hai bt_scan[28479]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb 15 22:15:08 srv4hai common[28589]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 15 22:15:08 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1739654108-1739654098
Feb 15 22:15:08 srv4hai check_presence[28589]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 15 22:15:08 srv4hai check_presence[28589]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Feb 15 22:15:08 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1739654108-1739654098
Feb 15 22:15:08 srv4hai check_presence[28589]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 15 22:15:08 srv4hai check_presence[28589]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 15 22:15:09 srv4hai check_presence[28589]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Feb 15 22:15:09 srv4hai check_presence[28589]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb 15 22:15:20 srv4hai common[28706]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:15:20 srv4hai common[28730]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 15 22:15:30 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739654130 - 'ping_SP_0'
Feb 15 22:15:30 srv4hai ping_SP[17605]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 15 22:15:33 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 15 22:15:33 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 15 22:15:33 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 15 22:15:33 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 15 22:15:33 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 15 22:15:33 srv4hai common[28779]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 15 22:15:43 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 15 22:15:43 srv4hai common[28795]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 15 22:15:43 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 15 22:15:43 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 15 22:15:43 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 15 22:15:43 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 15 22:15:43 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 15 22:15:43 srv4hai common[28808]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 15 22:15:43 srv4hai ping_SP[28795]: SHELLY ping_SP.sh started from smartphone, user:'root'
Feb 15 22:15:53 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 15 22:15:53 srv4hai common[28841]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 15 22:15:53 srv4hai common[28846]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 15 22:15:53 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 15 22:15:53 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 15 22:15:53 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 15 22:15:53 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 15 22:15:53 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 15 22:15:53 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#33201/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 15 22:15:53 srv4hai common[28860]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 15 22:15:53 srv4hai ping_SP[28841]: SHELLY ping_SP.sh started from smartphone, user:'root'
Feb 15 22:15:53 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'6'=1739654153-1739654147
Feb 15 22:15:53 srv4hai check_presence[28846]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 15 22:15:53 srv4hai check_presence[28846]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Feb 15 22:15:53 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'6'=1739654153-1739654147
Feb 15 22:15:53 srv4hai check_presence[28846]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 15 22:15:53 srv4hai check_presence[28846]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 15 22:15:53 srv4hai check_presence[28846]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
Feb 15 22:15:53 srv4hai check_presence[28846]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb 15 22:15:53 srv4hai activate_scenario[28990]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb 15 22:15:53 srv4hai activate_scenario[28990]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished