activate_scenario.sh
Mon Jan 13 22:27:17 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/13/_0.log)

vorher: 22:27:17.163

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:27:17.193
Dauer: 30 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.182

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:27:17.211
Dauer: 29 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.202

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:27:17.229
Dauer: 27 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.221

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

nachher: 22:27:17.252
Dauer: 31 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.239

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

nachher: 22:27:17.266
Dauer: 27 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.258

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:27:17.500
Dauer: 243 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.278

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": 0,
  "overpower": false

nachher: 22:27:17.408
Dauer: 129 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.296

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": 0,
  "overpower": false

nachher: 22:27:17.404
Dauer: 108 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.316

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:27:17.338
Dauer: 22 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.334

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:27:17.381
Dauer: 46 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.354

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:27:17.406
Dauer: 52 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.372

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:27:17.402
Dauer: 30 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.393

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:27:17.421
Dauer: 29 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.413

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:27:17.454
Dauer: 42 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 22:27:17.434

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:27:17.452
Dauer: 17 msec phName: 'shelly-23:'WZ Licht Sofa''


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

urls : 15
vorher : 22:27:17.136
nachher: 22:27:17.515
Dauer : 378 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/13//scene_offDownstairs_20250113_222717.txt'


syslog

Jan 13 22:24:00 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:00 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:00 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 13 22:24:00 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Jan 13 22:24:00 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Jan 13 22:24:00 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:00 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#41165/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#44669/key rndc-key: signer "rndc-key" approved
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#44669/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#44669/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#44669/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#44669/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Jan 13 22:24:00 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#49749/key rndc-key: signer "rndc-key" approved
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#49749/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Jan 13 22:24:00 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#49749/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 13 22:24:00 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Jan 13 22:24:00 srv4hai common[12619]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 13 22:24:00 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Jan 13 22:24:01 srv4hai CRON[12633]: (root) CMD (/etc/linetest/linetest.sh)
Jan 13 22:24:01 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Jan 13 22:24:01 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Jan 13 22:24:01 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Jan 13 22:24:01 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Jan 13 22:24:01 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Jan 13 22:24:01 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Jan 13 22:24:01 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Jan 13 22:24:12 srv4hai ping_SP[10517]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736803452 - 'ping_SP_1'
Jan 13 22:24:12 srv4hai ping_SP[10517]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 13 22:24:13 srv4hai ping_SP[6212]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736803453 - 'ping_SP_0'
Jan 13 22:24:13 srv4hai ping_SP[6212]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 13 22:24:51 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:51 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:51 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 13 22:24:51 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Jan 13 22:24:51 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Jan 13 22:24:51 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:51 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#40065/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33191/key rndc-key: signer "rndc-key" approved
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33191/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33191/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33191/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#33191/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Jan 13 22:24:51 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#39659/key rndc-key: signer "rndc-key" approved
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#39659/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Jan 13 22:24:51 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#39659/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 13 22:24:51 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Jan 13 22:24:51 srv4hai common[12763]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 13 22:24:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Jan 13 22:24:52 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Jan 13 22:24:52 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Jan 13 22:24:52 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Jan 13 22:24:52 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Jan 13 22:24:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Jan 13 22:24:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Jan 13 22:24:52 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Jan 13 22:24:52 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Jan 13 22:24:52 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Jan 13 22:25:01 srv4hai CRON[12847]: (root) CMD (/etc/linetest/linetest.sh)
Jan 13 22:25:26 srv4hai ping_SP[10517]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736803525 - 'ping_SP_1'
Jan 13 22:25:26 srv4hai ping_SP[10517]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 13 22:25:26 srv4hai ping_SP[6212]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736803526 - 'ping_SP_0'
Jan 13 22:25:26 srv4hai ping_SP[6212]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 13 22:26:01 srv4hai CRON[12913]: (root) CMD (/etc/linetest/linetest.sh)
Jan 13 22:26:39 srv4hai ping_SP[10517]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1736803599 - 'ping_SP_1'
Jan 13 22:26:39 srv4hai ping_SP[10517]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 13 22:26:39 srv4hai ping_SP[6212]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736803599 - 'ping_SP_0'
Jan 13 22:26:39 srv4hai ping_SP[6212]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 13 22:26:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12974, secured, session=
Jan 13 22:26:50 srv4hai dovecot: imap(miglincit)<12974>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 13 22:26:59 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jan 13 22:26:59 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.28
Jan 13 22:26:59 srv4hai dhcpd[4995]: execute_statement argv[2] = harmonyhub
Jan 13 22:26:59 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Jan 13 22:26:59 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#33939/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#37963/key rndc-key: signer "rndc-key" approved
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#37963/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#37963/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#37963/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#37963/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Jan 13 22:26:59 srv4hai dhcpd[4995]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Jan 13 22:26:59 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#36123/key rndc-key: signer "rndc-key" approved
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#36123/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Jan 13 22:26:59 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#36123/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Jan 13 22:26:59 srv4hai dhcpd[4995]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Jan 13 22:26:59 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Jan 13 22:27:01 srv4hai CRON[12987]: (root) CMD (/etc/linetest/linetest.sh)
Jan 13 22:27:17 srv4hai activate_scenario[12997]: SHELLY last scenario: 'nasszeile_um' @ '222239' from 'scene_nasszeile_um_20250113_222239.txt' - delta=22
Jan 13 22:27:17 srv4hai activate_scenario[12997]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250113222717 20250113222239  -f '%S'
Jan 13 22:27:17 srv4hai activate_scenario[12997]: SHELLY  new scenario: 'offDownstairs' different - GO ON
Jan 13 22:27:17 srv4hai activate_scenario[12997]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jan 13 22:27:17 srv4hai activate_scenario[12997]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished