activate_scenario.sh
Fri Feb 14 08:20:26 CET 2025
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 08:20:26.987
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: 08:20:27.031
Dauer: 45 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 08:20:26.925
nachher: 08:20:27.038
Dauer : 114 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/14//scene_pcON_20250214_082026.txt'
Feb 14 08:17:00 srv4hai common[19486]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:17:00 srv4hai common[19510]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:17:00 srv4hai common[19534]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:17:01 srv4hai CRON[19560]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Feb 14 08:17:01 srv4hai CRON[19561]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 08:17:21 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739517441 - 'ping_SP_0' Feb 14 08:17:21 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 14 08:17:23 srv4hai common[19589]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:17:23 srv4hai common[19613]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:17:58 srv4hai postfix/smtpd[19645]: connect from unknown[45.144.212.102] Feb 14 08:17:58 srv4hai postfix/smtpd[19645]: warning: unknown[45.144.212.102]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 14 08:17:58 srv4hai postfix/smtpd[19645]: disconnect from unknown[45.144.212.102] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Feb 14 08:17:59 srv4hai common[19648]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:17:59 srv4hai common[19672]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:18:00 srv4hai common[19696]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:18:01 srv4hai CRON[19721]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 08:18:13 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 14 08:18:14 srv4hai fetchmail[1651]: 63600 messages (63600 seen) for tmiglinci at mail.akis.at (920033829 octets). Feb 14 08:18:14 srv4hai fetchmail[1651]: 11538 messages (11538 seen) for srozum at mail.akis.at (1369550349 octets). Feb 14 08:18:15 srv4hai fetchmail[1651]: 28953 messages (28952 seen) for mrozum at mail.akis.at (660759677 octets). Feb 14 08:18:15 srv4hai postfix/smtpd[19645]: connect from localhost[127.0.0.1] Feb 14 08:18:15 srv4hai postfix/smtpd[19645]: E5225631BE: client=localhost[127.0.0.1] Feb 14 08:18:15 srv4hai postfix/cleanup[19734]: E5225631BE: message-id=<003f01db7eaf$fec56ed0$fc504c70$@puhwein.at> Feb 14 08:18:16 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28953 of 28953 (1671354 octets) not flushed Feb 14 08:18:16 srv4hai postfix/qmgr[8566]: E5225631BE: from=, size=1671636, nrcpt=1 (queue active) Feb 14 08:18:16 srv4hai postfix/smtpd[19645]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Feb 14 08:18:16 srv4hai postfix/local[19735]: E5225631BE: to= , relay=local, delay=0.62, delays=0.56/0.02/0/0.04, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 14 08:18:16 srv4hai postfix/qmgr[8566]: E5225631BE: removed Feb 14 08:18:16 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets). Feb 14 08:18:23 srv4hai common[19739]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:18:23 srv4hai common[19763]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:18:35 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739517515 - 'ping_SP_0' Feb 14 08:18:35 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 14 08:18:52 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Feb 14 08:18:52 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 14 08:18:52 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 14 08:18:52 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139 Feb 14 08:18:52 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39 Feb 14 08:18:52 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Feb 14 08:18:52 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 14 08:18:52 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#60671/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 14 08:18:52 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#57541/key rndc-key: signer "rndc-key" approved Feb 14 08:18:52 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#57541/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Feb 14 08:18:52 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#57541/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Feb 14 08:18:52 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#57541/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Feb 14 08:18:52 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#57541/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Feb 14 08:18:52 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Feb 14 08:18:52 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#40991/key rndc-key: signer "rndc-key" approved Feb 14 08:18:52 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#40991/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Feb 14 08:18:52 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#40991/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 14 08:18:52 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Feb 14 08:18:52 srv4hai common[19809]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 14 08:18:52 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Feb 14 08:18:52 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 14 08:18:52 srv4hai common[19828]: SHELLY common.sh inkludiert von ./ht_shelly.sh Feb 14 08:18:52 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=2.100000&hum=80.100000&id=C049EF8AC9D8&batt=92&volt=5.860000 Feb 14 08:18:52 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-39_20250214.csv' Feb 14 08:18:52 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 14 08:18:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 14 08:18:52 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 14 08:18:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 14 08:18:52 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 14 08:18:52 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 14 08:18:52 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 14 08:18:52 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 14 08:18:52 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 14 08:18:52 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 2.1° - 80.1% Feb 14 08:18:52 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 2.1°/2.3° - 80.1%/83.1% - SAVED Feb 14 08:18:52 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='92'° Feb 14 08:18:53 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-14T07:18:53.163Z",#012 "content": {#012 "temp": 2.1,#012 "hum": 80.1,#012 "batt": 92,#012 "csvF": "shelly-39_20250214.csv"#012 },#012 "transaction": "f2094fa1-52d0-4ef9-8895-a09eefd8f748"#012 }#012}'° Feb 14 08:19:00 srv4hai common[19971]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:19:00 srv4hai common[19995]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:19:00 srv4hai common[20019]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:19:01 srv4hai CRON[20044]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 08:19:07 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=20051, secured, session= Feb 14 08:19:07 srv4hai dovecot: imap(miglincit)<20051> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 14 08:19:23 srv4hai common[20053]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:19:23 srv4hai common[20077]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:19:48 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1739517588 - 'ping_SP_0' Feb 14 08:19:48 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 14 08:20:00 srv4hai common[20126]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:20:00 srv4hai common[20150]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:20:00 srv4hai common[20174]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:20:02 srv4hai CRON[20200]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 08:20:02 srv4hai CRON[20201]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Feb 14 08:20:02 srv4hai common[20203]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Feb 14 08:20:02 srv4hai meter.sh: SHELLY meter.sh started Feb 14 08:20:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring Feb 14 08:20:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring Feb 14 08:20:08 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 08:20:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Feb 14 08:20:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Feb 14 08:20:09 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring Feb 14 08:20:09 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Feb 14 08:20:09 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Feb 14 08:20:12 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 08:20:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 08:20:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Feb 14 08:20:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Feb 14 08:20:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Feb 14 08:20:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Feb 14 08:20:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Feb 14 08:20:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Feb 14 08:20:18 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 08:20:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Feb 14 08:20:20 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 08:20:20 srv4hai common[21206]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Feb 14 08:20:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'homeOffice' Feb 14 08:20:20 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs Feb 14 08:20:20 srv4hai meter.sh: SHELLY meter.sh ended Feb 14 08:20:23 srv4hai common[21231]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:20:23 srv4hai common[21255]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 14 08:20:26 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Feb 14 08:20:26 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10 Feb 14 08:20:26 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x Feb 14 08:20:26 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Feb 14 08:20:26 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Feb 14 08:20:26 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#42067/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 14 08:20:26 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#45797/key rndc-key: signer "rndc-key" approved Feb 14 08:20:26 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#45797/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Feb 14 08:20:26 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#45797/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Feb 14 08:20:26 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#45797/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Feb 14 08:20:26 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#45797/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Feb 14 08:20:26 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Feb 14 08:20:26 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Feb 14 08:20:26 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#50839/key rndc-key: signer "rndc-key" approved Feb 14 08:20:26 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#50839/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Feb 14 08:20:26 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#50839/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. Feb 14 08:20:26 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Feb 14 08:20:26 srv4hai activate_scenario[21285]: SHELLY scenario: 'pcON(pcon)' started Feb 14 08:20:26 srv4hai activate_scenario[21285]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished