activate_scenario.sh
Sun Apr 6 16:11:34 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/06/_0.log)

vorher: 16:11:34.646

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: 16:11:34.708
Dauer: 62 msec phName: 'shelly-40:'TB Licht''


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

vorher: 16:11:34.683

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: 16:11:34.716
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 16:11:34.594
nachher: 16:11:34.747
Dauer : 153 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/06//scene_buero_UM_20250406_161134.txt'


syslog

Apr  6 16:08:00 srv4hai mqtt_process[1612]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:08:00 srv4hai mqtt_process[1638]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:08:00 srv4hai mqtt_process[1664]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  6 16:08:01 srv4hai CRON[1690]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 16:08:15 srv4hai ping_SP[26464]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743948495 - 'ping_SP_0'
Apr  6 16:08:15 srv4hai ping_SP[26464]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 16:08:27 srv4hai dhcpd[30231]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr  6 16:08:27 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  6 16:08:29 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  6 16:08:29 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.139
Apr  6 16:08:29 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-39
Apr  6 16:08:29 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr  6 16:08:29 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#36345/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#50095/key rndc-key: signer "rndc-key" approved
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#50095/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#50095/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#50095/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#50095/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr  6 16:08:29 srv4hai dhcpd[30231]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#44065/key rndc-key: signer "rndc-key" approved
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#44065/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr  6 16:08:29 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#44065/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  6 16:08:29 srv4hai dhcpd[30231]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr  6 16:08:29 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Apr  6 16:08:29 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr  6 16:08:29 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=6.800000&hum=32.300000&id=C049EF8AC9D8&batt=72&volt=5.440000
Apr  6 16:08:29 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2025/04/shelly-39_20250406.csv'
Apr  6 16:08:29 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr  6 16:08:29 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr  6 16:08:29 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  6 16:08:29 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr  6 16:08:29 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  6 16:08:29 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  6 16:08:29 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr  6 16:08:29 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  6 16:08:29 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr  6 16:08:29 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 6.8° - 32.3%
Apr  6 16:08:29 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 6.8°/7° - 32.3%/31.9% - SAVED
Apr  6 16:08:29 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='70'°
Apr  6 16:08:29 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO=''°
Apr  6 16:08:58 srv4hai mqtt_process[1874]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:08:58 srv4hai mqtt_process[1899]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:09:00 srv4hai mqtt_process[1924]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  6 16:09:00 srv4hai mqtt_process[1949]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:09:00 srv4hai mqtt_process[1974]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:09:01 srv4hai CRON[2001]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 16:09:01 srv4hai CRON[2002]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr  6 16:09:01 srv4hai systemd[1]: Starting Clean php session files...
Apr  6 16:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr  6 16:09:02 srv4hai systemd[1]: Started Clean php session files.
Apr  6 16:09:15 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  6 16:09:15 srv4hai fetchmail[1651]: 67217 messages (67217 seen) for tmiglinci at mail.akis.at (1239172813 octets).
Apr  6 16:09:16 srv4hai fetchmail[1651]: 11803 messages (11803 seen) for srozum at mail.akis.at (1392222807 octets).
Apr  6 16:09:16 srv4hai fetchmail[1651]: 30103 messages (30103 seen) for mrozum at mail.akis.at (897139833 octets).
Apr  6 16:09:17 srv4hai fetchmail[1651]: 1166 messages (1166 seen) for admin@bastelstube.wien at pop3.world4you.com (52256796 octets).
Apr  6 16:09:28 srv4hai ping_SP[26464]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743948568 - 'ping_SP_0'
Apr  6 16:09:28 srv4hai ping_SP[26464]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 16:09:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2127, secured, session=
Apr  6 16:09:38 srv4hai dovecot: imap(miglincit)<2127>: Logged out in=1535 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  6 16:09:39 srv4hai kernel: [89926680.832777] CPU4: Package temperature/speed normal
Apr  6 16:09:39 srv4hai kernel: [89926680.832779] CPU5: Package temperature/speed normal
Apr  6 16:09:39 srv4hai kernel: [89926680.832780] CPU6: Package temperature/speed normal
Apr  6 16:09:39 srv4hai kernel: [89926680.832781] CPU1: Package temperature/speed normal
Apr  6 16:09:39 srv4hai kernel: [89926680.832782] CPU3: Package temperature/speed normal
Apr  6 16:09:39 srv4hai kernel: [89926680.832783] CPU7: Package temperature/speed normal
Apr  6 16:09:39 srv4hai kernel: [89926680.832784] CPU0: Package temperature/speed normal
Apr  6 16:09:39 srv4hai kernel: [89926680.832785] CPU2: Package temperature/speed normal
Apr  6 16:09:58 srv4hai mqtt_process[2133]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:09:58 srv4hai mqtt_process[2158]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:10:00 srv4hai mqtt_process[2184]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  6 16:10:00 srv4hai mqtt_process[2209]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:10:00 srv4hai mqtt_process[2234]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:10:01 srv4hai CRON[2261]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 16:10:01 srv4hai CRON[2265]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  6 16:10:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  6 16:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  6 16:10:01 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Apr  6 16:10:01 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Apr  6 16:10:01 srv4hai meter.sh: SHELLY meter.sh ended
Apr  6 16:10:01 srv4hai postfix/pickup[27450]: 913EA63463: uid=33 from=
Apr  6 16:10:01 srv4hai postfix/cleanup[2413]: 913EA63463: message-id=<20250406141001.913EA63463@mail.viehai.at>
Apr  6 16:10:01 srv4hai postfix/qmgr[8566]: 913EA63463: from=, size=663, nrcpt=1 (queue active)
Apr  6 16:10:01 srv4hai postfix/local[2415]: 913EA63463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  6 16:10:01 srv4hai postfix/qmgr[8566]: 913EA63463: removed
Apr  6 16:10:41 srv4hai ping_SP[26464]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743948641 - 'ping_SP_0'
Apr  6 16:10:41 srv4hai ping_SP[26464]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  6 16:10:58 srv4hai mqtt_process[2454]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:10:58 srv4hai mqtt_process[2479]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:11:00 srv4hai mqtt_process[2510]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  6 16:11:00 srv4hai mqtt_process[2538]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:11:00 srv4hai mqtt_process[2563]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  6 16:11:01 srv4hai CRON[2589]: (root) CMD (/etc/linetest/linetest.sh)
Apr  6 16:11:07 srv4hai kernel: [89926768.402837] CPU5: Core temperature above threshold, cpu clock throttled (total events = 622979281)
Apr  6 16:11:07 srv4hai kernel: [89926768.402838] CPU1: Core temperature above threshold, cpu clock throttled (total events = 622979281)
Apr  6 16:11:34 srv4hai activate_scenario[2598]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  6 16:11:34 srv4hai activate_scenario[2598]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished