activate_scenario.sh
Sat Nov 23 19:31:24 CET 2024
scenario: SophieZimmerOFF
source: 192.168.12.109
vorher: 19:31:24.257
http://192.168.12.109/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 19:31:24.314
Dauer: 58 msec
phName: 'shelly-09:'GB Licht''
vorher: 19:31:24.274
http://192.168.12.142/light/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0 |
nachher: 19:31:24.337
Dauer: 63 msec
phName: 'shelly-09:'GB Licht''
vorher: 19:31:24.288
http://192.168.12.147/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started_at": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 19:31:24.330
Dauer: 42 msec
phName: 'shelly-09:'GB Licht''
vorher: 19:31:24.300
http://192.168.12.153/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started_at": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 19:31:24.368
Dauer: 67 msec
phName: 'shelly-09:'GB Licht''
vorher: 19:31:24.314
http://192.168.12.154/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started_at": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 19:31:24.339
Dauer: 25 msec
phName: 'shelly-09:'GB Licht''
urls : 5
vorher : 19:31:24.231
nachher: 19:31:24.376
Dauer : 146 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/23//scene_SophieZimmerOFF_20241123_193124.txt'
Nov 23 19:28:01 srv4hai CRON[17237]: (root) CMD (/etc/linetest/linetest.sh) Nov 23 19:28:09 srv4hai ping_SP[26727]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1732386489 - 'ping_SP_0' Nov 23 19:28:09 srv4hai ping_SP[26727]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Nov 23 19:28:16 srv4hai mosquitto[18551]: Client shelly1minig3-cc8da25c2c04 has exceeded timeout, disconnecting. Nov 23 19:28:16 srv4hai mosquitto[18551]: Socket error on client shelly1minig3-cc8da25c2c04, disconnecting. Nov 23 19:29:01 srv4hai CRON[17290]: (root) CMD (/etc/linetest/linetest.sh) Nov 23 19:29:04 srv4hai postfix/anvil[2069]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 23 19:25:40 Nov 23 19:29:04 srv4hai postfix/anvil[2069]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 23 19:25:40 Nov 23 19:29:04 srv4hai postfix/anvil[2069]: statistics: max cache size 1 at Nov 23 19:25:40 Nov 23 19:29:06 srv4hai ping_SP[25771]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1732386546 - 'ping_SP_1' Nov 23 19:29:06 srv4hai ping_SP[25771]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Nov 23 19:29:22 srv4hai ping_SP[26727]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1732386562 - 'ping_SP_0' Nov 23 19:29:22 srv4hai ping_SP[26727]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Nov 23 19:29:31 srv4hai postfix/smtpd[17345]: connect from unknown[80.94.95.239] Nov 23 19:29:31 srv4hai postfix/smtpd[17345]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Nov 23 19:29:31 srv4hai postfix/smtpd[17345]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Nov 23 19:29:37 srv4hai dhcpd[21239]: uid lease 192.168.12.52 for client cc:8d:a2:5c:2c:04 is duplicate on 192.168.12.0/24 Nov 23 19:29:37 srv4hai dhcpd[21239]: DHCPDISCOVER from cc:8d:a2:5c:2c:04 via enp2s0 Nov 23 19:29:37 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.153 to cc:8d:a2:5c:2c:04 via enp2s0 Nov 23 19:29:37 srv4hai dhcpd[21239]: uid lease 192.168.12.52 for client cc:8d:a2:5c:2c:04 is duplicate on 192.168.12.0/24 Nov 23 19:29:37 srv4hai dhcpd[21239]: DHCPDISCOVER from cc:8d:a2:5c:2c:04 via enp2s0 Nov 23 19:29:37 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.153 to cc:8d:a2:5c:2c:04 via enp2s0 Nov 23 19:29:37 srv4hai dhcpd[21239]: uid lease 192.168.12.52 for client cc:8d:a2:5c:2c:04 is duplicate on 192.168.12.0/24 Nov 23 19:29:37 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Nov 23 19:29:37 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.153 Nov 23 19:29:37 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-53 Nov 23 19:29:37 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.153 (192.168.12.252) from cc:8d:a2:5c:2c:04 via enp2s0 Nov 23 19:29:37 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.153 to cc:8d:a2:5c:2c:04 via enp2s0 Nov 23 19:29:37 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#39467/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-53.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Nov 23 19:29:37 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55801/key rndc-key: signer "rndc-key" approved Nov 23 19:29:37 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55801/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-53.viehai.at' TXT Nov 23 19:29:37 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55801/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-53.viehai.at' TXT "31fd9868602af4820cb37457c9045a52b1" Nov 23 19:29:37 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55801/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-53.viehai.at' A Nov 23 19:29:37 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#55801/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-53.viehai.at' A 192.168.12.153 Nov 23 19:29:37 srv4hai dhcpd[21239]: Added new forward map from shelly-53.viehai.at to 192.168.12.153 Nov 23 19:29:37 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#43705/key rndc-key: signer "rndc-key" approved Nov 23 19:29:37 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#43705/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '153.12.168.192.in-addr.arpa' PTR Nov 23 19:29:37 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#43705/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '153.12.168.192.in-addr.arpa' PTR shelly-53.viehai.at. Nov 23 19:29:37 srv4hai dhcpd[21239]: Added reverse map from 153.12.168.192.in-addr.arpa. to shelly-53.viehai.at Nov 23 19:29:37 srv4hai common[17350]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Nov 23 19:29:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-53' - shIP/2:'' perform:'conf' Nov 23 19:29:38 srv4hai mosquitto[18551]: New connection from 192.168.12.153 on port 1883. Nov 23 19:29:38 srv4hai mosquitto[18551]: New client connected from 192.168.12.153 as shelly1minig3-cc8da25c2c04 (c1, k60, u'shmqtt'). Nov 23 19:29:39 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-53' - shIP/2:'192.168.12.153' Nov 23 19:29:39 srv4hai conf_shelly.sh: SHELLY: 'shelly-53'(192.168.12.153) --> 'GB Sofalampe' Nov 23 19:29:39 srv4hai conf_shelly.sh: SHELLY: 'shelly-53' - 'curl --connect-timeout 3 --silent -X -POST -d '{"id":101,"method":"Sys.SetConfig","params":{"config":{"device":{"name":"GB Sofalampe"}}}}' http://192.168.12.153/rpc | jq -r '.'' - '' Nov 23 19:29:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17405, secured, session= Nov 23 19:29:45 srv4hai dovecot: imap(miglincit)<17405> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Nov 23 19:29:48 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=17409, secured, session= Nov 23 19:29:48 srv4hai dovecot: imap(miglincit)<17409>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Nov 23 19:30:01 srv4hai CRON[17426]: (root) CMD (/etc/linetest/linetest.sh) Nov 23 19:30:01 srv4hai CRON[17427]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) Nov 23 19:30:01 srv4hai CRON[17428]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Nov 23 19:30:01 srv4hai common[17429]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Nov 23 19:30:01 srv4hai meter.sh: SHELLY meter.sh started Nov 23 19:30:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring Nov 23 19:30:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring Nov 23 19:30:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Nov 23 19:30:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Nov 23 19:30:05 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring Nov 23 19:30:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Nov 23 19:30:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Nov 23 19:30:07 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Nov 23 19:30:10 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring Nov 23 19:30:13 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Nov 23 19:30:13 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Nov 23 19:30:13 srv4hai common[18412]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Nov 23 19:30:13 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON' Nov 23 19:30:13 srv4hai check_shelly.sh: SHELLY found '10' active shelly outputs Nov 23 19:30:13 srv4hai meter.sh: SHELLY meter.sh ended Nov 23 19:30:19 srv4hai ping_SP[25771]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1732386619 - 'ping_SP_1' Nov 23 19:30:19 srv4hai ping_SP[25771]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Nov 23 19:30:28 srv4hai systemd[1]: Started Run anacron jobs. Nov 23 19:30:28 srv4hai anacron[18458]: Anacron 2.3 started on 2024-11-23 Nov 23 19:30:28 srv4hai anacron[18458]: Normal exit (0 jobs run) Nov 23 19:30:28 srv4hai systemd[1]: anacron.service: Succeeded. Nov 23 19:30:35 srv4hai ping_SP[26727]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1732386635 - 'ping_SP_0' Nov 23 19:30:35 srv4hai ping_SP[26727]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Nov 23 19:31:01 srv4hai CRON[18494]: (root) CMD (/etc/linetest/linetest.sh) Nov 23 19:31:24 srv4hai activate_scenario[18518]: SHELLY scenario: 'SophieZimmerOFF(sophiezimmeroff)' started Nov 23 19:31:24 srv4hai activate_scenario[18518]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-09:'GB Licht'
finished