activate_scenario.sh
Thu Feb 29 13:21:24 CET 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/02/29/_0.log)

vorher: 13:21:24.135

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 13:21:24.168
Dauer: 32 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 13:21:24.094
nachher: 13:21:24.174
Dauer : 81 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/29//scene_pcOFF_20240229_132124.txt'


syslog

Feb 29 13:18:01 srv4hai CRON[3411]: (root) CMD (/etc/linetest/linetest.sh)
Feb 29 13:18:29 srv4hai postfix/anvil[3301]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 29 13:15:09
Feb 29 13:18:29 srv4hai postfix/anvil[3301]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 29 13:15:09
Feb 29 13:18:29 srv4hai postfix/anvil[3301]: statistics: max cache size 1 at Feb 29 13:15:09
Feb 29 13:18:49 srv4hai ping_SP[25226]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709209129 - 'ping_SP_0'
Feb 29 13:18:49 srv4hai ping_SP[25226]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 29 13:18:50 srv4hai named[14530]: resolver priming query complete
Feb 29 13:19:01 srv4hai CRON[3444]: (root) CMD (/etc/linetest/linetest.sh)
Feb 29 13:19:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3468, secured, session=
Feb 29 13:19:53 srv4hai dovecot: imap(miglincit)<3468>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 29 13:19:57 srv4hai named[14530]: resolver priming query complete
Feb 29 13:20:01 srv4hai CRON[3472]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 29 13:20:01 srv4hai CRON[3473]: (root) CMD (/etc/linetest/linetest.sh)
Feb 29 13:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 29 13:20:02 srv4hai ping_SP[25226]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709209202 - 'ping_SP_0'
Feb 29 13:20:02 srv4hai ping_SP[25226]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 29 13:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:24 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:29 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:40 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 29 13:20:40 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 29 13:20:40 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 29 13:20:40 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 29 13:20:40 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 29 13:20:40 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 29 13:20:40 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc31c026bf0 192.168.12.252#53387/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#53011/key rndc-key: signer "rndc-key" approved
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#53011/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#53011/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#53011/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#53011/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 29 13:20:40 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc32813a950 192.168.12.252#57861/key rndc-key: signer "rndc-key" approved
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc32813a950 192.168.12.252#57861/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 29 13:20:40 srv4hai named[14530]: client @0x7fc32813a950 192.168.12.252#57861/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 29 13:20:40 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 29 13:20:40 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 29 13:20:41 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.88&id=shellyht-00B358
Feb 29 13:20:41 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv'
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 29 13:20:41 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 29 13:20:41 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.88° - 41%
Feb 29 13:20:41 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.88°/22.62° - 41%/41% - SAVED
Feb 29 13:20:41 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 29 13:20:41 srv4hai named[14530]: resolver priming query complete
Feb 29 13:20:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:42 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-29T12:20:41.947Z",#012    "content": {#012      "temp": 22.88,#012      "hum": 41,#012      "batt": 91#012    },#012    "transaction": "415d460e-46c2-4e4c-acc3-f0e9ee2fe129"#012  }#012}'°
Feb 29 13:20:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:46 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.88&id=shellyht-00B358
Feb 29 13:20:46 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv'
Feb 29 13:20:46 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv' modifed 5s ago - EXIT
Feb 29 13:20:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:51 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.88&id=shellyht-00B358
Feb 29 13:20:51 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv'
Feb 29 13:20:51 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv' modifed 10s ago - EXIT
Feb 29 13:20:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:56 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.88&id=shellyht-00B358
Feb 29 13:20:56 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv'
Feb 29 13:20:56 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv' modifed 15s ago - EXIT
Feb 29 13:20:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:20:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 29 13:21:00 srv4hai meter.sh: SHELLY meter.sh ended
Feb 29 13:21:00 srv4hai CRON[4306]: (root) CMD (/etc/linetest/linetest.sh)
Feb 29 13:21:00 srv4hai postfix/pickup[29320]: 0789460244: uid=33 from=
Feb 29 13:21:00 srv4hai postfix/cleanup[4304]: 0789460244: message-id=<20240229122100.0789460244@mail.viehai.at>
Feb 29 13:21:00 srv4hai postfix/qmgr[28610]: 0789460244: from=, size=654, nrcpt=1 (queue active)
Feb 29 13:21:00 srv4hai postfix/local[4311]: 0789460244: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 29 13:21:00 srv4hai postfix/qmgr[28610]: 0789460244: removed
Feb 29 13:21:01 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.88&id=shellyht-00B358
Feb 29 13:21:01 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv'
Feb 29 13:21:01 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv' modifed 20s ago - EXIT
Feb 29 13:21:03 srv4hai named[14530]: resolver priming query complete
Feb 29 13:21:06 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.88&id=shellyht-00B358
Feb 29 13:21:06 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv'
Feb 29 13:21:06 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240229.csv' modifed 25s ago - EXIT
Feb 29 13:21:15 srv4hai ping_SP[25226]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709209275 - 'ping_SP_0'
Feb 29 13:21:15 srv4hai ping_SP[25226]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 29 13:21:24 srv4hai activate_scenario[4372]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 29 13:21:24 srv4hai activate_scenario[4372]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished