activate_scenario.sh
Sat Jul 27 11:27:53 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 11:27:53.674
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: 11:27:53.707
Dauer: 33 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 11:27:53.642
nachher: 11:27:53.714
Dauer : 74 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/27//scene_pcON_20240727_112753.txt'
Jul 27 11:24:01 srv4hai CRON[20030]: (root) CMD (/etc/linetest/linetest.sh) Jul 27 11:24:11 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722072251 - 'ping_SP_1' Jul 27 11:24:11 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 27 11:24:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20055, secured, session= Jul 27 11:24:15 srv4hai dovecot: imap(miglincit)<20055> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 27 11:24:49 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jul 27 11:24:49 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jul 27 11:24:49 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 27 11:24:49 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Jul 27 11:24:49 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Jul 27 11:24:49 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jul 27 11:24:49 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jul 27 11:24:49 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#58107/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 27 11:24:49 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#37687/key rndc-key: signer "rndc-key" approved Jul 27 11:24:49 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#37687/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jul 27 11:24:49 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#37687/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jul 27 11:24:49 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#37687/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jul 27 11:24:49 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#37687/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jul 27 11:24:49 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jul 27 11:24:49 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#60983/key rndc-key: signer "rndc-key" approved Jul 27 11:24:49 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#60983/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jul 27 11:24:49 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#60983/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. Jul 27 11:24:49 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jul 27 11:24:49 srv4hai common[20063]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 27 11:24:49 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jul 27 11:24:49 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}' Jul 27 11:24:49 srv4hai common[20107]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jul 27 11:24:49 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=27.300000&hum=54.100000&id=C049EF8AC9D8&batt=100&volt=6.710000 Jul 27 11:24:49 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240727.csv' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jul 27 11:24:49 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 '.'' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jul 27 11:24:49 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}' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jul 27 11:24:49 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 '.'' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jul 27 11:24:49 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jul 27 11:24:49 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 27.3° - 54.1% Jul 27 11:24:49 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 27.3°/26° - 54.1%/57.3% - SAVED Jul 27 11:24:49 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Jul 27 11:24:50 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-07-27T09:24:50.004Z",#012 "content": {#012 "temp": 27.3,#012 "hum": 54.1,#012 "batt": 100,#012 "csvF": "shelly-39_20240727.csv"#012 },#012 "transaction": "501b4775-aed8-461a-a7a5-e924cf97ee9b"#012 }#012}'° Jul 27 11:25:01 srv4hai CRON[20234]: (root) CMD (/etc/linetest/linetest.sh) Jul 27 11:25:07 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722072307 - 'ping_SP_0' Jul 27 11:25:07 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 27 11:25:25 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722072325 - 'ping_SP_1' Jul 27 11:25:25 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 27 11:25:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jul 27 11:25:33 srv4hai fetchmail[1651]: 49475 messages (49475 seen) for tmiglinci at mail.akis.at (-203285201 octets). Jul 27 11:25:33 srv4hai fetchmail[1651]: 10517 messages (10517 seen) for srozum at mail.akis.at (1265252318 octets). Jul 27 11:25:34 srv4hai fetchmail[1651]: 24974 messages (24974 seen) for mrozum at mail.akis.at (70385906 octets). Jul 27 11:25:34 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets). Jul 27 11:25:53 srv4hai postfix/smtpd[20283]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 27 11:25:54 srv4hai postfix/smtpd[20283]: warning: hostname 109.149.162.212.in-addr.arpa does not resolve to address 212.162.149.109: No address associated with hostname Jul 27 11:25:54 srv4hai postfix/smtpd[20283]: connect from unknown[212.162.149.109] Jul 27 11:25:54 srv4hai postfix/smtpd[20283]: NOQUEUE: reject: RCPT from unknown[212.162.149.109]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo= Jul 27 11:25:54 srv4hai postfix/smtpd[20283]: disconnect from unknown[212.162.149.109] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5 Jul 27 11:26:01 srv4hai CRON[20291]: (root) CMD (/etc/linetest/linetest.sh) Jul 27 11:26:21 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722072381 - 'ping_SP_0' Jul 27 11:26:21 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 27 11:26:27 srv4hai nmbd[2172]: [2024/07/27 11:26:27.742190, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) Jul 27 11:26:27 srv4hai nmbd[2172]: find_domain_master_name_query_fail: Jul 27 11:26:27 srv4hai nmbd[2172]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Jul 27 11:26:27 srv4hai nmbd[2172]: Unable to sync browse lists in this workgroup. Jul 27 11:26:38 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722072398 - 'ping_SP_1' Jul 27 11:26:38 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 27 11:27:01 srv4hai CRON[20348]: (root) CMD (/etc/linetest/linetest.sh) Jul 27 11:27:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20357, secured, session= Jul 27 11:27:15 srv4hai dovecot: imap(miglincit)<20357> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 27 11:27:34 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722072454 - 'ping_SP_0' Jul 27 11:27:34 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 27 11:27:52 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1722072472 - 'ping_SP_1' Jul 27 11:27:52 srv4hai ping_SP[9823]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 27 11:27:53 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Jul 27 11:27:53 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10 Jul 27 11:27:53 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x Jul 27 11:27:53 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Jul 27 11:27:53 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Jul 27 11:27:53 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#39775/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 27 11:27:53 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36203/key rndc-key: signer "rndc-key" approved Jul 27 11:27:53 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36203/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Jul 27 11:27:53 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36203/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Jul 27 11:27:53 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36203/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Jul 27 11:27:53 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36203/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Jul 27 11:27:53 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Jul 27 11:27:53 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#46767/key rndc-key: signer "rndc-key" approved Jul 27 11:27:53 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#46767/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Jul 27 11:27:53 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#46767/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. Jul 27 11:27:53 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Jul 27 11:27:53 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Jul 27 11:27:53 srv4hai activate_scenario[20410]: SHELLY scenario: 'pcON(pcon)' started Jul 27 11:27:53 srv4hai activate_scenario[20410]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished