activate_scenario.sh
Fri Jun 7 09:24:01 CEST 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 09:24:02.032
http://192.168.12.101/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 09:24:02.183
Dauer: 151 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.047
http://192.168.12.102/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 09:24:02.074
Dauer: 27 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.064
http://192.168.12.103/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 09:24:02.092
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.078
http://192.168.12.105/relay/0?turn=off |
---|
nachher: 09:24:05.139
Dauer: 3061 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.093
http://192.168.12.106/relay/0?turn=off |
---|
nachher: 09:24:05.171
Dauer: 3078 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.108
http://192.168.12.107/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:24:02.133
Dauer: 25 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.120
http://192.168.12.108/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:24:02.151
Dauer: 31 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.135
http://192.168.12.109/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 09:24:02.169
Dauer: 35 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.148
http://192.168.12.110/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 09:24:02.172
Dauer: 23 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.161
http://192.168.12.140/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:24:02.193
Dauer: 32 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.175
http://192.168.12.112/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 09:24:02.202
Dauer: 27 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.190
http://192.168.12.116/white/0?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 0, "overpower": false |
nachher: 09:24:02.218
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.205
http://192.168.12.116/white/1?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 0, "overpower": false |
nachher: 09:24:02.234
Dauer: 29 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.220
http://192.168.12.117/white/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 09:24:02.245
Dauer: 26 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.234
http://192.168.12.117/white/1?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 09:24:02.288
Dauer: 53 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.250
http://192.168.12.119/relay/0?turn=off |
---|
nachher: 09:24:05.331
Dauer: 3082 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.262
http://192.168.12.123/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:24:02.289
Dauer: 26 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.275
http://192.168.12.124/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:24:02.312
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:24:02.287
http://192.168.12.125/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:24:02.415
Dauer: 128 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 09:24:02.008
nachher: 09:24:05.341
Dauer : 3333 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/07//scene_homeOffice_20240607_092401.txt'
Jun 7 09:21:01 srv4hai CRON[5059]: (root) CMD (/etc/linetest/linetest.sh) Jun 7 09:21:53 srv4hai ping_SP[7650]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717744913 - 'ping_SP_0' Jun 7 09:21:53 srv4hai ping_SP[7650]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 7 09:21:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5094, secured, session= Jun 7 09:21:54 srv4hai dovecot: imap(miglincit)<5094> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jun 7 09:22:01 srv4hai CRON[5096]: (root) CMD (/etc/linetest/linetest.sh) Jun 7 09:22:15 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 7 09:22:15 srv4hai fetchmail[1651]: 45904 messages (45904 seen) for tmiglinci at mail.akis.at (-504613451 octets). Jun 7 09:22:16 srv4hai fetchmail[1651]: 10299 messages (10299 seen) for srozum at mail.akis.at (1239059735 octets). Jun 7 09:22:16 srv4hai fetchmail[1651]: 23932 messages (23932 seen) for mrozum at mail.akis.at (-166328466 octets). Jun 7 09:22:17 srv4hai fetchmail[1651]: 91 messages (91 seen) for admin@bastelstube.wien at pop3.world4you.com (37068963 octets). Jun 7 09:23:01 srv4hai CRON[5114]: (root) CMD (/etc/linetest/linetest.sh) Jun 7 09:23:06 srv4hai ping_SP[7650]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717744986 - 'ping_SP_0' Jun 7 09:23:06 srv4hai ping_SP[7650]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 7 09:23:36 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jun 7 09:23:36 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 7 09:23:36 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jun 7 09:23:36 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Jun 7 09:23:36 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Jun 7 09:23:36 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jun 7 09:23:36 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 7 09:23:36 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#54625/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 7 09:23:36 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56903/key rndc-key: signer "rndc-key" approved Jun 7 09:23:36 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jun 7 09:23:36 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jun 7 09:23:36 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jun 7 09:23:36 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jun 7 09:23:36 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jun 7 09:23:36 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#49411/key rndc-key: signer "rndc-key" approved Jun 7 09:23:36 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#49411/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jun 7 09:23:36 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#49411/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 7 09:23:36 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jun 7 09:23:36 srv4hai common[5136]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jun 7 09:23:36 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jun 7 09:23:36 srv4hai common[5148]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 7 09:23:36 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=21.800000&hum=71.500000&id=C049EF8AC9D8&batt=100&volt=6.790000 Jun 7 09:23:36 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240607.csv' Jun 7 09:23:36 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jun 7 09:23:36 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jun 7 09:23:36 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jun 7 09:23:36 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jun 7 09:23:36 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 7 09:23:36 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 7 09:23:36 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 7 09:23:36 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 7 09:23:36 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jun 7 09:23:36 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jun 7 09:23:36 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jun 7 09:23:36 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jun 7 09:23:36 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21.8° - 71.5% Jun 7 09:23:36 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21.8°/21.3° - 71.5%/72.7% - SAVED Jun 7 09:23:36 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Jun 7 09:23:37 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-07T07:23:37.294Z",#012 "content": {#012 "temp": 21.8,#012 "hum": 71.5,#012 "batt": 100,#012 "csvF": "shelly-39_20240607.csv"#012 },#012 "transaction": "05050f08-6e72-4692-856a-d1e2b1ae6771"#012 }#012}'° Jun 7 09:24:01 srv4hai CRON[5304]: (root) CMD (/etc/linetest/linetest.sh) Jun 7 09:24:01 srv4hai activate_scenario[5309]: SHELLY scenario: 'homeOffice(homeoffice)' started Jun 7 09:24:01 srv4hai activate_scenario[5309]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished