activate_scenario.sh
Wed Mar 27 05:53:31 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

'day' <--> 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/27/_0.log)

vorher: 05:53:32.047

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

nachher: 05:53:32.163
Dauer: 116 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 05:53:32.060

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

nachher: 05:53:32.163
Dauer: 102 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 05:53:32.025
nachher: 05:53:32.171
Dauer : 146 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/27//scene_nasszeile_um_20240327_055331.txt'


syslog

Mar 27 05:50:01 srv4hai CRON[32502]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 05:50:01 srv4hai CRON[32503]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 27 05:50:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 27 05:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:18 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 27 05:50:18 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar 27 05:50:18 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar 27 05:50:18 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar 27 05:50:18 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#33763/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#57249/key rndc-key: signer "rndc-key" approved
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#57249/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#57249/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#57249/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#57249/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar 27 05:50:18 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46337/key rndc-key: signer "rndc-key" approved
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46337/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar 27 05:50:18 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#46337/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.
Mar 27 05:50:18 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar 27 05:50:18 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar 27 05:50:18 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar 27 05:50:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:22 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:35 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:40 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:43 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:48 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:53 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:58 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 05:50:58 srv4hai meter.sh: SHELLY meter.sh ended
Mar 27 05:50:58 srv4hai postfix/pickup[26273]: C4CDA6027D: uid=33 from=
Mar 27 05:50:58 srv4hai postfix/cleanup[571]: C4CDA6027D: message-id=<20240327045058.C4CDA6027D@mail.viehai.at>
Mar 27 05:50:58 srv4hai postfix/qmgr[15291]: C4CDA6027D: from=, size=654, nrcpt=1 (queue active)
Mar 27 05:50:58 srv4hai postfix/local[573]: C4CDA6027D: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 27 05:50:58 srv4hai postfix/qmgr[15291]: C4CDA6027D: removed
Mar 27 05:51:01 srv4hai CRON[576]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 05:51:07 srv4hai ping_SP[24083]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711515067 - 'ping_SP_0'
Mar 27 05:51:07 srv4hai ping_SP[24083]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 27 05:51:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=603, secured, session=
Mar 27 05:51:37 srv4hai dovecot: imap(miglincit)<603>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 05:52:01 srv4hai CRON[606]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 05:52:18 srv4hai postfix/anvil[32434]: statistics: max connection rate 1/60s for (smtp:109.206.237.234) at Mar 27 05:47:50
Mar 27 05:52:18 srv4hai postfix/anvil[32434]: statistics: max connection count 1 for (smtp:109.206.237.234) at Mar 27 05:47:50
Mar 27 05:52:18 srv4hai postfix/anvil[32434]: statistics: max cache size 1 at Mar 27 05:47:50
Mar 27 05:52:20 srv4hai ping_SP[24083]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711515140 - 'ping_SP_0'
Mar 27 05:52:20 srv4hai ping_SP[24083]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 27 05:53:01 srv4hai CRON[637]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 05:53:08 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Mar 27 05:53:08 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 27 05:53:08 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 27 05:53:08 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Mar 27 05:53:08 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Mar 27 05:53:08 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Mar 27 05:53:08 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f93100604b0 192.168.12.252#51873/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#34805/key rndc-key: signer "rndc-key" approved
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#34805/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#34805/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#34805/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#34805/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Mar 27 05:53:08 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#44607/key rndc-key: signer "rndc-key" approved
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#44607/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Mar 27 05:53:08 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#44607/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 27 05:53:08 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Mar 27 05:53:08 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar 27 05:53:10 srv4hai grab_shelly.sh: SHELLY 'shelly-39':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Mar 27 05:53:15 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=9.400000&hum=54.800000&id=C049EF8AC9D8&batt=100&volt=6.700000
Mar 27 05:53:15 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240327.csv'
Mar 27 05:53:15 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Mar 27 05:53:15 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Mar 27 05:53:15 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 27 05:53:15 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 27 05:53:15 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Mar 27 05:53:15 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Mar 27 05:53:15 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 9.4° - 54.8%
Mar 27 05:53:15 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 9.4°/9.9° - 54.8%/50.9% - SAVED
Mar 27 05:53:15 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Mar 27 05:53:16 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-27T04:53:16.216Z",#012    "content": {#012      "temp": 9.4,#012      "hum": 54.8,#012      "batt": 100#012    },#012    "transaction": "ac62a9f3-c880-479f-b0bc-f590ebfd5bb8"#012  }#012}'°
Mar 27 05:53:32 srv4hai activate_scenario[760]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Mar 27 05:53:32 srv4hai activate_scenario[760]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished