activate_scenario.sh
Sun Feb 9 14:38:47 CET 2025
scenario: pcOFF
source: 192.168.12.10
vorher: 14:38:47.970
http://192.168.12.120/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 14:38:48.015
Dauer: 45 msec
phName: 'shelly-0:'''
urls : 1
vorher : 14:38:47.945
nachher: 14:38:48.022
Dauer : 77 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/09//scene_pcOFF_20250209_143847.txt'
Feb 9 14:35:00 srv4hai common[20070]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:35:00 srv4hai common[20094]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:35:00 srv4hai common[20119]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:35:01 srv4hai CRON[20144]: (root) CMD (/etc/linetest/linetest.sh) Feb 9 14:35:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20154, secured, session= Feb 9 14:35:07 srv4hai dovecot: imap(miglincit)<20154> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 9 14:35:12 srv4hai ping_SP[27856]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1739108112 - 'ping_SP_1' Feb 9 14:35:12 srv4hai ping_SP[27856]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 9 14:35:22 srv4hai postfix/smtpd[20063]: connect from unknown[45.144.212.200] Feb 9 14:35:22 srv4hai postfix/smtpd[20063]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 9 14:35:22 srv4hai postfix/smtpd[20063]: lost connection after AUTH from unknown[45.144.212.200] Feb 9 14:35:22 srv4hai postfix/smtpd[20063]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2 Feb 9 14:35:30 srv4hai postfix/smtpd[20063]: connect from unknown[92.118.39.64] Feb 9 14:35:33 srv4hai common[20178]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:35:34 srv4hai common[20202]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:35:34 srv4hai postfix/smtpd[20063]: warning: unknown[92.118.39.64]: SASL PLAIN authentication failed: Feb 9 14:35:34 srv4hai postfix/smtpd[20063]: disconnect from unknown[92.118.39.64] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 9 14:35:34 srv4hai ping_SP[30388]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739108134 - 'ping_SP_0' Feb 9 14:35:34 srv4hai ping_SP[30388]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 9 14:35:54 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20252, secured, session= Feb 9 14:35:54 srv4hai dovecot: imap(miglincit)<20252> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 9 14:36:00 srv4hai common[20255]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:36:00 srv4hai common[20281]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:36:00 srv4hai common[20305]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:36:01 srv4hai CRON[20331]: (root) CMD (/etc/linetest/linetest.sh) Feb 9 14:36:12 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 9 14:36:12 srv4hai fetchmail[1651]: 63252 messages (63252 seen) for tmiglinci at mail.akis.at (893441367 octets). Feb 9 14:36:13 srv4hai fetchmail[1651]: 11520 messages (11520 seen) for srozum at mail.akis.at (1368605416 octets). Feb 9 14:36:13 srv4hai fetchmail[1651]: 28832 messages (28832 seen) for mrozum at mail.akis.at (643258530 octets). Feb 9 14:36:14 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets). Feb 9 14:36:26 srv4hai ping_SP[27856]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1739108186 - 'ping_SP_1' Feb 9 14:36:26 srv4hai ping_SP[27856]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 9 14:36:33 srv4hai common[20361]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:36:33 srv4hai common[20385]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:36:48 srv4hai ping_SP[30388]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739108208 - 'ping_SP_0' Feb 9 14:36:48 srv4hai ping_SP[30388]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 9 14:37:00 srv4hai common[20431]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:37:00 srv4hai common[20455]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:37:00 srv4hai common[20479]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:37:01 srv4hai CRON[20504]: (root) CMD (/etc/linetest/linetest.sh) Feb 9 14:37:30 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Feb 9 14:37:33 srv4hai common[20519]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:37:33 srv4hai common[20543]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:37:39 srv4hai ping_SP[27856]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1739108259 - 'ping_SP_1' Feb 9 14:37:39 srv4hai ping_SP[27856]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 9 14:37:59 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Feb 9 14:37:59 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 9 14:37:59 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 9 14:37:59 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139 Feb 9 14:37:59 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39 Feb 9 14:37:59 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Feb 9 14:37:59 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 9 14:37:59 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#34155/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 9 14:37:59 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#48139/key rndc-key: signer "rndc-key" approved Feb 9 14:37:59 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#48139/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Feb 9 14:37:59 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#48139/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Feb 9 14:37:59 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#48139/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Feb 9 14:37:59 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#48139/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Feb 9 14:37:59 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Feb 9 14:37:59 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42587/key rndc-key: signer "rndc-key" approved Feb 9 14:37:59 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42587/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Feb 9 14:37:59 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42587/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 9 14:37:59 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Feb 9 14:37:59 srv4hai common[20589]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 9 14:37:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Feb 9 14:37:59 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 9 14:37:59 srv4hai common[20606]: SHELLY common.sh inkludiert von ./ht_shelly.sh Feb 9 14:37:59 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=8.200000&hum=42&id=C049EF8AC9D8&batt=93&volt=5.870000 Feb 9 14:37:59 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-39_20250209.csv' Feb 9 14:37:59 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 9 14:37:59 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 9 14:37:59 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 9 14:37:59 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 9 14:37:59 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 9 14:37:59 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 9 14:37:59 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 9 14:37:59 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 9 14:37:59 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 9 14:37:59 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.2° - 42% Feb 9 14:37:59 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.2°/8.8° - 42%/40.5% - SAVED Feb 9 14:37:59 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='93'° Feb 9 14:38:00 srv4hai common[20725]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:38:00 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-09T13:38:00.204Z",#012 "content": {#012 "temp": 8.2,#012 "hum": 42,#012 "batt": 93,#012 "csvF": "shelly-39_20250209.csv"#012 },#012 "transaction": "2544a2d4-a6c9-4ea4-9062-3c39c5545cbb"#012 }#012}'° Feb 9 14:38:00 srv4hai common[20753]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:38:00 srv4hai common[20777]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:38:01 srv4hai ping_SP[30388]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739108281 - 'ping_SP_0' Feb 9 14:38:01 srv4hai ping_SP[30388]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 9 14:38:01 srv4hai CRON[20832]: (root) CMD (/etc/linetest/linetest.sh) Feb 9 14:38:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20838, secured, session= Feb 9 14:38:02 srv4hai dovecot: imap(miglincit)<20838> : Logged out in=443 out=8277 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=497 body_count=1 body_bytes=6039 Feb 9 14:38:07 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20841, secured, session= Feb 9 14:38:07 srv4hai dovecot: imap(miglincit)<20841> : Logged out in=1976 out=1203 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 9 14:38:31 srv4hai postfix/smtpd[20848]: warning: hostname 107-175-172-228-host.colocrossing.com does not resolve to address 107.175.172.228: Name or service not known Feb 9 14:38:31 srv4hai postfix/smtpd[20848]: connect from unknown[107.175.172.228] Feb 9 14:38:33 srv4hai common[20850]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:38:33 srv4hai common[20874]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 9 14:38:35 srv4hai postfix/smtpd[20848]: warning: unknown[107.175.172.228]: SASL PLAIN authentication failed: Feb 9 14:38:35 srv4hai postfix/smtpd[20848]: disconnect from unknown[107.175.172.228] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 9 14:38:47 srv4hai activate_scenario[20905]: SHELLY scenario: 'pcOFF(pcoff)' started Feb 9 14:38:47 srv4hai activate_scenario[20905]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
finished