activate_scenario.sh
Sun Apr 14 09:40:01 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128
vorher: 09:40:02.082
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": 12.72, "overpower": false |
nachher: 09:40:02.228
Dauer: 147 msec
phName: 'shelly-28:'Schalter Nasszeile''
vorher: 09:40:02.096
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": 12.72, "overpower": false |
nachher: 09:40:02.226
Dauer: 130 msec
phName: 'shelly-28:'Schalter Nasszeile''
urls : 2
vorher : 09:40:02.051
nachher: 09:40:02.237
Dauer : 186 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/14//scene_nasszeile_um_20240414_094001.txt'
Apr 14 09:37:01 srv4hai CRON[28777]: (root) CMD (/etc/linetest/linetest.sh) Apr 14 09:37:16 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 14 09:37:16 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 14 09:37:16 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 14 09:37:16 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139 Apr 14 09:37:16 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39 Apr 14 09:37:16 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 14 09:37:16 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 14 09:37:16 srv4hai named[15509]: client @0x7f93100604b0 192.168.12.252#38697/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 14 09:37:16 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#57605/key rndc-key: signer "rndc-key" approved Apr 14 09:37:16 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#57605/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 14 09:37:16 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#57605/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 14 09:37:16 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#57605/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 14 09:37:16 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#57605/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 14 09:37:16 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 14 09:37:16 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#41497/key rndc-key: signer "rndc-key" approved Apr 14 09:37:16 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#41497/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Apr 14 09:37:16 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#41497/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 14 09:37:16 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 14 09:37:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 14 09:37:16 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 14 09:37:16 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 14 09:37:16 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 14 09:37:16 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 14 09:37:16 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 14 09:37:17 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 14 09:37:19 srv4hai common[28837]: SHELLY common.sh inkludiert von ./ht_shelly.sh Apr 14 09:37:19 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=20.300000&hum=48.400000&id=C049EF8AC9D8&batt=100&volt=6.770000 Apr 14 09:37:19 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240414.csv' Apr 14 09:37:19 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 14 09:37:19 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 14 09:37:19 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 14 09:37:19 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 14 09:37:19 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 14 09:37:19 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 14 09:37:19 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 20.3° - 48.4% Apr 14 09:37:19 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 20.3°/19.7° - 48.4%/49.6% - SAVED Apr 14 09:37:19 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Apr 14 09:37:20 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-14T07:37:20.394Z",#012 "content": {#012 "temp": 20.3,#012 "hum": 48.4,#012 "batt": 100,#012 "csvF": "shelly-39_20240414.csv"#012 },#012 "transaction": "88dae1d7-c794-46bf-bda4-76201099ed22"#012 }#012}'° Apr 14 09:37:29 srv4hai ping_SP[26360]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713080249 - 'ping_SP_1' Apr 14 09:37:29 srv4hai ping_SP[26360]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 14 09:38:00 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713080280 - 'ping_SP_0' Apr 14 09:38:00 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 14 09:38:01 srv4hai CRON[28984]: (root) CMD (/etc/linetest/linetest.sh) Apr 14 09:38:43 srv4hai ping_SP[26360]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713080323 - 'ping_SP_1' Apr 14 09:38:43 srv4hai ping_SP[26360]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 14 09:38:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29016, secured, session= Apr 14 09:38:53 srv4hai dovecot: imap(miglincit)<29016> : Logged out in=212 out=1286 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 14 09:39:00 srv4hai systemd[1]: Starting Clean php session files... Apr 14 09:39:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Apr 14 09:39:00 srv4hai systemd[1]: Started Clean php session files. Apr 14 09:39:01 srv4hai CRON[29113]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Apr 14 09:39:01 srv4hai CRON[29114]: (root) CMD (/etc/linetest/linetest.sh) Apr 14 09:39:13 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713080353 - 'ping_SP_0' Apr 14 09:39:13 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 14 09:39:50 srv4hai dhcpd[28085]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0 Apr 14 09:39:50 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Apr 14 09:39:50 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 14 09:39:50 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.102 Apr 14 09:39:50 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-02 Apr 14 09:39:50 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0 Apr 14 09:39:50 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Apr 14 09:39:50 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#49219/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 14 09:39:50 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#41705/key rndc-key: signer "rndc-key" approved Apr 14 09:39:50 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#41705/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT Apr 14 09:39:50 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#41705/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe" Apr 14 09:39:50 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#41705/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A Apr 14 09:39:50 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#41705/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102 Apr 14 09:39:50 srv4hai dhcpd[28085]: Added new forward map from shelly-02.viehai.at to 192.168.12.102 Apr 14 09:39:50 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#41983/key rndc-key: signer "rndc-key" approved Apr 14 09:39:50 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#41983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR Apr 14 09:39:50 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#41983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at. Apr 14 09:39:50 srv4hai dhcpd[28085]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at Apr 14 09:39:50 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-02' - shIP/2:'192.168.12.102' Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102' Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING Apr 14 09:39:51 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING Apr 14 09:39:56 srv4hai ping_SP[26360]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713080396 - 'ping_SP_1' Apr 14 09:39:56 srv4hai ping_SP[26360]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 14 09:40:01 srv4hai CRON[29286]: (root) CMD (/etc/linetest/linetest.sh) Apr 14 09:40:01 srv4hai CRON[29287]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Apr 14 09:40:01 srv4hai common[29288]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Apr 14 09:40:01 srv4hai meter.sh: SHELLY meter.sh started Apr 14 09:40:02 srv4hai activate_scenario[29350]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started Apr 14 09:40:02 srv4hai activate_scenario[29350]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
finished