activate_scenario.sh
Sun Feb 9 00:48:27 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/02/09/_0.log)

vorher: 00:48:27.400

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: 00:48:27.420
Dauer: 19 msec phName: 'shelly-23:'WZ Licht Sofa''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_1.log)

vorher: 00:48:27.421

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": "http"

nachher: 00:48:27.519
Dauer: 97 msec phName: 'shelly-23:'WZ Licht Sofa''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_2.log)

vorher: 00:48:27.441

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": "http"

nachher: 00:48:27.515
Dauer: 74 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_3.log)

vorher: 00:48:27.460

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: 00:48:27.490
Dauer: 30 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 00:48:27.481

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: 00:48:27.630
Dauer: 149 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 00:48:27.502

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: 00:48:27.615
Dauer: 114 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 00:48:27.523

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: 00:48:27.616
Dauer: 92 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 00:48:27.544

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: 00:48:27.629
Dauer: 85 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 00:48:27.563

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: 00:48:27.621
Dauer: 59 msec phName: 'shelly-23:'WZ Licht Sofa''


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

vorher: 00:48:27.583

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: 00:48:27.636
Dauer: 53 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_10.log)

vorher: 00:48:27.601

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: 00:48:27.653
Dauer: 51 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_11.log)

vorher: 00:48:27.621

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: 00:48:27.652
Dauer: 32 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_12.log)

vorher: 00:48:27.641

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: 00:48:27.762
Dauer: 121 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_13.log)

vorher: 00:48:27.664

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

nachher: 00:48:27.705
Dauer: 41 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/02/09/_14.log)

vorher: 00:48:27.684

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: 00:48:27.717
Dauer: 34 msec phName: 'shelly-23:'WZ Licht Sofa''


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

urls : 15
vorher : 00:48:27.373
nachher: 00:48:27.770
Dauer : 398 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/09//scene_offDownstairs_20250209_004827.txt'


syslog

Feb  9 00:45:00 srv4hai common[30278]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:45:00 srv4hai common[30302]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:45:00 srv4hai common[30326]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:45:01 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 108 to 109
Feb  9 00:45:01 srv4hai CRON[30354]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 00:45:10 srv4hai ping_SP[10592]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739058310 - 'ping_SP_1'
Feb  9 00:45:10 srv4hai ping_SP[10592]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  9 00:45:27 srv4hai ping_SP[6843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739058327 - 'ping_SP_0'
Feb  9 00:45:27 srv4hai ping_SP[6843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  9 00:45:35 srv4hai common[30400]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:45:35 srv4hai common[30443]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:45:59 srv4hai common[30477]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:45:59 srv4hai common[30501]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:46:00 srv4hai common[30525]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:46:01 srv4hai CRON[30550]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 00:46:23 srv4hai ping_SP[10592]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739058383 - 'ping_SP_1'
Feb  9 00:46:23 srv4hai ping_SP[10592]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  9 00:46:26 srv4hai postfix/smtpd[29553]: connect from unknown[45.144.212.200]
Feb  9 00:46:26 srv4hai postfix/smtpd[29553]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  9 00:46:26 srv4hai postfix/smtpd[29553]: lost connection after AUTH from unknown[45.144.212.200]
Feb  9 00:46:26 srv4hai postfix/smtpd[29553]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2
Feb  9 00:46:35 srv4hai common[30585]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:46:35 srv4hai common[30611]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:46:38 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb  9 00:46:38 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  9 00:46:38 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Feb  9 00:46:38 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb  9 00:46:38 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  9 00:46:38 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb  9 00:46:38 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb  9 00:46:38 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb  9 00:46:38 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#52047/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#37059/key rndc-key: signer "rndc-key" approved
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#37059/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#37059/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#37059/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#37059/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb  9 00:46:38 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#42259/key rndc-key: signer "rndc-key" approved
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#42259/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb  9 00:46:38 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#42259/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.
Feb  9 00:46:38 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb  9 00:46:38 srv4hai common[30638]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb  9 00:46:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb  9 00:46:40 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb  9 00:46:40 srv4hai ping_SP[6843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739058400 - 'ping_SP_0'
Feb  9 00:46:40 srv4hai ping_SP[6843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  9 00:46:40 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb  9 00:46:40 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb  9 00:46:40 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb  9 00:46:40 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb  9 00:46:41 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb  9 00:46:41 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb  9 00:46:41 srv4hai common[30720]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:46:41 srv4hai common[30745]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:46:48 srv4hai postfix/smtpd[29553]: warning: hostname scanner-05.ch1.censys-scanner.com does not resolve to address 162.142.125.216: Name or service not known
Feb  9 00:46:48 srv4hai postfix/smtpd[29553]: connect from unknown[162.142.125.216]
Feb  9 00:46:51 srv4hai postfix/smtpd[29553]: lost connection after STARTTLS from unknown[162.142.125.216]
Feb  9 00:46:51 srv4hai postfix/smtpd[29553]: disconnect from unknown[162.142.125.216] ehlo=1 starttls=1 commands=2
Feb  9 00:46:59 srv4hai common[30796]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:46:59 srv4hai common[30823]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:47:00 srv4hai common[30847]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:47:00 srv4hai postfix/smtpd[29553]: connect from unknown[45.144.212.200]
Feb  9 00:47:00 srv4hai postfix/smtpd[29553]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  9 00:47:00 srv4hai postfix/smtpd[29553]: lost connection after AUTH from unknown[45.144.212.200]
Feb  9 00:47:00 srv4hai postfix/smtpd[29553]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2
Feb  9 00:47:01 srv4hai CRON[30872]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 00:47:12 srv4hai postfix/smtpd[29553]: connect from unknown[unknown]
Feb  9 00:47:12 srv4hai postfix/smtpd[29553]: lost connection after CONNECT from unknown[unknown]
Feb  9 00:47:12 srv4hai postfix/smtpd[29553]: disconnect from unknown[unknown] commands=0/0
Feb  9 00:47:35 srv4hai common[30889]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:47:35 srv4hai common[30913]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:47:37 srv4hai ping_SP[10592]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739058457 - 'ping_SP_1'
Feb  9 00:47:37 srv4hai ping_SP[10592]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  9 00:47:53 srv4hai ping_SP[6843]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739058473 - 'ping_SP_0'
Feb  9 00:47:53 srv4hai ping_SP[6843]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  9 00:47:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30979, secured, session=
Feb  9 00:47:54 srv4hai dovecot: imap(miglincit)<30979>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  9 00:48:00 srv4hai common[30981]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:48:00 srv4hai common[31005]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:48:00 srv4hai common[31029]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  9 00:48:01 srv4hai CRON[31056]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 00:48:05 srv4hai postfix/anvil[27628]: statistics: max connection rate 2/60s for (smtp:45.144.212.200) at Feb  9 00:38:36
Feb  9 00:48:05 srv4hai postfix/anvil[27628]: statistics: max connection count 1 for (smtp:45.144.212.200) at Feb  9 00:38:05
Feb  9 00:48:05 srv4hai postfix/anvil[27628]: statistics: max cache size 3 at Feb  9 00:44:12
Feb  9 00:48:27 srv4hai activate_scenario[31067]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Feb  9 00:48:27 srv4hai activate_scenario[31067]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished