activate_scenario.sh
Sat Jul 20 14:34:35 CEST 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 14:34:35.444
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: 14:34:35.590
Dauer: 145 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 14:34:35.460
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: 14:34:35.530
Dauer: 71 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 2
vorher : 14:34:35.423
nachher: 14:34:35.597
Dauer : 174 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_buero_UM_20240720_143435.txt'
Jul 20 14:31:01 srv4hai CRON[26639]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 14:31:08 srv4hai postfix/smtpd[26644]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 20 14:31:08 srv4hai postfix/smtpd[26644]: connect from unknown[89.32.41.138] Jul 20 14:31:08 srv4hai postfix/smtpd[26644]: 55E566000F: client=unknown[89.32.41.138] Jul 20 14:31:08 srv4hai postfix/cleanup[26648]: 55E566000F: message-id=Jul 20 14:31:08 srv4hai postfix/qmgr[8566]: 55E566000F: from=<>, size=5074, nrcpt=1 (queue active) Jul 20 14:31:08 srv4hai postfix/local[26649]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 20 14:31:08 srv4hai postfix/local[26649]: 55E566000F: to= , orig_to= , relay=local, delay=0.09, delays=0.06/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jul 20 14:31:08 srv4hai postfix/qmgr[8566]: 55E566000F: removed Jul 20 14:31:08 srv4hai postfix/smtpd[26644]: disconnect from unknown[89.32.41.138] ehlo=1 mail=1 rcpt=1 bdat=1 quit=1 commands=5 Jul 20 14:31:22 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Jul 20 14:31:48 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:31:48 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:31:48 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 20 14:31:48 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.105 Jul 20 14:31:48 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-05 Jul 20 14:31:48 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.105 (192.168.12.252) from e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:31:48 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:31:48 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#36801/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-05.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 20 14:31:48 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#53591/key rndc-key: signer "rndc-key" approved Jul 20 14:31:48 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#53591/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' TXT Jul 20 14:31:48 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#53591/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' TXT "004e6fdd302768338ea9006deb3d485f40" Jul 20 14:31:48 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#53591/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' A Jul 20 14:31:48 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#53591/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' A 192.168.12.105 Jul 20 14:31:48 srv4hai dhcpd[30731]: Added new forward map from shelly-05.viehai.at to 192.168.12.105 Jul 20 14:31:48 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#53771/key rndc-key: signer "rndc-key" approved Jul 20 14:31:48 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#53771/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '105.12.168.192.in-addr.arpa' PTR Jul 20 14:31:48 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#53771/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '105.12.168.192.in-addr.arpa' PTR shelly-05.viehai.at. Jul 20 14:31:48 srv4hai dhcpd[30731]: Added reverse map from 105.12.168.192.in-addr.arpa. to shelly-05.viehai.at Jul 20 14:31:48 srv4hai common[26661]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 20 14:31:48 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-05' - shIP/2:'' perform:'conf' Jul 20 14:31:49 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1721478709 - 'ping_SP_0' Jul 20 14:31:49 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 20 14:31:50 srv4hai mosquitto[18551]: New connection from 192.168.12.105 on port 1883. Jul 20 14:31:50 srv4hai mosquitto[18551]: Client shelly1-E8DB84D2A141 already connected, closing old connection. Jul 20 14:31:50 srv4hai mosquitto[18551]: Socket error on client shelly1-E8DB84D2A141, disconnecting. Jul 20 14:31:50 srv4hai mosquitto[18551]: New client connected from 192.168.12.105 as shelly1-E8DB84D2A141 (c1, k60, u'shmqtt'). Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-05' - shIP/2:'192.168.12.105' Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY: usage/name 'Stehlampe Anne hell' already set for '192.168.12.105' Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(0)' - allready transmitted - skipping Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(1)' - allready transmitted - skipping Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(2)' - allready transmitted - skipping Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(3)' - allready transmitted - skipping Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(4)' - allready transmitted - skipping Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 ON : MISSING Jul 20 14:31:50 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 OFF: MISSING Jul 20 14:31:50 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=26805, secured, session= Jul 20 14:31:50 srv4hai dovecot: imap(miglincit)<26805> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 20 14:32:01 srv4hai CRON[26811]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 14:32:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721478722 - 'ping_SP_1' Jul 20 14:32:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 20 14:33:01 srv4hai CRON[26841]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 14:33:02 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1721478782 - 'ping_SP_0' Jul 20 14:33:02 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 20 14:33:15 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721478795 - 'ping_SP_1' Jul 20 14:33:15 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 20 14:33:41 srv4hai systemd[1]: Started Run anacron jobs. Jul 20 14:33:41 srv4hai anacron[26883]: Anacron 2.3 started on 2024-07-20 Jul 20 14:33:41 srv4hai anacron[26883]: Normal exit (0 jobs run) Jul 20 14:33:41 srv4hai systemd[1]: anacron.service: Succeeded. Jul 20 14:34:01 srv4hai CRON[26892]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 14:34:16 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1721478856 - 'ping_SP_0' Jul 20 14:34:16 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 20 14:34:19 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:1e:65:28 via enp2s0 Jul 20 14:34:19 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0 Jul 20 14:34:20 srv4hai mosquitto[18551]: Client shelly1-E8DB84D2A141 has exceeded timeout, disconnecting. Jul 20 14:34:20 srv4hai mosquitto[18551]: Socket error on client shelly1-E8DB84D2A141, disconnecting. Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:1e:65:28 via enp2s0 Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0 Jul 20 14:34:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 20 14:34:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.113 Jul 20 14:34:21 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-13 Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.113 (192.168.12.252) from 98:cd:ac:1e:65:28 via enp2s0 Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0 Jul 20 14:34:21 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#45901/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-13.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: signer "rndc-key" approved Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-13.viehai.at' TXT Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-13.viehai.at' TXT "00003d87d7ce132fb28c24bab993e73221" Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-13.viehai.at' A Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-13.viehai.at' A 192.168.12.113 Jul 20 14:34:21 srv4hai dhcpd[30731]: Added new forward map from shelly-13.viehai.at to 192.168.12.113 Jul 20 14:34:21 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#47135/key rndc-key: signer "rndc-key" approved Jul 20 14:34:21 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#47135/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '113.12.168.192.in-addr.arpa' PTR Jul 20 14:34:21 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#47135/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '113.12.168.192.in-addr.arpa' PTR shelly-13.viehai.at. Jul 20 14:34:21 srv4hai dhcpd[30731]: Added reverse map from 113.12.168.192.in-addr.arpa. to shelly-13.viehai.at Jul 20 14:34:21 srv4hai common[26923]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 20 14:34:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-13' - shIP/2:'' perform:'conf' Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-13' - shIP/2:'192.168.12.113' Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY: usage/name 'Thomas Taster' already set for '192.168.12.113' Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(0)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(1)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(2)' - IGNORED Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(3)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(4)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 20 14:34:23 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.105 Jul 20 14:34:23 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-05 Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(5)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.105 (192.168.12.252) from e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0 Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#49777/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-05.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: signer "rndc-key" approved Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' TXT Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' TXT "004e6fdd302768338ea9006deb3d485f40" Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' A Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' A 192.168.12.105 Jul 20 14:34:23 srv4hai dhcpd[30731]: Added new forward map from shelly-05.viehai.at to 192.168.12.105 Jul 20 14:34:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#58127/key rndc-key: signer "rndc-key" approved Jul 20 14:34:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#58127/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '105.12.168.192.in-addr.arpa' PTR Jul 20 14:34:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#58127/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '105.12.168.192.in-addr.arpa' PTR shelly-05.viehai.at. Jul 20 14:34:23 srv4hai dhcpd[30731]: Added reverse map from 105.12.168.192.in-addr.arpa. to shelly-05.viehai.at Jul 20 14:34:23 srv4hai common[27034]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 20 14:34:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-05' - shIP/2:'' perform:'conf' Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(6)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(7)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(8)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(9)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(10)' - allready transmitted - skipping Jul 20 14:34:23 srv4hai ag: grab_shelly.sh SHELLY shelly-13 - (shelly-BTN): 0% - 1.79V Jul 20 14:34:24 srv4hai mosquitto[18551]: New connection from 192.168.12.105 on port 1883. Jul 20 14:34:24 srv4hai mosquitto[18551]: New client connected from 192.168.12.105 as shelly1-E8DB84D2A141 (c1, k60, u'shmqtt'). Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-05' - shIP/2:'192.168.12.105' Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY: usage/name 'Stehlampe Anne hell' already set for '192.168.12.105' Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(0)' - allready transmitted - skipping Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(1)' - allready transmitted - skipping Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(2)' - allready transmitted - skipping Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(3)' - allready transmitted - skipping Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(4)' - allready transmitted - skipping Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 ON : MISSING Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 OFF: MISSING Jul 20 14:34:24 srv4hai mosquitto[18551]: Client shellyblugw-08d1f90c8da4 has exceeded timeout, disconnecting. Jul 20 14:34:24 srv4hai mosquitto[18551]: Socket error on client shellyblugw-08d1f90c8da4, disconnecting. Jul 20 14:34:28 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721478868 - 'ping_SP_1' Jul 20 14:34:28 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 20 14:34:28 srv4hai postfix/anvil[26646]: statistics: max connection rate 1/60s for (smtp:89.32.41.138) at Jul 20 14:31:08 Jul 20 14:34:28 srv4hai postfix/anvil[26646]: statistics: max connection count 1 for (smtp:89.32.41.138) at Jul 20 14:31:08 Jul 20 14:34:28 srv4hai postfix/anvil[26646]: statistics: max cache size 1 at Jul 20 14:31:08 Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY scenario: 'buero_UM(buero_um)' started Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished