activate_scenario.sh
Fri Dec 20 06:25:30 CET 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 06:25:30.248
http://192.168.12.108/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 06:25:30.276
Dauer: 29 msec
phName: 'shelly-40:'TB Licht''
vorher: 06:25:30.263
http://192.168.12.140/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 06:25:30.334
Dauer: 70 msec
phName: 'shelly-40:'TB Licht''
urls : 2
vorher : 06:25:30.209
nachher: 06:25:30.340
Dauer : 133 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/20//scene_buero_UM_20241220_062530.txt'
Dec 20 06:22:01 srv4hai CRON[32716]: (root) CMD (/etc/linetest/linetest.sh) Dec 20 06:22:28 srv4hai ping_SP[31217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1734672148 - 'ping_SP_0' Dec 20 06:22:28 srv4hai ping_SP[31217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 20 06:22:32 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 20 06:22:32 srv4hai mosquitto[29419]: Socket error on client, disconnecting. Dec 20 06:22:47 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Dec 20 06:22:47 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Dec 20 06:22:47 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Dec 20 06:22:47 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139 Dec 20 06:22:47 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39 Dec 20 06:22:47 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Dec 20 06:22:47 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Dec 20 06:22:47 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#60305/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Dec 20 06:22:47 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#53531/key rndc-key: signer "rndc-key" approved Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#53531/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Dec 20 06:22:47 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#53531/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. Dec 20 06:22:47 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Dec 20 06:22:47 srv4hai common[32759]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Dec 20 06:22:47 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Dec 20 06:22:47 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Dec 20 06:22:47 srv4hai common[313]: SHELLY common.sh inkludiert von ./ht_shelly.sh Dec 20 06:22:47 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=6.300000&hum=76.900000&id=C049EF8AC9D8&batt=98&volt=5.980000 Dec 20 06:22:47 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/12/shelly-39_20241220.csv' Dec 20 06:22:47 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Dec 20 06:22:47 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Dec 20 06:22: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}' Dec 20 06:22:47 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Dec 20 06:22: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}' Dec 20 06:22:47 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 '.'' Dec 20 06:22:47 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Dec 20 06:22:48 srv4hai named[30406]: validating cdn-v4.amp-endpoint3.com/A: no valid signature found Dec 20 06:22:48 srv4hai named[30406]: validating amp-endpoint3.com/SOA: no valid signature found Dec 20 06:22:48 srv4hai named[30406]: validating m7m0kfuv9qhaot02r94gmo4aug441deg.amp-endpoint3.com/NSEC3: no valid signature found Dec 20 06:22:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 '.'' Dec 20 06:22:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Dec 20 06:22:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 6.3° - 76.9% Dec 20 06:22:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 6.3°/6.7° - 76.9%/78.5% - SAVED Dec 20 06:22:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='98'° Dec 20 06:22:49 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-12-20T05:22:49.421Z",#012 "content": {#012 "temp": 6.3,#012 "hum": 76.9,#012 "batt": 98,#012 "csvF": "shelly-39_20241220.csv"#012 },#012 "transaction": "7c017661-af4b-41e1-aa7b-fff0f32c3814"#012 }#012}'° Dec 20 06:22:49 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Dec 20 06:22:49 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Dec 20 06:22:51 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Dec 20 06:22:51 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Dec 20 06:22:53 srv4hai ping_SP[31587]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1734672173 - 'ping_SP_1' Dec 20 06:22:53 srv4hai ping_SP[31587]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 20 06:23:01 srv4hai CRON[472]: (root) CMD (/etc/linetest/linetest.sh) Dec 20 06:23:31 srv4hai postfix/anvil[31600]: statistics: max connection rate 1/60s for (smtp:154.203.197.200) at Dec 20 06:19:56 Dec 20 06:23:31 srv4hai postfix/anvil[31600]: statistics: max connection count 1 for (smtp:154.203.197.200) at Dec 20 06:19:56 Dec 20 06:23:31 srv4hai postfix/anvil[31600]: statistics: max cache size 2 at Dec 20 06:20:07 Dec 20 06:23:31 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 20 06:23:31 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 20 06:23:39 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=491, secured, session=<63132awp0p4AAAAAAAAAAAAAAAAAAAAB> Dec 20 06:23:39 srv4hai systemd[1]: Starting Daily apt upgrade and clean activities... Dec 20 06:23:39 srv4hai dovecot: imap(miglincit)<491><63132awp0p4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Dec 20 06:23:40 srv4hai systemd[1]: apt-daily-upgrade.service: Succeeded. Dec 20 06:23:40 srv4hai systemd[1]: Started Daily apt upgrade and clean activities. Dec 20 06:23:41 srv4hai ping_SP[31217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1734672221 - 'ping_SP_0' Dec 20 06:23:41 srv4hai ping_SP[31217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 20 06:24:00 srv4hai postfix/smtpd[567]: connect from unknown[80.94.95.239] Dec 20 06:24:01 srv4hai CRON[571]: (root) CMD (/etc/linetest/linetest.sh) Dec 20 06:24:03 srv4hai postfix/smtpd[567]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 20 06:24:04 srv4hai postfix/smtpd[567]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Dec 20 06:24:06 srv4hai ping_SP[31587]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1734672246 - 'ping_SP_1' Dec 20 06:24:06 srv4hai ping_SP[31587]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 20 06:24:28 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 20 06:24:28 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 20 06:24:54 srv4hai ping_SP[31217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1734672294 - 'ping_SP_0' Dec 20 06:24:54 srv4hai ping_SP[31217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 20 06:25:01 srv4hai CRON[643]: (root) CMD (/etc/linetest/linetest.sh) Dec 20 06:25:01 srv4hai CRON[644]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )) Dec 20 06:25:19 srv4hai ping_SP[31587]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1734672319 - 'ping_SP_1' Dec 20 06:25:19 srv4hai ping_SP[31587]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 20 06:25:26 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 20 06:25:26 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 20 06:25:30 srv4hai activate_scenario[690]: SHELLY scenario: 'buero_UM(buero_um)' started Dec 20 06:25:30 srv4hai activate_scenario[690]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished