activate_scenario.sh
Fri Apr 11 10:51:21 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/11/_0.log)

vorher: 10:51:21.511

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: 10:51:21.586
Dauer: 74 msec phName: 'shelly-40:'TB Licht''


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

vorher: 10:51:21.547

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: 10:51:21.605
Dauer: 58 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 10:51:21.460
nachher: 10:51:21.618
Dauer : 158 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/11//scene_buero_UM_20250411_105121.txt'


syslog

Apr 11 10:48:00 srv4hai mqtt_process[29961]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:48:00 srv4hai mqtt_process[29986]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:48:01 srv4hai CRON[30012]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:48:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30026, secured, session=
Apr 11 10:48:26 srv4hai dovecot: imap(miglincit)<30026>: Logged out in=2179 out=172487 deleted=0 expunged=0 trashed=0 hdr_count=278 hdr_bytes=93122 body_count=0 body_bytes=0
Apr 11 10:48:31 srv4hai ping_SP[29367]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744361311 - 'ping_SP_0'
Apr 11 10:48:31 srv4hai ping_SP[29367]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 10:48:48 srv4hai mqtt_process[30042]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:48:48 srv4hai mqtt_process[30067]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:48:59 srv4hai mqtt_process[30093]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:48:59 srv4hai mqtt_process[30118]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:49:00 srv4hai mqtt_process[30143]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:49:01 srv4hai CRON[30169]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:49:18 srv4hai dhcpd[30231]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr 11 10:49:18 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 11 10:49:18 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 11 10:49:18 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.139
Apr 11 10:49:18 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-39
Apr 11 10:49:18 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:49:18 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 11 10:49:18 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#45649/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:49:18 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#37423/key rndc-key: signer "rndc-key" approved
Apr 11 10:49:18 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#37423/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr 11 10:49:18 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#37423/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr 11 10:49:18 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#37423/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr 11 10:49:18 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#37423/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr 11 10:49:18 srv4hai dhcpd[30231]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr 11 10:49:18 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#51887/key rndc-key: signer "rndc-key" approved
Apr 11 10:49:18 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#51887/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:49:18 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#51887/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:49:18 srv4hai dhcpd[30231]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr 11 10:49:18 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Apr 11 10:49:18 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 11 10:49:18 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=14.800000&hum=39.700000&id=C049EF8AC9D8&batt=68&volt=5.380000
Apr 11 10:49:18 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2025/04/shelly-39_20250411.csv'
Apr 11 10:49:18 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20250411.csv' modifed 375s ago - EXIT
Apr 11 10:49:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 11 10:49:18 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:49:19 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:49:19 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 11 10:49:44 srv4hai ping_SP[29367]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744361384 - 'ping_SP_0'
Apr 11 10:49:44 srv4hai ping_SP[29367]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 10:49:48 srv4hai mqtt_process[30294]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:49:48 srv4hai mqtt_process[30319]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:49:57 srv4hai kernel: [90339503.893258] CPU4: Package temperature/speed normal
Apr 11 10:49:57 srv4hai kernel: [90339503.893259] CPU7: Package temperature/speed normal
Apr 11 10:49:57 srv4hai kernel: [90339503.893260] CPU6: Package temperature/speed normal
Apr 11 10:49:57 srv4hai kernel: [90339503.893262] CPU1: Package temperature/speed normal
Apr 11 10:49:57 srv4hai kernel: [90339503.893263] CPU2: Package temperature/speed normal
Apr 11 10:49:57 srv4hai kernel: [90339503.893263] CPU5: Package temperature/speed normal
Apr 11 10:49:57 srv4hai kernel: [90339503.893264] CPU0: Package temperature/speed normal
Apr 11 10:49:57 srv4hai kernel: [90339503.893265] CPU3: Package temperature/speed normal
Apr 11 10:50:00 srv4hai mqtt_process[30345]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:50:00 srv4hai mqtt_process[30370]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:50:00 srv4hai mqtt_process[30396]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:50:01 srv4hai CRON[30442]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 11 10:50:01 srv4hai CRON[30443]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:50:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 11 10:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 11 10:50:01 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Apr 11 10:50:01 srv4hai check_shelly.sh: SHELLY found '10' active shelly outputs
Apr 11 10:50:01 srv4hai meter.sh: SHELLY meter.sh ended
Apr 11 10:50:01 srv4hai postfix/pickup[28904]: B5D4F63463: uid=33 from=
Apr 11 10:50:01 srv4hai postfix/cleanup[30570]: B5D4F63463: message-id=<20250411085001.B5D4F63463@mail.viehai.at>
Apr 11 10:50:01 srv4hai postfix/qmgr[8566]: B5D4F63463: from=, size=663, nrcpt=1 (queue active)
Apr 11 10:50:01 srv4hai postfix/local[30572]: B5D4F63463: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 11 10:50:01 srv4hai postfix/qmgr[8566]: B5D4F63463: removed
Apr 11 10:50:48 srv4hai mqtt_process[30585]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:50:48 srv4hai mqtt_process[30610]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:50:57 srv4hai ping_SP[29367]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744361457 - 'ping_SP_0'
Apr 11 10:50:57 srv4hai ping_SP[29367]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 10:50:59 srv4hai mqtt_process[30650]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:50:59 srv4hai mqtt_process[30675]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 11 10:51:00 srv4hai mqtt_process[30700]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 11 10:51:01 srv4hai CRON[30726]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 10:51:21 srv4hai activate_scenario[30735]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 11 10:51:21 srv4hai activate_scenario[30735]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished