activate_scenario.sh
Wed Jun 26 17:45:17 CEST 2024
scenario: pcOFF
source: 192.168.12.10
vorher: 17:45:17.593
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: 17:45:17.726
Dauer: 133 msec
phName: 'shelly-0:'''
urls : 1
vorher : 17:45:17.573
nachher: 17:45:17.734
Dauer : 160 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/26//scene_pcOFF_20240626_174517.txt'
Jun 26 17:42:01 srv4hai CRON[4664]: (root) CMD (/etc/linetest/linetest.sh) Jun 26 17:42:16 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Jun 26 17:42:34 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 26 17:42:35 srv4hai fetchmail[1651]: 47357 messages (47357 seen) for tmiglinci at mail.akis.at (-380424821 octets). Jun 26 17:42:35 srv4hai fetchmail[1651]: 10365 messages (10365 seen) for srozum at mail.akis.at (1247255188 octets). Jun 26 17:42:36 srv4hai fetchmail[1651]: 24366 messages (24366 seen) for mrozum at mail.akis.at (-57224316 octets). Jun 26 17:42:37 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets). Jun 26 17:43:01 srv4hai CRON[4686]: (root) CMD (/etc/linetest/linetest.sh) Jun 26 17:43:05 srv4hai ping_SP[28772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1719416585 - 'ping_SP_0' Jun 26 17:43:05 srv4hai ping_SP[28772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 26 17:44:01 srv4hai CRON[4721]: (root) CMD (/etc/linetest/linetest.sh) Jun 26 17:44:18 srv4hai ping_SP[28772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1719416658 - 'ping_SP_0' Jun 26 17:44:18 srv4hai ping_SP[28772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 26 17:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 46 to 44 Jun 26 17:45:00 srv4hai smartd[27489]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 94 to 92 Jun 26 17:45:00 srv4hai smartd[27489]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 95 to 94 Jun 26 17:45:01 srv4hai CRON[4756]: (root) CMD (/etc/linetest/linetest.sh) Jun 26 17:45:13 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jun 26 17:45:13 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 26 17:45:13 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jun 26 17:45:13 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Jun 26 17:45:13 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Jun 26 17:45:13 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jun 26 17:45:13 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 26 17:45:13 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#58505/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 26 17:45:13 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#59911/key rndc-key: signer "rndc-key" approved Jun 26 17:45:13 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#59911/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jun 26 17:45:13 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#59911/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jun 26 17:45:13 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#59911/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jun 26 17:45:13 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#59911/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jun 26 17:45:13 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jun 26 17:45:13 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#33057/key rndc-key: signer "rndc-key" approved Jun 26 17:45:13 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#33057/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jun 26 17:45:13 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#33057/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. Jun 26 17:45:13 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jun 26 17:45:13 srv4hai common[4764]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jun 26 17:45:13 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jun 26 17:45:13 srv4hai common[4777]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 26 17:45:13 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=28.300000&hum=52.800000&id=C049EF8AC9D8&batt=100&volt=6.790000 Jun 26 17:45:13 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240626.csv' Jun 26 17:45:13 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jun 26 17:45:13 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jun 26 17:45:13 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}' Jun 26 17:45:13 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 '.'' Jun 26 17:45:13 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jun 26 17:45:13 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jun 26 17:45:13 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 28.3° - 52.8% Jun 26 17:45:13 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 28.3°/28.8° - 52.8%/52.2% - SAVED Jun 26 17:45:13 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Jun 26 17:45:14 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-06-26T15:45:14.133Z",#012 "content": {#012 "temp": 28.3,#012 "hum": 52.8,#012 "batt": 100,#012 "csvF": "shelly-39_20240626.csv"#012 },#012 "transaction": "c4aab830-dbba-4905-a8e6-0f6a990fd32a"#012 }#012}'° Jun 26 17:45:14 srv4hai grab_shelly.sh: SHELLY 'shelly-39': OFFLINE, resp. not answering within timeout 1.500000s Jun 26 17:45:17 srv4hai activate_scenario[4879]: SHELLY scenario: 'pcOFF(pcoff)' started Jun 26 17:45:17 srv4hai activate_scenario[4879]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
finished