activate_scenario.sh
Mon Apr 1 20:23:54 CEST 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 20:23:54.235
http://192.168.12.108/relay/0?turn=toggle |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:23:54.503
Dauer: 268 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 20:23:54.247
http://192.168.12.140/relay/0?turn=toggle |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:23:54.288
Dauer: 41 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 2
vorher : 20:23:54.210
nachher: 20:23:54.511
Dauer : 301 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/01//scene_buero_UM_20240401_202354.txt'
Apr 1 20:20:01 srv4hai CRON[16850]: (root) CMD (/etc/linetest/linetest.sh) Apr 1 20:20:01 srv4hai CRON[16851]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Apr 1 20:20:01 srv4hai common[16853]: SHELLY common.sh inkludiert Apr 1 20:20:01 srv4hai meter.sh: SHELLY meter.sh started Apr 1 20:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Apr 1 20:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Apr 1 20:20:05 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 1 20:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Apr 1 20:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Apr 1 20:20:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Apr 1 20:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Apr 1 20:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Apr 1 20:20:11 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 1 20:20:11 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Apr 1 20:20:13 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 1 20:20:16 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 1 20:20:16 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Apr 1 20:20:16 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Apr 1 20:20:16 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Apr 1 20:20:16 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Apr 1 20:20:16 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Apr 1 20:20:19 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Apr 1 20:20:19 srv4hai common[16853]: SHELLY common.sh inkludiert Apr 1 20:20:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcOFF' Apr 1 20:20:19 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs Apr 1 20:20:19 srv4hai meter.sh: SHELLY meter.sh ended Apr 1 20:20:19 srv4hai postfix/pickup[9897]: 8CE8E60245: uid=33 from=Apr 1 20:20:19 srv4hai postfix/cleanup[17746]: 8CE8E60245: message-id=<20240401182019.8CE8E60245@mail.viehai.at> Apr 1 20:20:19 srv4hai postfix/qmgr[15291]: 8CE8E60245: from= , size=895, nrcpt=1 (queue active) Apr 1 20:20:19 srv4hai postfix/local[17748]: 8CE8E60245: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 1 20:20:19 srv4hai postfix/qmgr[15291]: 8CE8E60245: removed Apr 1 20:20:23 srv4hai dhcpd[5037]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0 Apr 1 20:20:23 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0 Apr 1 20:20:23 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 1 20:20:23 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.123 Apr 1 20:20:23 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-23 Apr 1 20:20:23 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0 Apr 1 20:20:23 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0 Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c1490e0 192.168.12.252#57487/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#45333/key rndc-key: signer "rndc-key" approved Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#45333/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#45333/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416" Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#45333/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#45333/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123 Apr 1 20:20:23 srv4hai dhcpd[5037]: Added new forward map from shelly-23.viehai.at to 192.168.12.123 Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#37611/key rndc-key: signer "rndc-key" approved Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#37611/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR Apr 1 20:20:23 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#37611/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at. Apr 1 20:20:23 srv4hai dhcpd[5037]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at Apr 1 20:20:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-23' - shIP/2:'192.168.12.123' Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123' Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING Apr 1 20:20:25 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING Apr 1 20:20:28 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1711995628 - 'ping_SP_0' Apr 1 20:20:28 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 1 20:20:48 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=17925, secured, session= Apr 1 20:20:48 srv4hai dovecot: imap(miglincit)<17925> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 1 20:21:01 srv4hai CRON[17936]: (root) CMD (/etc/linetest/linetest.sh) Apr 1 20:21:42 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1711995702 - 'ping_SP_0' Apr 1 20:21:42 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 1 20:22:01 srv4hai CRON[17998]: (root) CMD (/etc/linetest/linetest.sh) Apr 1 20:22:23 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 1 20:22:24 srv4hai fetchmail[1651]: 41062 messages (41062 seen) for tmiglinci at mail.akis.at (-874264585 octets). Apr 1 20:22:24 srv4hai fetchmail[1651]: 10077 messages (10077 seen) for srozum at mail.akis.at (1216602893 octets). Apr 1 20:22:25 srv4hai fetchmail[1651]: 22584 messages (22584 seen) for mrozum at mail.akis.at (-383880879 octets). Apr 1 20:22:25 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 1 20:22:55 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1711995775 - 'ping_SP_0' Apr 1 20:22:55 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 1 20:23:01 srv4hai CRON[18077]: (root) CMD (/etc/linetest/linetest.sh) Apr 1 20:23:40 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 1 20:23:40 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 1 20:23:40 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 1 20:23:40 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139 Apr 1 20:23:40 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39 Apr 1 20:23:40 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 1 20:23:40 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 1 20:23:40 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#38473/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57001/key rndc-key: signer "rndc-key" approved Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57001/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57001/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57001/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#57001/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 1 20:23:40 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#60713/key rndc-key: signer "rndc-key" approved Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#60713/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Apr 1 20:23:40 srv4hai named[15509]: client @0x7f9314001390 192.168.12.252#60713/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 1 20:23:40 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 1 20:23:40 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 1 20:23:41 srv4hai grab_shelly.sh: SHELLY 'shelly-39': OFFLINE, resp. not answering within connect-timeout 1.500000s Apr 1 20:23:47 srv4hai common[18142]: SHELLY common.sh inkludiert Apr 1 20:23:47 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=14.900000&hum=55.400000&id=C049EF8AC9D8&batt=100&volt=6.710000 Apr 1 20:23:47 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240401.csv' Apr 1 20:23:47 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 1 20:23:47 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 1 20:23:47 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 1 20:23:48 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 '.'' Apr 1 20:23:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 1 20:23:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 1 20:23:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 14.9° - 55.4% Apr 1 20:23:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 14.9°/16° - 55.4%/50.9% - SAVED Apr 1 20:23:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Apr 1 20:23:48 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=18236, secured, session= Apr 1 20:23:48 srv4hai dovecot: imap(miglincit)<18236> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 1 20:23:48 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-04-01T18:23:48.566Z",#012 "content": {#012 "temp": 14.9,#012 "hum": 55.4,#012 "batt": 100,#012 "csvF": "shelly-39_20240401.csv"#012 },#012 "transaction": "0e8bee75-183f-41e8-9200-3f8865512cec"#012 }#012}'° Apr 1 20:23:54 srv4hai activate_scenario[18245]: SHELLY scenario: 'buero_UM(buero_um)' started Apr 1 20:23:54 srv4hai activate_scenario[18245]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished