activate_scenario.sh
Tue Feb 18 17:36:26 CET 2025
scenario: buero_UM
source: 192.168.12.140
vorher: 17:36:26.911
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: 17:36:26.961
Dauer: 50 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:36:26.933
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: 17:36:26.971
Dauer: 38 msec
phName: 'shelly-40:'TB Licht''
urls : 2
vorher : 17:36:26.884
nachher: 17:36:26.978
Dauer : 94 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/18//scene_buero_UM_20250218_173626.txt'
Feb 18 17:33:00 srv4hai common[1029]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:33:01 srv4hai CRON[1054]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 17:33:02 srv4hai ping_SP[27258]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739896382 - 'ping_SP_0' Feb 18 17:33:02 srv4hai ping_SP[27258]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 18 17:33:31 srv4hai postfix/smtpd[31423]: connect from unknown[193.32.162.83] Feb 18 17:33:31 srv4hai systemd[1]: Started Run anacron jobs. Feb 18 17:33:31 srv4hai anacron[1082]: Anacron 2.3 started on 2025-02-18 Feb 18 17:33:31 srv4hai anacron[1082]: Normal exit (0 jobs run) Feb 18 17:33:31 srv4hai systemd[1]: anacron.service: Succeeded. Feb 18 17:33:33 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1739896413 - 'ping_SP_1' Feb 18 17:33:33 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 18 17:33:35 srv4hai postfix/smtpd[31423]: warning: unknown[193.32.162.83]: SASL PLAIN authentication failed: Feb 18 17:33:35 srv4hai postfix/smtpd[31423]: disconnect from unknown[193.32.162.83] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 18 17:33:37 srv4hai common[1101]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:33:37 srv4hai common[1125]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:33:44 srv4hai postfix/smtpd[1098]: connect from unknown[193.32.162.73] Feb 18 17:33:48 srv4hai postfix/smtpd[31423]: connect from unknown[193.32.162.81] Feb 18 17:33:48 srv4hai postfix/smtpd[1098]: warning: unknown[193.32.162.73]: SASL PLAIN authentication failed: Feb 18 17:33:48 srv4hai postfix/smtpd[1098]: disconnect from unknown[193.32.162.73] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 18 17:33:52 srv4hai postfix/smtpd[31423]: warning: unknown[193.32.162.81]: SASL PLAIN authentication failed: Feb 18 17:33:52 srv4hai postfix/smtpd[31423]: disconnect from unknown[193.32.162.81] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 18 17:33:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1158, secured, session= Feb 18 17:33:53 srv4hai dovecot: imap(rozumm)<1158> : Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 18 17:34:00 srv4hai common[1159]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:34:00 srv4hai common[1183]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:34:00 srv4hai common[1207]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:34:00 srv4hai postfix/smtpd[1098]: connect from unknown[193.32.162.97] Feb 18 17:34:01 srv4hai CRON[1232]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 17:34:04 srv4hai postfix/smtpd[1098]: warning: unknown[193.32.162.97]: SASL PLAIN authentication failed: Feb 18 17:34:04 srv4hai postfix/smtpd[1098]: disconnect from unknown[193.32.162.97] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 18 17:34:15 srv4hai ping_SP[27258]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739896455 - 'ping_SP_0' Feb 18 17:34:15 srv4hai ping_SP[27258]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 18 17:34:37 srv4hai common[1277]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:34:37 srv4hai common[1301]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:34:46 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1739896486 - 'ping_SP_1' Feb 18 17:34:46 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 18 17:34:53 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=1344, secured, session= Feb 18 17:34:53 srv4hai dovecot: imap(rozumm)<1344> : Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 18 17:35:00 srv4hai common[1345]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:35:00 srv4hai common[1369]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:35:00 srv4hai common[1393]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:35:01 srv4hai CRON[1418]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 17:35:29 srv4hai ping_SP[27258]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739896529 - 'ping_SP_0' Feb 18 17:35:29 srv4hai ping_SP[27258]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 18 17:35:37 srv4hai common[1453]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:35:37 srv4hai common[1477]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:35:43 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 18 17:35:44 srv4hai fetchmail[1651]: 63945 messages (63945 seen) for tmiglinci at mail.akis.at (942574803 octets). Feb 18 17:35:44 srv4hai fetchmail[1651]: 11554 messages (11554 seen) for srozum at mail.akis.at (1370920843 octets). Feb 18 17:35:45 srv4hai fetchmail[1651]: 29033 messages (29033 seen) for mrozum at mail.akis.at (683073116 octets). Feb 18 17:35:45 srv4hai fetchmail[1651]: 1164 messages (1164 seen) for admin@bastelstube.wien at pop3.world4you.com (52226354 octets). Feb 18 17:35:53 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=1515, secured, session= Feb 18 17:35:53 srv4hai dovecot: imap(rozumm)<1515> : Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 18 17:35:59 srv4hai common[1516]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:36:00 srv4hai common[1540]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:36:00 srv4hai common[1564]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 18 17:36:00 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1739896560 - 'ping_SP_1' Feb 18 17:36:00 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 18 17:36:01 srv4hai CRON[1603]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 17:36:22 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Feb 18 17:36:22 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 18 17:36:22 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 18 17:36:22 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139 Feb 18 17:36:22 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39 Feb 18 17:36:22 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Feb 18 17:36:22 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 18 17:36:22 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#44219/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 18 17:36:22 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#36187/key rndc-key: signer "rndc-key" approved Feb 18 17:36:22 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#36187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Feb 18 17:36:22 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#36187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Feb 18 17:36:22 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#36187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Feb 18 17:36:22 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#36187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Feb 18 17:36:22 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Feb 18 17:36:22 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#56559/key rndc-key: signer "rndc-key" approved Feb 18 17:36:22 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#56559/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Feb 18 17:36:22 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#56559/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 18 17:36:22 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Feb 18 17:36:22 srv4hai common[1614]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 18 17:36:22 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Feb 18 17:36:22 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 18 17:36:22 srv4hai common[1631]: SHELLY common.sh inkludiert von ./ht_shelly.sh Feb 18 17:36:22 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=2&hum=38.600000&id=C049EF8AC9D8&batt=90&volt=5.800000 Feb 18 17:36:22 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-39_20250218.csv' Feb 18 17:36:22 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 18 17:36:22 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 18 17:36:22 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 18 17:36:22 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 18 17:36:22 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 18 17:36:23 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 '.'' Feb 18 17:36:23 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 '.'' Feb 18 17:36:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 18 17:36:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 18 17:36:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 2° - 38.6% Feb 18 17:36:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 2°/2.5° - 38.6%/37.9% - SAVED Feb 18 17:36:23 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='89'° Feb 18 17:36:23 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": "2025-02-18T16:36:23.556Z",#012 "content": {#012 "temp": 2,#012 "hum": 38.6,#012 "batt": 89,#012 "csvF": "shelly-39_20250218.csv"#012 },#012 "transaction": "77974c83-2a7d-463a-949f-8c1918497d55"#012 }#012}'° Feb 18 17:36:26 srv4hai activate_scenario[1772]: SHELLY scenario: 'buero_UM(buero_um)' started Feb 18 17:36:26 srv4hai activate_scenario[1772]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished