activate_scenario.sh
Tue Feb 4 07:12:20 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:12:20.403

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

nachher: 07:12:20.453
Dauer: 50 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:12:20.427

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

nachher: 07:12:20.520
Dauer: 94 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 07:12:20.341
nachher: 07:12:20.527
Dauer : 187 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/04//scene_buero_UM_20250204_071220.txt'


syslog

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'
Feb  4 07:11:02 srv4hai activate_scenario[3988]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Feb  4 07:11:02 srv4hai postfix/pickup[9882]: BE3E663463: uid=33 from=
Feb  4 07:11:02 srv4hai postfix/cleanup[4042]: BE3E663463: message-id=<20250204061102.BE3E663463@mail.viehai.at>
Feb  4 07:11:02 srv4hai postfix/qmgr[8566]: BE3E663463: from=, size=12113, nrcpt=1 (queue active)
Feb  4 07:11:02 srv4hai activate_scenario[3988]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Feb  4 07:11:02 srv4hai postfix/local[4055]: BE3E663463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb  4 07:11:02 srv4hai postfix/cleanup[4042]: C4FA463464: message-id=<20250204061102.C4FA463464@mail.viehai.at>
Feb  4 07:11:02 srv4hai proc_url[4060]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/04/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb  4 07:11:02 srv4hai postfix/bounce[4056]: BE3E663463: sender non-delivery notification: C4FA463464
Feb  4 07:11:02 srv4hai postfix/qmgr[8566]: C4FA463464: from=<>, size=13992, nrcpt=1 (queue active)
Feb  4 07:11:02 srv4hai postfix/qmgr[8566]: BE3E663463: removed
Feb  4 07:11:02 srv4hai postfix/local[4055]: C4FA463464: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  4 07:11:02 srv4hai postfix/qmgr[8566]: C4FA463464: removed
Feb  4 07:11:02 srv4hai activate_scenario[3988]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Feb  4 07:11:02 srv4hai proc_url[4072]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/04/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb  4 07:11:02 srv4hai activate_scenario[3988]: SHELLY scenario: 'buero_UM(buero_um)' took 92 msec, shelly-40:'TB Licht'
Feb  4 07:11:23 srv4hai ping_SP[5479]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738649483 - 'ping_SP_0'
Feb  4 07:11:23 srv4hai ping_SP[5479]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  4 07:11:37 srv4hai ping_SP[10357]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738649497 - 'ping_SP_1'
Feb  4 07:11:37 srv4hai ping_SP[10357]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  4 07:11:39 srv4hai postfix/anvil[959]: statistics: max connection rate 1/60s for (smtp:92.118.39.61) at Feb  4 07:02:52
Feb  4 07:11:39 srv4hai postfix/anvil[959]: statistics: max connection count 1 for (smtp:92.118.39.61) at Feb  4 07:02:52
Feb  4 07:11:39 srv4hai postfix/anvil[959]: statistics: max cache size 3 at Feb  4 07:03:12
Feb  4 07:11:45 srv4hai common[4159]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:11:45 srv4hai common[4184]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:12:00 srv4hai common[4213]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:12:00 srv4hai common[4237]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:12:00 srv4hai common[4261]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  4 07:12:01 srv4hai CRON[4297]: (root) CMD (/etc/linetest/linetest.sh)
Feb  4 07:12:20 srv4hai activate_scenario[4309]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb  4 07:12:20 srv4hai activate_scenario[4309]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished