activate_scenario.sh
Wed Mar 6 20:33:57 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/06/_0.log)

vorher: 20:33:57.285

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.91,
  "overpower": false

nachher: 20:33:57.440
Dauer: 154 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/06/_1.log)

vorher: 20:33:57.302

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 7.91,
  "overpower": false

nachher: 20:33:57.440
Dauer: 138 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 20:33:57.258
nachher: 20:33:57.448
Dauer : 190 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/06//scene_nasszeile_um_20240306_203357.txt'


syslog

Mar  6 20:30:01 srv4hai CRON[14750]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Mar  6 20:30:01 srv4hai CRON[14752]: (root) CMD (/etc/linetest/linetest.sh)
Mar  6 20:30:01 srv4hai CRON[14751]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  6 20:30:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  6 20:30:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:20 srv4hai ping_SP[30674]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709753420 - 'ping_SP_0'
Mar  6 20:30:20 srv4hai ping_SP[30674]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  6 20:30:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:44 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:46 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:49 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:51 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:54 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:57 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:30:59 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:31:01 srv4hai CRON[15275]: (root) CMD (/etc/linetest/linetest.sh)
Mar  6 20:31:01 srv4hai systemd[1]: Started Run anacron jobs.
Mar  6 20:31:01 srv4hai anacron[15277]: Anacron 2.3 started on 2024-03-06
Mar  6 20:31:01 srv4hai anacron[15277]: Normal exit (0 jobs run)
Mar  6 20:31:01 srv4hai systemd[1]: anacron.service: Succeeded.
Mar  6 20:31:02 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  6 20:31:02 srv4hai meter.sh: SHELLY meter.sh ended
Mar  6 20:31:02 srv4hai postfix/pickup[5811]: 22A74602B8: uid=33 from=
Mar  6 20:31:02 srv4hai postfix/cleanup[15296]: 22A74602B8: message-id=<20240306193102.22A74602B8@mail.viehai.at>
Mar  6 20:31:02 srv4hai postfix/qmgr[15291]: 22A74602B8: from=, size=654, nrcpt=1 (queue active)
Mar  6 20:31:02 srv4hai postfix/local[15298]: 22A74602B8: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  6 20:31:02 srv4hai postfix/qmgr[15291]: 22A74602B8: removed
Mar  6 20:31:33 srv4hai ping_SP[30674]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709753493 - 'ping_SP_0'
Mar  6 20:31:33 srv4hai ping_SP[30674]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  6 20:31:58 srv4hai postfix/anvil[14690]: statistics: max connection rate 1/60s for (smtp:193.222.96.70) at Mar  6 20:28:37
Mar  6 20:31:58 srv4hai postfix/anvil[14690]: statistics: max connection count 1 for (smtp:193.222.96.70) at Mar  6 20:28:37
Mar  6 20:31:58 srv4hai postfix/anvil[14690]: statistics: max cache size 1 at Mar  6 20:28:37
Mar  6 20:32:01 srv4hai CRON[15334]: (root) CMD (/etc/linetest/linetest.sh)
Mar  6 20:32:46 srv4hai ping_SP[30674]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709753566 - 'ping_SP_0'
Mar  6 20:32:46 srv4hai ping_SP[30674]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  6 20:33:00 srv4hai postfix/smtpd[15372]: connect from unknown[193.222.96.116]
Mar  6 20:33:00 srv4hai postfix/smtpd[15372]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Mar  6 20:33:01 srv4hai CRON[15376]: (root) CMD (/etc/linetest/linetest.sh)
Mar  6 20:33:02 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Mar  6 20:33:02 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar  6 20:33:02 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  6 20:33:02 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Mar  6 20:33:02 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Mar  6 20:33:02 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Mar  6 20:33:02 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f9318034020 192.168.12.252#50121/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#49789/key rndc-key: signer "rndc-key" approved
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#49789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#49789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#49789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#49789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Mar  6 20:33:02 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#52131/key rndc-key: signer "rndc-key" approved
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#52131/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Mar  6 20:33:02 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#52131/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.
Mar  6 20:33:02 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Mar  6 20:33:02 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Mar  6 20:33:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=10.300000&hum=50&id=C049EF8AC9D8&batt=100&volt=6.700000
Mar  6 20:33:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240306.csv'
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Mar  6 20:33:02 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}'
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Mar  6 20:33:02 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}'
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -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 '.''
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -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 '.''
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Mar  6 20:33:02 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Mar  6 20:33:02 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 10.3° - 50%
Mar  6 20:33:02 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 10.3°/10.8° - 50%/49.9% - SAVED
Mar  6 20:33:02 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Mar  6 20:33:02 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-39",#012    "created": "2024-03-06T19:33:02.905Z",#012    "content": {#012      "temp": 10.3,#012      "hum": 50,#012      "batt": 100#012    },#012    "transaction": "4b4c6e78-1350-44d8-9dda-56376ea4c91c"#012  }#012}'°
Mar  6 20:33:57 srv4hai activate_scenario[15630]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Mar  6 20:33:57 srv4hai activate_scenario[15630]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished