activate_scenario.sh
Mon Apr 29 09:30:06 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 09:30:07.002
http://192.168.12.120/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:30:07.031
Dauer: 30 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 09:30:06.981
nachher: 09:30:07.038
Dauer : 57 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/29//scene_pcON_20240429_093006.txt'
Apr 29 09:27:00 srv4hai fetchmail[1651]: 43082 messages (43082 seen) for tmiglinci at mail.akis.at (-704583225 octets). Apr 29 09:27:00 srv4hai fetchmail[1651]: 10180 messages (10180 seen) for srozum at mail.akis.at (1228284511 octets). Apr 29 09:27:01 srv4hai fetchmail[1651]: 23161 messages (23161 seen) for mrozum at mail.akis.at (-291021074 octets). Apr 29 09:27:01 srv4hai fetchmail[1651]: 50 messages (50 seen) for admin@bastelstube.wien at pop3.world4you.com (12362835 octets). Apr 29 09:27:02 srv4hai CRON[27314]: (root) CMD (/etc/linetest/linetest.sh) Apr 29 09:27:21 srv4hai dhcpd[22856]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 29 09:27:21 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 29 09:27:21 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 29 09:27:21 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.139 Apr 29 09:27:21 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-39 Apr 29 09:27:21 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 29 09:27:21 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 29 09:27:21 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#42677/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#38941/key rndc-key: signer "rndc-key" approved Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#38941/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#38941/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#38941/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#38941/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 29 09:27:21 srv4hai dhcpd[22856]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#55967/key rndc-key: signer "rndc-key" approved Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#55967/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Apr 29 09:27:21 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#55967/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 29 09:27:21 srv4hai dhcpd[22856]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 29 09:27:21 srv4hai common[27323]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Apr 29 09:27:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Apr 29 09:27:21 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 29 09:27:21 srv4hai common[27342]: SHELLY common.sh inkludiert von ./ht_shelly.sh Apr 29 09:27:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=16.800000&hum=56.400000&id=C049EF8AC9D8&batt=100&volt=6.750000 Apr 29 09:27:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240429.csv' Apr 29 09:27:21 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 29 09:27:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 29 09:27:21 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 29 09:27:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 29 09:27:21 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 29 09:27:21 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 29 09:27:21 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 29 09:27:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 29 09:27:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 29 09:27:22 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 29 09:27:22 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 29 09:27:22 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 16.8° - 56.4% Apr 29 09:27:22 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 16.8°/16.3° - 56.4%/58.9% - SAVED Apr 29 09:27:22 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Apr 29 09:27:22 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-29T07:27:22.533Z",#012 "content": {#012 "temp": 16.8,#012 "hum": 56.4,#012 "batt": 100,#012 "csvF": "shelly-39_20240429.csv"#012 },#012 "transaction": "f55f30cb-b99c-49ae-84f4-3e4684f16f4f"#012 }#012}'° Apr 29 09:28:01 srv4hai CRON[27503]: (root) CMD (/etc/linetest/linetest.sh) Apr 29 09:28:05 srv4hai ping_SP[8346]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1714375685 - 'ping_SP_0' Apr 29 09:28:05 srv4hai ping_SP[8346]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 29 09:28:37 srv4hai postfix/smtpd[27526]: connect from unknown[93.123.39.19] Apr 29 09:28:37 srv4hai postfix/smtpd[27526]: warning: unknown[93.123.39.19]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 29 09:28:37 srv4hai postfix/smtpd[27526]: disconnect from unknown[93.123.39.19] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Apr 29 09:29:01 srv4hai CRON[27534]: (root) CMD (/etc/linetest/linetest.sh) Apr 29 09:29:18 srv4hai ping_SP[8346]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1714375758 - 'ping_SP_0' Apr 29 09:29:18 srv4hai ping_SP[8346]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 29 09:29:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27563, secured, session= Apr 29 09:29:48 srv4hai dovecot: imap(miglincit)<27563> : 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 29 09:30:01 srv4hai CRON[27572]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Apr 29 09:30:01 srv4hai CRON[27571]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) Apr 29 09:30:01 srv4hai CRON[27573]: (root) CMD (/etc/linetest/linetest.sh) Apr 29 09:30:01 srv4hai common[27575]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Apr 29 09:30:01 srv4hai meter.sh: SHELLY meter.sh started Apr 29 09:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Apr 29 09:30:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Apr 29 09:30:06 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Apr 29 09:30:06 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.10 Apr 29 09:30:06 srv4hai dhcpd[22856]: execute_statement argv[2] = pchai7x Apr 29 09:30:06 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Apr 29 09:30:06 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Apr 29 09:30:06 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#34365/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 29 09:30:06 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#56251/key rndc-key: signer "rndc-key" approved Apr 29 09:30:06 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#56251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Apr 29 09:30:06 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#56251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Apr 29 09:30:06 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#56251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Apr 29 09:30:06 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#56251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Apr 29 09:30:06 srv4hai dhcpd[22856]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Apr 29 09:30:06 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Apr 29 09:30:06 srv4hai named[15509]: client @0x7f93100604b0 192.168.12.252#48079/key rndc-key: signer "rndc-key" approved Apr 29 09:30:06 srv4hai named[15509]: client @0x7f93100604b0 192.168.12.252#48079/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Apr 29 09:30:06 srv4hai named[15509]: client @0x7f93100604b0 192.168.12.252#48079/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at. Apr 29 09:30:06 srv4hai dhcpd[22856]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Apr 29 09:30:06 srv4hai activate_scenario[28054]: SHELLY scenario: 'pcON(pcon)' started Apr 29 09:30:06 srv4hai activate_scenario[28054]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished