activate_scenario.sh
Mon Dec 30 18:53:41 CET 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x
vorher: 18:53:41.582
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: 18:53:41.610
Dauer: 28 msec
phName: 'origin:'dhcpcommit.sh-pchai7x''
urls : 1
vorher : 18:53:41.522
nachher: 18:53:41.617
Dauer : 97 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/30//scene_pcON_20241230_185341.txt'
Dec 30 18:50:01 srv4hai CRON[20330]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Dec 30 18:50:01 srv4hai CRON[20331]: (root) CMD (/etc/linetest/linetest.sh) Dec 30 18:50:01 srv4hai common[20332]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Dec 30 18:50:01 srv4hai meter.sh: SHELLY meter.sh started Dec 30 18:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring Dec 30 18:50:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring Dec 30 18:50:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Dec 30 18:50:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Dec 30 18:50:05 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring Dec 30 18:50:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Dec 30 18:50:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Dec 30 18:50:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 30 18:50:11 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1735581011 - 'ping_SP_1' Dec 30 18:50:11 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring Dec 30 18:50:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Dec 30 18:50:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Dec 30 18:50:12 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring Dec 30 18:50:14 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 30 18:50:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Dec 30 18:50:15 srv4hai common[21347]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Dec 30 18:50:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn' Dec 30 18:50:15 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs Dec 30 18:50:15 srv4hai meter.sh: SHELLY meter.sh ended Dec 30 18:50:26 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1735581026 - 'ping_SP_0' Dec 30 18:50:26 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 30 18:50:57 srv4hai postfix/anvil[17525]: statistics: max connection rate 1/60s for (smtp:60.190.248.12) at Dec 30 18:40:57 Dec 30 18:50:57 srv4hai postfix/anvil[17525]: statistics: max connection count 1 for (smtp:60.190.248.12) at Dec 30 18:40:57 Dec 30 18:50:57 srv4hai postfix/anvil[17525]: statistics: max cache size 2 at Dec 30 18:41:01 Dec 30 18:51:01 srv4hai CRON[21426]: (root) CMD (/etc/linetest/linetest.sh) Dec 30 18:51:24 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1735581084 - 'ping_SP_1' Dec 30 18:51:24 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 30 18:51:35 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Dec 30 18:51:36 srv4hai fetchmail[1651]: 60427 messages (60427 seen) for tmiglinci at mail.akis.at (667017900 octets). Dec 30 18:51:37 srv4hai fetchmail[1651]: 11310 messages (11310 seen) for srozum at mail.akis.at (1353744752 octets). Dec 30 18:51:37 srv4hai fetchmail[1651]: 28100 messages (28100 seen) for mrozum at mail.akis.at (527202001 octets). Dec 30 18:51:38 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets). Dec 30 18:51:39 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1735581099 - 'ping_SP_0' Dec 30 18:51:39 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 30 18:51:43 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:43 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:44 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:44 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:44 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Dec 30 18:51:44 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5 Dec 30 18:51:44 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1 Dec 30 18:51:44 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:44 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:44 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#42039/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 30 18:51:44 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#37173/key rndc-key: signer "rndc-key" approved Dec 30 18:51:44 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#37173/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT Dec 30 18:51:44 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#37173/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635" Dec 30 18:51:44 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#37173/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A Dec 30 18:51:44 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#37173/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5 Dec 30 18:51:44 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1' Dec 30 18:51:44 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5 Dec 30 18:51:44 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#44067/key rndc-key: signer "rndc-key" approved Dec 30 18:51:44 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#44067/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR Dec 30 18:51:44 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#44067/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at. Dec 30 18:51:44 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at Dec 30 18:51:44 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted Dec 30 18:51:46 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Dec 30 18:51:46 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5 Dec 30 18:51:46 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1 Dec 30 18:51:46 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:46 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Dec 30 18:51:46 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#49081/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 30 18:51:46 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#36903/key rndc-key: signer "rndc-key" approved Dec 30 18:51:46 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#36903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT Dec 30 18:51:46 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#36903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635" Dec 30 18:51:46 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#36903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A Dec 30 18:51:46 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#36903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5 Dec 30 18:51:46 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1' Dec 30 18:51:46 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5 Dec 30 18:51:46 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#54603/key rndc-key: signer "rndc-key" approved Dec 30 18:51:46 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#54603/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR Dec 30 18:51:46 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#54603/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at. Dec 30 18:51:46 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at Dec 30 18:51:46 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted Dec 30 18:52:01 srv4hai CRON[21523]: (root) CMD (/etc/linetest/linetest.sh) Dec 30 18:52:37 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1735581157 - 'ping_SP_1' Dec 30 18:52:37 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 30 18:52:43 srv4hai postfix/smtpd[21583]: connect from unknown[80.94.95.239] Dec 30 18:52:43 srv4hai postfix/smtpd[21583]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 30 18:52:43 srv4hai postfix/smtpd[21583]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Dec 30 18:52:53 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1735581173 - 'ping_SP_0' Dec 30 18:52:53 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 30 18:53:01 srv4hai CRON[21613]: (root) CMD (/etc/linetest/linetest.sh) Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY last scenario: 'vorraumOn' @ '184521' from 'scene_vorraumOn_20241230_184521.txt' - delta=-5 Dec 30 18:53:26 srv4hai activate_scenario[21633]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20241230185326 20241230184521 -f '%S' Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY new scenario: 'buero_UM' different - GO ON Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY scenario: 'buero_UM(buero_um)' started Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht' Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht' Dec 30 18:53:26 srv4hai postfix/pickup[11731]: 4D78363463: uid=33 from=Dec 30 18:53:26 srv4hai postfix/cleanup[21698]: 4D78363463: message-id=<20241230175326.4D78363463@mail.viehai.at> Dec 30 18:53:26 srv4hai postfix/qmgr[8566]: 4D78363463: from= , size=12765, nrcpt=1 (queue active) Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle' Dec 30 18:53:26 srv4hai proc_url[21716]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/30/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Dec 30 18:53:26 srv4hai postfix/local[21711]: 4D78363463: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Dec 30 18:53:26 srv4hai postfix/cleanup[21698]: 54E4C63464: message-id=<20241230175326.54E4C63464@mail.viehai.at> Dec 30 18:53:26 srv4hai postfix/bounce[21712]: 4D78363463: sender non-delivery notification: 54E4C63464 Dec 30 18:53:26 srv4hai postfix/qmgr[8566]: 54E4C63464: from=<>, size=14644, nrcpt=1 (queue active) Dec 30 18:53:26 srv4hai postfix/qmgr[8566]: 4D78363463: removed Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle' Dec 30 18:53:26 srv4hai postfix/local[21711]: 54E4C63464: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 30 18:53:26 srv4hai postfix/qmgr[8566]: 54E4C63464: removed Dec 30 18:53:26 srv4hai proc_url[21728]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/30/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Dec 30 18:53:26 srv4hai activate_scenario[21633]: SHELLY scenario: 'buero_UM(buero_um)' took 81 msec, shelly-40:'TB Licht' Dec 30 18:53:41 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Dec 30 18:53:41 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10 Dec 30 18:53:41 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x Dec 30 18:53:41 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Dec 30 18:53:41 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Dec 30 18:53:41 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#57165/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 30 18:53:41 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#44849/key rndc-key: signer "rndc-key" approved Dec 30 18:53:41 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#44849/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Dec 30 18:53:41 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#44849/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Dec 30 18:53:41 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#44849/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Dec 30 18:53:41 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#44849/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Dec 30 18:53:41 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Dec 30 18:53:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Dec 30 18:53:41 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#52033/key rndc-key: signer "rndc-key" approved Dec 30 18:53:41 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#52033/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Dec 30 18:53:41 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#52033/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. Dec 30 18:53:41 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Dec 30 18:53:41 srv4hai activate_scenario[21785]: SHELLY last scenario: 'buero_UM' @ '185326' from 'scene_buero_UM_20241230_185326.txt' - delta=-15 Dec 30 18:53:41 srv4hai activate_scenario[21785]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20241230185341 20241230185326 -f '%S' Dec 30 18:53:41 srv4hai activate_scenario[21785]: SHELLY new scenario: 'pcON' different - GO ON Dec 30 18:53:41 srv4hai activate_scenario[21785]: SHELLY scenario: 'pcON(pcon)' started Dec 30 18:53:41 srv4hai activate_scenario[21785]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
finished