activate_scenario.sh
Tue Feb 4 07:11:02 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/04/_0.log)

vorher: 07:11:02.808

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:11:02.837
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:11:02.826

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:11:02.865
Dauer: 38 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 07:11:02.780
nachher: 07:11:02.871
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/04//scene_buero_UM_20250204_071102.txt'


syslog

Feb  4 07:08:00 srv4hai common[2106]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:08:00 srv4hai common[2130]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:08:00 srv4hai common[2154]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:08:01 srv4hai CRON[2180]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 07:08:18 srv4hai postfix/smtpd[1918]: connect from starttls-virginia.securing-email.com[34.227.19.103]
Feb  4 07:08:19 srv4hai postfix/smtpd[1918]: disconnect from starttls-virginia.securing-email.com[34.227.19.103] ehlo=2 starttls=1 quit=1 commands=4
Feb  4 07:08:45 srv4hai common[2199]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:08:45 srv4hai common[2223]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:08:57 srv4hai ping_SP[5479]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738649337 - 'ping_SP_0'
Feb  4 07:08:57 srv4hai ping_SP[5479]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  4 07:08:59 srv4hai common[2269]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:08:59 srv4hai common[2293]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:09:00 srv4hai common[2320]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:09:00 srv4hai systemd[1]: Starting Clean php session files...
Feb  4 07:09:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb  4 07:09:00 srv4hai systemd[1]: Started Clean php session files.
Feb  4 07:09:01 srv4hai CRON[2468]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 07:09:01 srv4hai CRON[2469]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb  4 07:09:10 srv4hai ping_SP[10357]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738649350 - 'ping_SP_1'
Feb  4 07:09:10 srv4hai ping_SP[10357]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  4 07:09:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2507, secured, session=
Feb  4 07:09:38 srv4hai dovecot: imap(miglincit)<2507>: Logged out in=1773 out=151814 deleted=0 expunged=0 trashed=0 hdr_count=245 hdr_bytes=79660 body_count=0 body_bytes=0
Feb  4 07:09:45 srv4hai common[2510]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:09:45 srv4hai common[2537]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:09:56 srv4hai dhcpd[4995]: DHCPINFORM from 192.168.12.20 via enp2s0
Feb  4 07:09:56 srv4hai dhcpd[4995]: DHCPACK to 192.168.12.20 (08:92:04:5f:12:67) via enp2s0
Feb  4 07:10:00 srv4hai common[2564]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:10:00 srv4hai common[2588]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:10:00 srv4hai common[2615]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:10:01 srv4hai CRON[2641]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 07:10:01 srv4hai CRON[2642]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  4 07:10:01 srv4hai common[2643]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb  4 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  4 07:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb  4 07:10:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb  4 07:10:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb  4 07:10:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb  4 07:10:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb  4 07:10:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb  4 07:10:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb  4 07:10:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  4 07:10:10 srv4hai ping_SP[5479]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738649410 - 'ping_SP_0'
Feb  4 07:10:10 srv4hai ping_SP[5479]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  4 07:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  4 07:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb  4 07:10:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb  4 07:10:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  4 07:10:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb  4 07:10:18 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  4 07:10:18 srv4hai common[3678]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb  4 07:10:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Feb  4 07:10:18 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Feb  4 07:10:18 srv4hai meter.sh: SHELLY meter.sh ended
Feb  4 07:10:23 srv4hai ping_SP[10357]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738649423 - 'ping_SP_1'
Feb  4 07:10:23 srv4hai ping_SP[10357]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  4 07:10:45 srv4hai common[3721]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:10:45 srv4hai common[3745]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:10:53 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb  4 07:10:53 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  4 07:10:53 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  4 07:10:53 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb  4 07:10:53 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb  4 07:10:53 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb  4 07:10:53 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#36335/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#39279/key rndc-key: signer "rndc-key" approved
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#39279/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#39279/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#39279/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#39279/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb  4 07:10:53 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#49321/key rndc-key: signer "rndc-key" approved
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#49321/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb  4 07:10:53 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#49321/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  4 07:10:53 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb  4 07:10:53 srv4hai common[3776]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb  4 07:10:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb  4 07:10:54 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb  4 07:10:54 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb  4 07:10:54 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb  4 07:10:54 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb  4 07:10:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb  4 07:10:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb  4 07:10:54 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb  4 07:10:54 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb  4 07:10:54 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb  4 07:10:55 srv4hai common[3843]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:10:55 srv4hai common[3867]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:11:00 srv4hai common[3908]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:11:00 srv4hai common[3932]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:11:00 srv4hai common[3956]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:11:01 srv4hai CRON[3981]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 07:11:02 srv4hai activate_scenario[3988]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb  4 07:11:02 srv4hai activate_scenario[3988]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished