activate_scenario.sh
Mon Apr 8 11:51:42 CEST 2024
scenario: sekr_UM
source: 192.168.12.101
vorher: 11:51:43.000
http://192.168.12.123/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 11:51:43.031
Dauer: 32 msec
phName: 'shelly-01:'Wandlicht beim Esstisch''
urls : 1
vorher : 11:51:42.976
nachher: 11:51:43.038
Dauer : 62 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/08//scene_sekr_UM_20240408_115142.txt'
Apr 8 11:48:01 srv4hai CRON[22788]: (root) CMD (/etc/linetest/linetest.sh) Apr 8 11:48:09 srv4hai postfix/smtpd[22798]: warning: hostname mail.yiff.ltd does not resolve to address 193.222.96.5: Name or service not known Apr 8 11:48:09 srv4hai postfix/smtpd[22798]: connect from unknown[193.222.96.5] Apr 8 11:48:10 srv4hai postfix/smtpd[22798]: warning: unknown[193.222.96.5]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 8 11:48:10 srv4hai postfix/smtpd[22798]: disconnect from unknown[193.222.96.5] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Apr 8 11:48:21 srv4hai ping_SP[22514]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712569701 - 'ping_SP_0' Apr 8 11:48:21 srv4hai ping_SP[22514]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 8 11:49:01 srv4hai CRON[22835]: (root) CMD (/etc/linetest/linetest.sh) Apr 8 11:49:34 srv4hai ping_SP[22514]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712569774 - 'ping_SP_0' Apr 8 11:49:34 srv4hai ping_SP[22514]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 8 11:50:01 srv4hai CRON[22879]: (root) CMD (/etc/linetest/linetest.sh) Apr 8 11:50:01 srv4hai CRON[22880]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Apr 8 11:50:01 srv4hai common[22882]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Apr 8 11:50:01 srv4hai meter.sh: SHELLY meter.sh started Apr 8 11:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Apr 8 11:50:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Apr 8 11:50:04 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 8 11:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Apr 8 11:50:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Apr 8 11:50:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Apr 8 11:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Apr 8 11:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Apr 8 11:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 8 11:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 8 11:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Apr 8 11:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Apr 8 11:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Apr 8 11:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Apr 8 11:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Apr 8 11:50:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Apr 8 11:50:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 8 11:50:21 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Apr 8 11:50:21 srv4hai common[22882]: SHELLY common.sh inkludiert von ./check_presence.sh Apr 8 11:50:21 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'7'=1712569821-1712569814 Apr 8 11:50:21 srv4hai check_presence[22882]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Apr 8 11:50:21 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'7'=1712569821-1712569814 Apr 8 11:50:21 srv4hai check_presence[22882]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Apr 8 11:50:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'7'=1712569821-1712569814 Apr 8 11:50:21 srv4hai check_presence[22882]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 8 11:50:21 srv4hai check_presence[22882]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Apr 8 11:50:21 srv4hai check_presence[22882]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll Apr 8 11:50:21 srv4hai common[22882]: SHELLY common.sh inkludiert von ./check_shelly.sh Apr 8 11:50:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll' Apr 8 11:50:21 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs Apr 8 11:50:21 srv4hai meter.sh: SHELLY meter.sh ended Apr 8 11:50:21 srv4hai postfix/pickup[15040]: E688060245: uid=33 from=Apr 8 11:50:21 srv4hai postfix/cleanup[23923]: E688060245: message-id=<20240408095021.E688060245@mail.viehai.at> Apr 8 11:50:21 srv4hai postfix/qmgr[15291]: E688060245: from= , size=642, nrcpt=1 (queue active) Apr 8 11:50:21 srv4hai postfix/local[23925]: E688060245: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 8 11:50:21 srv4hai postfix/qmgr[15291]: E688060245: removed Apr 8 11:50:41 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=23941, secured, session= Apr 8 11:50:41 srv4hai dovecot: imap(miglincit)<23941> : 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 8 11:50:47 srv4hai ping_SP[22514]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712569847 - 'ping_SP_0' Apr 8 11:50:47 srv4hai ping_SP[22514]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 8 11:51:01 srv4hai CRON[23963]: (root) CMD (/etc/linetest/linetest.sh) Apr 8 11:51:21 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 8 11:51:22 srv4hai fetchmail[1651]: 41560 messages (41558 seen) for tmiglinci at mail.akis.at (-842028400 octets). Apr 8 11:51:22 srv4hai postfix/smtpd[23976]: connect from localhost[127.0.0.1] Apr 8 11:51:22 srv4hai postfix/smtpd[23976]: 3D7D76011D: client=localhost[127.0.0.1] Apr 8 11:51:22 srv4hai postfix/cleanup[23923]: 3D7D76011D: message-id=<20240408094629.048B360245@mail.viehai.at> Apr 8 11:51:22 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41559 of 41560 (8538 octets) not flushed Apr 8 11:51:22 srv4hai postfix/qmgr[15291]: 3D7D76011D: from= , size=8837, nrcpt=1 (queue active) Apr 8 11:51:22 srv4hai postfix/local[23925]: 3D7D76011D: to= , relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 8 11:51:22 srv4hai postfix/qmgr[15291]: 3D7D76011D: removed Apr 8 11:51:22 srv4hai postfix/smtpd[23976]: 52F136011D: client=localhost[127.0.0.1] Apr 8 11:51:22 srv4hai postfix/cleanup[23923]: 52F136011D: message-id=<0A6AE192-E9072BE5258-018E8A212602-0000000003F53340@starship> Apr 8 11:51:22 srv4hai postfix/qmgr[15291]: 52F136011D: from= , size=28940, nrcpt=1 (queue active) Apr 8 11:51:22 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41560 of 41560 (28647 octets) not flushed Apr 8 11:51:22 srv4hai postfix/local[23925]: 52F136011D: to= , relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 8 11:51:22 srv4hai postfix/qmgr[15291]: 52F136011D: removed Apr 8 11:51:22 srv4hai postfix/smtpd[23976]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8 Apr 8 11:51:22 srv4hai fetchmail[1651]: 10107 messages (10107 seen) for srozum at mail.akis.at (1221679297 octets). Apr 8 11:51:23 srv4hai fetchmail[1651]: 22731 messages (22731 seen) for mrozum at mail.akis.at (-368291991 octets). Apr 8 11:51:23 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 8 11:51:28 srv4hai dhcpd[28085]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0 Apr 8 11:51:28 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0 Apr 8 11:51:28 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 8 11:51:28 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.123 Apr 8 11:51:28 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-23 Apr 8 11:51:28 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0 Apr 8 11:51:28 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0 Apr 8 11:51:28 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#57613/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#45053/key rndc-key: signer "rndc-key" approved Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#45053/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#45053/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416" Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#45053/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#45053/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123 Apr 8 11:51:28 srv4hai dhcpd[28085]: Added new forward map from shelly-23.viehai.at to 192.168.12.123 Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#33001/key rndc-key: signer "rndc-key" approved Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#33001/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR Apr 8 11:51:28 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#33001/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at. Apr 8 11:51:28 srv4hai dhcpd[28085]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at Apr 8 11:51:28 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-23' - shIP/2:'192.168.12.123' Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123' Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING Apr 8 11:51:29 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING Apr 8 11:51:30 srv4hai postfix/anvil[22800]: statistics: max connection rate 1/60s for (smtp:193.222.96.5) at Apr 8 11:48:09 Apr 8 11:51:30 srv4hai postfix/anvil[22800]: statistics: max connection count 1 for (smtp:193.222.96.5) at Apr 8 11:48:09 Apr 8 11:51:30 srv4hai postfix/anvil[22800]: statistics: max cache size 1 at Apr 8 11:48:09 Apr 8 11:51:42 srv4hai activate_scenario[24126]: SHELLY scenario: 'sekr_UM(sekr_um)' started Apr 8 11:51:42 srv4hai activate_scenario[24126]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'
finished