activate_scenario.sh
Wed Jan 8 22:38:03 CET 2025
scenario: offDownstairs
source: 192.168.12.123

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_0.log)

vorher: 22:38:04.020

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:38:04.037
Dauer: 16 msec phName: 'shelly-23:'WZ Licht Sofa''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_1.log)

vorher: 22:38:04.040

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 22:38:04.181
Dauer: 142 msec phName: 'shelly-23:'WZ Licht Sofa''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_2.log)

vorher: 22:38:04.059

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 22:38:04.184
Dauer: 124 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_3.log)

vorher: 22:38:04.079

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:38:04.111
Dauer: 33 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_4.log)

vorher: 22:38:04.097

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:38:04.185
Dauer: 88 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_5.log)

vorher: 22:38:04.115

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:38:04.284
Dauer: 168 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_6.log)

vorher: 22:38:04.136

http://192.168.12.116/white/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,
  "power": 12.72,
  "overpower": false

nachher: 22:38:04.179
Dauer: 43 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_7.log)

vorher: 22:38:04.154

http://192.168.12.116/white/1?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,
  "power": 12.72,
  "overpower": false

nachher: 22:38:04.215
Dauer: 61 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_8.log)

vorher: 22:38:04.172

http://192.168.12.117/white/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,
  "power": 0,
  "overpower": false

nachher: 22:38:04.283
Dauer: 111 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_9.log)

vorher: 22:38:04.193

http://192.168.12.117/white/1?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,
  "power": 0,
  "overpower": false

nachher: 22:38:04.318
Dauer: 126 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_10.log)

vorher: 22:38:04.210

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:38:04.239
Dauer: 29 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_11.log)

vorher: 22:38:04.229

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:38:04.265
Dauer: 35 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_12.log)

vorher: 22:38:04.249

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:38:04.389
Dauer: 139 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_13.log)

vorher: 22:38:04.268

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:38:04.486
Dauer: 218 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/01/08/_14.log)

vorher: 22:38:04.290

http://192.168.12.152/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:38:04.379
Dauer: 89 msec phName: 'shelly-23:'WZ Licht Sofa''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 15
vorher : 22:38:03.970
nachher: 22:38:04.494
Dauer : 526 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/08//scene_offDownstairs_20250108_223803.txt'


syslog

Jan  8 22:35:00 srv4hai ping_SP[5613]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736372100 - 'ping_SP_1'
Jan  8 22:35:00 srv4hai ping_SP[5613]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan  8 22:35:01 srv4hai CRON[2785]: (root) CMD (/etc/linetest/linetest.sh)
Jan  8 22:35:28 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan  8 22:35:28 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan  8 22:35:28 srv4hai ping_SP[22604]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736372128 - 'ping_SP_0'
Jan  8 22:35:28 srv4hai ping_SP[22604]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan  8 22:35:30 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan  8 22:35:30 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan  8 22:35:30 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan  8 22:35:30 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Jan  8 22:35:30 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Jan  8 22:35:30 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Jan  8 22:35:30 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#46771/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#57643/key rndc-key: signer "rndc-key" approved
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#57643/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#57643/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#57643/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#57643/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Jan  8 22:35:30 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#44287/key rndc-key: signer "rndc-key" approved
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#44287/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Jan  8 22:35:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#44287/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Jan  8 22:35:30 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Jan  8 22:35:30 srv4hai common[2812]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan  8 22:35:30 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Jan  8 22:35:31 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Jan  8 22:35:31 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Jan  8 22:35:31 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Jan  8 22:35:31 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Jan  8 22:35:31 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Jan  8 22:35:31 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Jan  8 22:35:31 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Jan  8 22:35:31 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Jan  8 22:35:31 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Jan  8 22:36:01 srv4hai CRON[2904]: (root) CMD (/etc/linetest/linetest.sh)
Jan  8 22:36:02 srv4hai postfix/anvil[2478]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Jan  8 22:32:42
Jan  8 22:36:02 srv4hai postfix/anvil[2478]: statistics: max connection count 1 for (smtp:80.94.95.239) at Jan  8 22:32:42
Jan  8 22:36:02 srv4hai postfix/anvil[2478]: statistics: max cache size 1 at Jan  8 22:32:42
Jan  8 22:36:13 srv4hai ping_SP[5613]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736372173 - 'ping_SP_1'
Jan  8 22:36:13 srv4hai ping_SP[5613]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan  8 22:36:37 srv4hai postfix/smtpd[2936]: connect from unknown[80.94.95.239]
Jan  8 22:36:37 srv4hai postfix/smtpd[2936]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jan  8 22:36:37 srv4hai postfix/smtpd[2936]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Jan  8 22:36:41 srv4hai ping_SP[22604]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736372201 - 'ping_SP_0'
Jan  8 22:36:41 srv4hai ping_SP[22604]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan  8 22:37:01 srv4hai CRON[2960]: (root) CMD (/etc/linetest/linetest.sh)
Jan  8 22:37:26 srv4hai ping_SP[5613]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736372246 - 'ping_SP_1'
Jan  8 22:37:26 srv4hai ping_SP[5613]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan  8 22:37:55 srv4hai ping_SP[22604]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736372275 - 'ping_SP_0'
Jan  8 22:37:55 srv4hai ping_SP[22604]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan  8 22:38:01 srv4hai CRON[3008]: (root) CMD (/etc/linetest/linetest.sh)
Jan  8 22:38:03 srv4hai activate_scenario[3015]: SHELLY last scenario: 'bedlight_tom' @ '223339' from 'scene_bedlight_tom_20250108_223339.txt' - delta=36
Jan  8 22:38:03 srv4hai activate_scenario[3015]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250108223803 20250108223339  -f '%S'
Jan  8 22:38:03 srv4hai activate_scenario[3015]: SHELLY  new scenario: 'offDownstairs' different - GO ON
Jan  8 22:38:03 srv4hai activate_scenario[3015]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jan  8 22:38:03 srv4hai activate_scenario[3015]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished