activate_scenario.sh
Tue Feb 27 06:49:58 CET 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 06:49:58.339
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:49:58.381
Dauer: 43 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 06:49:58.355
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:49:58.388
Dauer: 33 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 2
vorher : 06:49:58.312
nachher: 06:49:58.394
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/27//scene_buero_UM_20240227_064958.txt'
Feb 27 06:46:01 srv4hai CRON[17756]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 06:46:10 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Feb 27 06:46:10 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 27 06:46:10 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 27 06:46:10 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139 Feb 27 06:46:10 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39 Feb 27 06:46:10 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Feb 27 06:46:10 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc314035d20 192.168.12.252#34779/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#45975/key rndc-key: signer "rndc-key" approved Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#45975/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#45975/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#45975/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#45975/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Feb 27 06:46:10 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc31405bd50 192.168.12.252#46537/key rndc-key: signer "rndc-key" approved Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc31405bd50 192.168.12.252#46537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Feb 27 06:46:10 srv4hai named[14530]: client @0x7fc31405bd50 192.168.12.252#46537/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. Feb 27 06:46:10 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Feb 27 06:46:10 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 27 06:46:11 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=8.100000&hum=62.500000&id=C049EF8AC9D8&batt=100&volt=6.730000 Feb 27 06:46:11 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-39_20240227.csv' Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 27 06:46:11 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}' Feb 27 06:46:11 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}' Feb 27 06:46:11 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 '.'' Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 27 06:46:11 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 '.'' Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Feb 27 06:46:11 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Feb 27 06:46:11 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.1° - 62.5% Feb 27 06:46:11 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.1°/8.5° - 62.5%/58.8% - SAVED Feb 27 06:46:11 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Feb 27 06:46:11 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-02-27T05:46:11.776Z",#012 "content": {#012 "temp": 8.1,#012 "hum": 62.5,#012 "batt": 100#012 },#012 "transaction": "a8eca2ea-56fa-45b2-ad00-6bbe31f21c14"#012 }#012}'° Feb 27 06:46:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17923, secured, session= Feb 27 06:46:32 srv4hai dovecot: imap(miglincit)<17923> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 27 06:46:57 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1709012817 - 'ping_SP_0' Feb 27 06:46:57 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 27 06:47:01 srv4hai CRON[17962]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 06:47:17 srv4hai postfix/smtpd[17970]: connect from unknown[45.128.96.239] Feb 27 06:47:17 srv4hai postfix/smtpd[17970]: warning: unknown[45.128.96.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 27 06:47:17 srv4hai postfix/smtpd[17970]: disconnect from unknown[45.128.96.239] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 27 06:47:44 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 27 06:47:44 srv4hai fetchmail[1651]: 38843 messages (38843 seen) for tmiglinci at mail.akis.at (-1085767528 octets). Feb 27 06:47:45 srv4hai fetchmail[1651]: 9940 messages (9940 seen) for srozum at mail.akis.at (1200750461 octets). Feb 27 06:47:45 srv4hai fetchmail[1651]: 21885 messages (21885 seen) for mrozum at mail.akis.at (-546345673 octets). Feb 27 06:47:46 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Feb 27 06:48:01 srv4hai CRON[17998]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 06:48:10 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1709012890 - 'ping_SP_0' Feb 27 06:48:10 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 27 06:48:49 srv4hai postfix/smtpd[17970]: connect from unknown[194.48.251.202] Feb 27 06:48:49 srv4hai postfix/smtpd[17970]: warning: unknown[194.48.251.202]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 27 06:48:49 srv4hai postfix/smtpd[17970]: disconnect from unknown[194.48.251.202] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 27 06:49:01 srv4hai CRON[18042]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 06:49:12 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Feb 27 06:49:12 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28 Feb 27 06:49:12 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub Feb 27 06:49:12 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0 Feb 27 06:49:12 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0 Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc328650140 192.168.12.252#60533/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#45257/key rndc-key: signer "rndc-key" approved Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#45257/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#45257/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713" Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#45257/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#45257/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28 Feb 27 06:49:12 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28 Feb 27 06:49:12 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub' Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#56973/key rndc-key: signer "rndc-key" approved Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#56973/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR Feb 27 06:49:12 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#56973/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at. Feb 27 06:49:12 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at Feb 27 06:49:12 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted Feb 27 06:49:23 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1709012963 - 'ping_SP_0' Feb 27 06:49:23 srv4hai ping_SP[24843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 27 06:49:32 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=18095, secured, session=<4Hcfl1YSNOMAAAAAAAAAAAAAAAAAAAAB> Feb 27 06:49:32 srv4hai dovecot: imap(miglincit)<18095><4Hcfl1YSNOMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 27 06:49:58 srv4hai activate_scenario[18108]: SHELLY scenario: 'buero_UM(buero_um)' started Feb 27 06:49:58 srv4hai activate_scenario[18108]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished