activate_scenario.sh
Wed Apr 9 17:32:28 CEST 2025
scenario: buero_UM
source: 192.168.12.140

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/04/09/_0.log)

vorher: 17:32:28.299

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 17:32:28.367
Dauer: 68 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/09/_1.log)

vorher: 17:32:28.337

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 17:32:28.391
Dauer: 54 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 17:32:28.246
nachher: 17:32:28.403
Dauer : 157 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/09//scene_buero_UM_20250409_173228.txt'


syslog

Apr  9 17:29:00 srv4hai mqtt_process[15920]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 17:29:00 srv4hai ping_SP[4029]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744212540 - 'ping_SP_0'
Apr  9 17:29:00 srv4hai ping_SP[4029]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 17:29:00 srv4hai mqtt_process[15954]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:29:00 srv4hai mqtt_process[15984]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:29:01 srv4hai CRON[16010]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 17:29:16 srv4hai nmbd[2172]: [2025/04/09 17:29:16.317007,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr  9 17:29:16 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Apr  9 17:29:16 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr  9 17:29:16 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Apr  9 17:29:38 srv4hai dhcpd[30231]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 17:29:38 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 17:29:38 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  9 17:29:38 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.139
Apr  9 17:29:38 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-39
Apr  9 17:29:38 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 17:29:38 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#41137/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#54749/key rndc-key: signer "rndc-key" approved
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#54749/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#54749/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#54749/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#54749/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr  9 17:29:38 srv4hai dhcpd[30231]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#53687/key rndc-key: signer "rndc-key" approved
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#53687/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr  9 17:29:38 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#53687/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  9 17:29:38 srv4hai dhcpd[30231]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr  9 17:29:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Apr  9 17:29:39 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr  9 17:29:39 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=18.200000&hum=26.200000&id=C049EF8AC9D8&batt=71&volt=5.440000
Apr  9 17:29:39 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2025/04/shelly-39_20250409.csv'
Apr  9 17:29:39 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20250409.csv' modifed 306s ago - EXIT
Apr  9 17:29:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr  9 17:29:39 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  9 17:29:39 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  9 17:29:39 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr  9 17:29:40 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  9 17:29:40 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.28
Apr  9 17:29:40 srv4hai dhcpd[30231]: execute_statement argv[2] = harmonyhub
Apr  9 17:29:40 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr  9 17:29:40 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#49155/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#58655/key rndc-key: signer "rndc-key" approved
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#58655/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr  9 17:29:40 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#58655/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#58655/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#58655/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr  9 17:29:40 srv4hai dhcpd[30231]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33095/key rndc-key: signer "rndc-key" approved
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33095/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr  9 17:29:40 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33095/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  9 17:29:40 srv4hai dhcpd[30231]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr  9 17:29:40 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr  9 17:29:49 srv4hai kernel: [90190693.823689] CPU4: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:49 srv4hai kernel: [90190693.823691] CPU7: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:49 srv4hai kernel: [90190693.823692] CPU1: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:49 srv4hai kernel: [90190693.823693] CPU5: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:49 srv4hai kernel: [90190693.823694] CPU6: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:49 srv4hai kernel: [90190693.823695] CPU2: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:49 srv4hai kernel: [90190693.823697] CPU0: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:49 srv4hai kernel: [90190693.823698] CPU3: Package temperature above threshold, cpu clock throttled (total events = 730293187)
Apr  9 17:29:52 srv4hai mqtt_process[16118]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:29:52 srv4hai mqtt_process[16144]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:29:59 srv4hai mqtt_process[16169]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:29:59 srv4hai mqtt_process[16194]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:30:00 srv4hai mqtt_process[16219]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 17:30:01 srv4hai CRON[16250]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  9 17:30:01 srv4hai CRON[16252]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Apr  9 17:30:01 srv4hai CRON[16251]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 17:30:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  9 17:30:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  9 17:30:01 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Apr  9 17:30:01 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Apr  9 17:30:01 srv4hai meter.sh: SHELLY meter.sh ended
Apr  9 17:30:01 srv4hai postfix/pickup[3208]: F3D4B63463: uid=33 from=
Apr  9 17:30:02 srv4hai postfix/cleanup[16379]: F3D4B63463: message-id=<20250409153001.F3D4B63463@mail.viehai.at>
Apr  9 17:30:02 srv4hai postfix/qmgr[8566]: F3D4B63463: from=, size=663, nrcpt=1 (queue active)
Apr  9 17:30:02 srv4hai postfix/local[16381]: F3D4B63463: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  9 17:30:02 srv4hai postfix/qmgr[8566]: F3D4B63463: removed
Apr  9 17:30:13 srv4hai ping_SP[4029]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744212613 - 'ping_SP_0'
Apr  9 17:30:13 srv4hai ping_SP[4029]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 17:30:52 srv4hai mqtt_process[16405]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:30:52 srv4hai mqtt_process[16431]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:30:59 srv4hai mqtt_process[16457]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:30:59 srv4hai mqtt_process[16482]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:31:00 srv4hai mqtt_process[16507]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 17:31:01 srv4hai CRON[16533]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 17:31:14 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  9 17:31:14 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.28
Apr  9 17:31:14 srv4hai dhcpd[30231]: execute_statement argv[2] = harmonyhub
Apr  9 17:31:14 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr  9 17:31:14 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#37021/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 17:31:14 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#50407/key rndc-key: signer "rndc-key" approved
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#50407/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#50407/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#50407/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#50407/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr  9 17:31:14 srv4hai dhcpd[30231]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#34589/key rndc-key: signer "rndc-key" approved
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#34589/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr  9 17:31:14 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#34589/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  9 17:31:14 srv4hai dhcpd[30231]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr  9 17:31:14 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr  9 17:31:18 srv4hai kernel: [90190782.187693] CPU1: Core temperature/speed normal
Apr  9 17:31:18 srv4hai kernel: [90190782.187694] CPU5: Core temperature/speed normal
Apr  9 17:31:26 srv4hai ping_SP[4029]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744212686 - 'ping_SP_0'
Apr  9 17:31:26 srv4hai ping_SP[4029]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 17:31:41 srv4hai systemd[1]: Started Run anacron jobs.
Apr  9 17:31:41 srv4hai anacron[16566]: Anacron 2.3 started on 2025-04-09
Apr  9 17:31:41 srv4hai anacron[16566]: Normal exit (0 jobs run)
Apr  9 17:31:41 srv4hai systemd[1]: anacron.service: Succeeded.
Apr  9 17:31:52 srv4hai mqtt_process[16568]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:31:52 srv4hai mqtt_process[16593]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:32:00 srv4hai mqtt_process[16619]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 17:32:00 srv4hai mqtt_process[16644]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:32:00 srv4hai mqtt_process[16669]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 17:32:01 srv4hai CRON[16709]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 17:32:27 srv4hai dhcpd[30231]: DHCPREQUEST for 10.246.136.11 from 08:92:04:5f:12:67 via enp2s0: wrong network.
Apr  9 17:32:27 srv4hai dhcpd[30231]: DHCPNAK on 10.246.136.11 to 08:92:04:5f:12:67 via enp2s0
Apr  9 17:32:28 srv4hai activate_scenario[16722]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  9 17:32:28 srv4hai activate_scenario[16722]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished