activate_scenario.sh
Fri Apr 11 10:46:12 CEST 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/04/11/_0.log)

vorher: 10:46:12.443

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: 10:46:12.544
Dauer: 101 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 10:46:12.393
nachher: 10:46:12.557
Dauer : 164 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/11//scene_vorraumOn_20250411_104612.txt'


syslog

Apr 11 10:43:00 srv4hai mqtt_process[28712]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:43:00 srv4hai dhcpd[30231]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr 11 10:43:00 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 11 10:43:01 srv4hai CRON[28738]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:43:02 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 11 10:43:02 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.139
Apr 11 10:43:02 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-39
Apr 11 10:43:02 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr 11 10:43:02 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#58057/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#34835/key rndc-key: signer "rndc-key" approved
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#34835/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#34835/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#34835/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#34835/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr 11 10:43:02 srv4hai dhcpd[30231]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#55143/key rndc-key: signer "rndc-key" approved
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#55143/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr 11 10:43:02 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#55143/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Apr 11 10:43:02 srv4hai dhcpd[30231]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr 11 10:43:02 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Apr 11 10:43:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=14.200000&hum=41.800000&id=C049EF8AC9D8&batt=70&volt=5.410000
Apr 11 10:43:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 11 10:43:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2025/04/shelly-39_20250411.csv'
Apr 11 10:43:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 11 10:43:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 11 10:43:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 11 10:43:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Apr 11 10:43:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Apr 11 10:43:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Apr 11 10:43:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 11 10:43:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Apr 11 10:43:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 11 10:43:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 14.2° - 41.8%
Apr 11 10:43:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 14.2°/13.1° - 41.8%/44.1% - SAVED
Apr 11 10:43:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='70'°
Apr 11 10:43:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO=''°
Apr 11 10:43:48 srv4hai mqtt_process[28906]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:43:48 srv4hai mqtt_process[28931]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:43:59 srv4hai mqtt_process[28957]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:43:59 srv4hai mqtt_process[28982]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:44:00 srv4hai mqtt_process[29008]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:44:01 srv4hai CRON[29034]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:44:06 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 11 10:44:06 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.28
Apr 11 10:44:06 srv4hai dhcpd[30231]: execute_statement argv[2] = harmonyhub
Apr 11 10:44:06 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr 11 10:44:06 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#52393/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#42445/key rndc-key: signer "rndc-key" approved
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#42445/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#42445/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#42445/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr 11 10:44:06 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#42445/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr 11 10:44:06 srv4hai dhcpd[30231]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#59389/key rndc-key: signer "rndc-key" approved
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#59389/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr 11 10:44:06 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#59389/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.
Apr 11 10:44:06 srv4hai dhcpd[30231]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr 11 10:44:06 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr 11 10:44:17 srv4hai nmbd[2172]: [2025/04/11 10:44:17.236488,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 11 10:44:17 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Apr 11 10:44:17 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 11 10:44:17 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Apr 11 10:44:48 srv4hai mqtt_process[29054]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:44:48 srv4hai mqtt_process[29079]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:44:57 srv4hai kernel: [90339203.857108] CPU4: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:44:57 srv4hai kernel: [90339203.857109] CPU7: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:44:57 srv4hai kernel: [90339203.857111] CPU2: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:44:57 srv4hai kernel: [90339203.857112] CPU5: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:44:57 srv4hai kernel: [90339203.857113] CPU6: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:44:57 srv4hai kernel: [90339203.857114] CPU1: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:44:57 srv4hai kernel: [90339203.857115] CPU0: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:44:57 srv4hai kernel: [90339203.857117] CPU3: Package temperature above threshold, cpu clock throttled (total events = 749351244)
Apr 11 10:45:00 srv4hai mqtt_process[29105]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:45:00 srv4hai mqtt_process[29130]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:45:00 srv4hai mqtt_process[29155]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 42 to 41
Apr 11 10:45:01 srv4hai CRON[29181]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:45:12 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 11 10:45:12 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.28
Apr 11 10:45:12 srv4hai dhcpd[30231]: execute_statement argv[2] = harmonyhub
Apr 11 10:45:12 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr 11 10:45:12 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#35195/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#59481/key rndc-key: signer "rndc-key" approved
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#59481/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr 11 10:45:12 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#59481/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#59481/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#59481/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr 11 10:45:12 srv4hai dhcpd[30231]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#33949/key rndc-key: signer "rndc-key" approved
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#33949/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr 11 10:45:12 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#33949/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.
Apr 11 10:45:12 srv4hai dhcpd[30231]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr 11 10:45:12 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr 11 10:45:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29197, secured, session=<7pVFuXwywtcAAAAAAAAAAAAAAAAAAAAB>
Apr 11 10:45:26 srv4hai dovecot: imap(miglincit)<29197><7pVFuXwywtcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 11 10:45:48 srv4hai mqtt_process[29199]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:45:48 srv4hai mqtt_process[29224]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:45:59 srv4hai mqtt_process[29252]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:45:59 srv4hai mqtt_process[29277]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:46:00 srv4hai mqtt_process[29302]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:46:01 srv4hai CRON[29328]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:46:11 srv4hai bt_scan[29336]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 11 10:46:11 srv4hai bt_scan[29336]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 11 10:46:11 srv4hai ping_SP[29367]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 11 10:46:12 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr 11 10:46:12 srv4hai check_presence[29387]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.TRY and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.Yes
Apr 11 10:46:12 srv4hai check_presence[29387]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_0.TRY' for what: 'coming'
Apr 11 10:46:12 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr 11 10:46:12 srv4hai check_presence[29387]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.No
Apr 11 10:46:12 srv4hai check_presence[29387]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/TRY) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 11 10:46:12 srv4hai check_presence[29387]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Apr 11 10:46:12 srv4hai check_presence[29387]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 11 10:46:12 srv4hai activate_scenario[29476]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 11 10:46:12 srv4hai activate_scenario[29476]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished