activate_scenario.sh
Mon Feb 3 07:13:19 CET 2025
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/02/03/_0.log)

vorher: 07:13:19.857

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: 07:13:19.919
Dauer: 62 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/03/_1.log)

vorher: 07:13:19.876

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: 07:13:19.926
Dauer: 50 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 07:13:19.831
nachher: 07:13:19.932
Dauer : 101 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/03//scene_buero_UM_20250203_071319.txt'


syslog

Feb  3 07:10:00 srv4hai common[6290]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:10:01 srv4hai CRON[6316]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  3 07:10:01 srv4hai CRON[6317]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 07:10:01 srv4hai common[6319]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb  3 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  3 07:10:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb  3 07:10:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb  3 07:10:06 srv4hai postfix/anvil[5306]: statistics: max connection rate 1/60s for (smtp:195.211.191.56) at Feb  3 07:06:46
Feb  3 07:10:06 srv4hai postfix/anvil[5306]: statistics: max connection count 1 for (smtp:195.211.191.56) at Feb  3 07:06:46
Feb  3 07:10:06 srv4hai postfix/anvil[5306]: statistics: max cache size 1 at Feb  3 07:06:46
Feb  3 07:10:07 srv4hai meter.sh: SHELLY 'shelly-47/GB Schreibtischlampe links':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  3 07:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb  3 07:10:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb  3 07:10:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb  3 07:10:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb  3 07:10:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb  3 07:10:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  3 07:10:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  3 07:10:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb  3 07:10:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb  3 07:10:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb  3 07:10:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb  3 07:10:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb  3 07:10:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb  3 07:10:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  3 07:10:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb  3 07:10:20 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  3 07:10:20 srv4hai common[7326]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb  3 07:10:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Feb  3 07:10:20 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Feb  3 07:10:20 srv4hai meter.sh: SHELLY meter.sh ended
Feb  3 07:10:26 srv4hai named[30406]: resolver priming query complete
Feb  3 07:10:30 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Feb  3 07:10:30 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb  3 07:10:47 srv4hai common[7361]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:10:47 srv4hai common[7385]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:10:50 srv4hai named[30406]: resolver priming query complete
Feb  3 07:10:52 srv4hai ping_SP[31187]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738563052 - 'ping_SP_0'
Feb  3 07:10:52 srv4hai ping_SP[31187]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 07:11:00 srv4hai common[7436]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:00 srv4hai common[7460]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:00 srv4hai ping_SP[6269]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738563060 - 'ping_SP_1'
Feb  3 07:11:00 srv4hai ping_SP[6269]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  3 07:11:00 srv4hai common[7498]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:01 srv4hai CRON[7523]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 07:11:21 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:11:21 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:11:22 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:11:22 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:11:23 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  3 07:11:23 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb  3 07:11:23 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb  3 07:11:23 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:11:23 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#36333/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#51181/key rndc-key: signer "rndc-key" approved
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#51181/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#51181/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#51181/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#51181/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb  3 07:11:23 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43635/key rndc-key: signer "rndc-key" approved
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb  3 07:11:23 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43635/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  3 07:11:23 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb  3 07:11:23 srv4hai common[7535]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb  3 07:11:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb  3 07:11:23 srv4hai grab_shelly.sh: SHELLY 'shelly-47':  OFFLINE, resp. not answering within timeout 1.500000s
Feb  3 07:11:24 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb  3 07:11:24 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb  3 07:11:24 srv4hai common[7551]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:24 srv4hai common[7575]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:47 srv4hai common[7604]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:47 srv4hai common[7628]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:50 srv4hai named[30406]: resolver priming query complete
Feb  3 07:11:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7656, secured, session=
Feb  3 07:11:55 srv4hai dovecot: imap(miglincit)<7656>: Logged out in=1710 out=1285 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  3 07:11:59 srv4hai common[7661]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:11:59 srv4hai common[7685]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:12:00 srv4hai common[7709]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:12:01 srv4hai CRON[7736]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 07:12:05 srv4hai ping_SP[31187]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738563125 - 'ping_SP_0'
Feb  3 07:12:05 srv4hai ping_SP[31187]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 07:12:13 srv4hai ping_SP[6269]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738563133 - 'ping_SP_1'
Feb  3 07:12:13 srv4hai ping_SP[6269]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  3 07:12:32 srv4hai named[30406]: resolver priming query complete
Feb  3 07:12:46 srv4hai named[30406]: resolver priming query complete
Feb  3 07:12:47 srv4hai common[7782]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:12:47 srv4hai common[7806]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:12:49 srv4hai named[30406]: resolver priming query complete
Feb  3 07:12:55 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Feb  3 07:12:55 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb  3 07:13:00 srv4hai common[7835]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:13:00 srv4hai common[7859]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:13:00 srv4hai common[7883]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:13:01 srv4hai CRON[7908]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 07:13:16 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:13:16 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:13:16 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  3 07:13:16 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb  3 07:13:16 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb  3 07:13:16 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:13:16 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#55795/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#40645/key rndc-key: signer "rndc-key" approved
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#40645/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#40645/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#40645/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#40645/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb  3 07:13:16 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#57557/key rndc-key: signer "rndc-key" approved
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#57557/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb  3 07:13:16 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#57557/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  3 07:13:16 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb  3 07:13:16 srv4hai common[7924]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb  3 07:13:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb  3 07:13:17 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb  3 07:13:17 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb  3 07:13:17 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb  3 07:13:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb  3 07:13:17 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb  3 07:13:17 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb  3 07:13:17 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb  3 07:13:17 srv4hai common[7992]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:13:17 srv4hai common[8016]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  3 07:13:18 srv4hai ping_SP[31187]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738563198 - 'ping_SP_0'
Feb  3 07:13:18 srv4hai ping_SP[31187]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 07:13:19 srv4hai activate_scenario[8072]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb  3 07:13:19 srv4hai activate_scenario[8072]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished