activate_scenario.sh
Fri Apr 12 21:34:51 CEST 2024
scenario: LOG_gehen
source: 192.168.12.103
urls : 0
vorher : 21:34:51.951
nachher: 21:34:51.956
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/12//scene_LOG_gehen_20240412_213451.txt'
Apr 12 21:31:02 srv4hai CRON[18037]: (root) CMD (/etc/linetest/linetest.sh) Apr 12 21:31:14 srv4hai ping_SP[31110]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712950274 - 'ping_SP_0' Apr 12 21:31:14 srv4hai systemd[1]: Started Run anacron jobs. Apr 12 21:31:14 srv4hai ping_SP[31110]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 12 21:31:14 srv4hai anacron[18063]: Anacron 2.3 started on 2024-04-12 Apr 12 21:31:14 srv4hai anacron[18063]: Normal exit (0 jobs run) Apr 12 21:31:14 srv4hai systemd[1]: anacron.service: Succeeded. Apr 12 21:32:00 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1712950320 - 'ping_SP_1' Apr 12 21:32:00 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 12 21:32:01 srv4hai CRON[18118]: (root) CMD (/etc/linetest/linetest.sh) Apr 12 21:32:15 srv4hai postfix/smtpd[18135]: connect from ec2-54-67-42-185.us-west-1.compute.amazonaws.com[54.67.42.185] Apr 12 21:32:15 srv4hai postfix/smtpd[18135]: lost connection after CONNECT from ec2-54-67-42-185.us-west-1.compute.amazonaws.com[54.67.42.185] Apr 12 21:32:15 srv4hai postfix/smtpd[18135]: disconnect from ec2-54-67-42-185.us-west-1.compute.amazonaws.com[54.67.42.185] commands=0/0 Apr 12 21:32:27 srv4hai ping_SP[31110]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712950347 - 'ping_SP_0' Apr 12 21:32:27 srv4hai ping_SP[31110]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 12 21:32:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18204, secured, session= Apr 12 21:32:53 srv4hai dovecot: imap(miglincit)<18204> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 12 21:33:01 srv4hai CRON[18217]: (root) CMD (/etc/linetest/linetest.sh) Apr 12 21:33:09 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 12 21:33:09 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 12 21:33:09 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 12 21:33:09 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139 Apr 12 21:33:09 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39 Apr 12 21:33:09 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 12 21:33:09 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 12 21:33:09 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#34149/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 12 21:33:09 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58057/key rndc-key: signer "rndc-key" approved Apr 12 21:33:09 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58057/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 12 21:33:09 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58057/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 12 21:33:09 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58057/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 12 21:33:09 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58057/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 12 21:33:09 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 12 21:33:09 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#39509/key rndc-key: signer "rndc-key" approved Apr 12 21:33:09 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#39509/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Apr 12 21:33:09 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#39509/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 12 21:33:09 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 12 21:33:09 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 12 21:33:10 srv4hai common[18245]: SHELLY common.sh inkludiert von ./ht_shelly.sh Apr 12 21:33:10 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 12 21:33:10 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=21.400000&hum=36.200000&id=C049EF8AC9D8&batt=100&volt=6.790000 Apr 12 21:33:10 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240412.csv' Apr 12 21:33:10 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 12 21:33:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 12 21:33:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 12 21:33:10 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 12 21:33:10 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 12 21:33:10 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 12 21:33:10 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 12 21:33:10 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 12 21:33:10 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 12 21:33:11 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 12 21:33:11 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21.4° - 36.2% Apr 12 21:33:11 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21.4°/21.8° - 36.2%/33.8% - SAVED Apr 12 21:33:11 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Apr 12 21:33: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-04-12T19:33:11.596Z",#012 "content": {#012 "temp": 21.4,#012 "hum": 36.2,#012 "batt": 100,#012 "csvF": "shelly-39_20240412.csv"#012 },#012 "transaction": "78b52614-1d00-45cb-af44-37da8a02a982"#012 }#012}'° Apr 12 21:33:11 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 12 21:33:13 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1712950393 - 'ping_SP_1' Apr 12 21:33:13 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 12 21:33:40 srv4hai ping_SP[31110]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712950420 - 'ping_SP_0' Apr 12 21:33:40 srv4hai ping_SP[31110]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 12 21:33:43 srv4hai dhcpd[28085]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0 Apr 12 21:33:43 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Apr 12 21:33:43 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 12 21:33:43 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.102 Apr 12 21:33:43 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-02 Apr 12 21:33:43 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0 Apr 12 21:33:43 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Apr 12 21:33:43 srv4hai named[15509]: client @0x7f92fc030df0 192.168.12.252#43927/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 12 21:33:43 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#45945/key rndc-key: signer "rndc-key" approved Apr 12 21:33:43 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#45945/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT Apr 12 21:33:43 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#45945/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe" Apr 12 21:33:43 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#45945/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A Apr 12 21:33:43 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#45945/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102 Apr 12 21:33:43 srv4hai dhcpd[28085]: Added new forward map from shelly-02.viehai.at to 192.168.12.102 Apr 12 21:33:43 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#49915/key rndc-key: signer "rndc-key" approved Apr 12 21:33:43 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#49915/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR Apr 12 21:33:43 srv4hai named[15509]: client @0x7f931c166000 192.168.12.252#49915/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at. Apr 12 21:33:43 srv4hai dhcpd[28085]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at Apr 12 21:33:43 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-02' - shIP/2:'192.168.12.102' Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102' Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING Apr 12 21:33:44 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING Apr 12 21:34:01 srv4hai CRON[18613]: (root) CMD (/etc/linetest/linetest.sh) Apr 12 21:34:26 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1712950466 - 'ping_SP_1' Apr 12 21:34:26 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 12 21:34:38 srv4hai postfix/smtpd[18667]: connect from unknown[87.121.105.109] Apr 12 21:34:38 srv4hai postfix/smtpd[18667]: warning: unknown[87.121.105.109]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 12 21:34:38 srv4hai postfix/smtpd[18667]: disconnect from unknown[87.121.105.109] ehlo=1 auth=0/1 quit=1 commands=2/3 Apr 12 21:34:51 srv4hai activate_scenario[18683]: SHELLY scenario: 'LOG_gehen(log_gehen)' started Apr 12 21:34:51 srv4hai activate_scenario[18683]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
finished