activate_scenario.sh
Thu Feb 20 07:09:12 CET 2025
scenario: buero_UM
source: 192.168.12.140

'day' <--> 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/20/_0.log)

vorher: 07:09:12.305

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:09:12.361
Dauer: 56 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:09:12.325

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:09:12.359
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 07:09:12.277
nachher: 07:09:12.369
Dauer : 93 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/20//scene_buero_UM_20250220_070912.txt'


syslog

Feb 20 07:06:00 srv4hai common[12524]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:06:00 srv4hai common[12548]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:06:00 srv4hai common[12572]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:06:01 srv4hai CRON[12597]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 07:06:28 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740031588 - 'ping_SP_0'
Feb 20 07:06:28 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 07:06:33 srv4hai common[12633]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:06:33 srv4hai common[12657]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:06:40 srv4hai named[30406]: resolver priming query complete
Feb 20 07:06:46 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740031606 - 'ping_SP_1'
Feb 20 07:06:46 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 20 07:06:53 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 20 07:06:53 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Feb 20 07:06:53 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56063/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: signer "rndc-key" approved
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Feb 20 07:06:53 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43767/key rndc-key: signer "rndc-key" approved
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43767/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43767/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Feb 20 07:06:53 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Feb 20 07:06:53 srv4hai common[12702]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 20 07:06:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Feb 20 07:06:54 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Feb 20 07:06:54 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Feb 20 07:06:54 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Feb 20 07:06:54 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Feb 20 07:06:55 srv4hai named[30406]: resolver priming query complete
Feb 20 07:06:59 srv4hai common[12811]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:06:59 srv4hai common[12835]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:07:00 srv4hai common[12859]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:07:01 srv4hai CRON[12884]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 07:07:13 srv4hai named[30406]: resolver priming query complete
Feb 20 07:07:30 srv4hai named[30406]: resolver priming query complete
Feb 20 07:07:33 srv4hai common[12903]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:07:33 srv4hai common[12927]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:07:41 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740031661 - 'ping_SP_0'
Feb 20 07:07:41 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 07:07:59 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740031679 - 'ping_SP_1'
Feb 20 07:07:59 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 20 07:08:00 srv4hai common[12990]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:08:00 srv4hai common[13014]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:08:00 srv4hai common[13038]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:08:01 srv4hai CRON[13063]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 07:08:03 srv4hai named[30406]: resolver priming query complete
Feb 20 07:08:33 srv4hai common[13076]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:08:33 srv4hai common[13110]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:08:35 srv4hai named[30406]: resolver priming query complete
Feb 20 07:08:55 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740031735 - 'ping_SP_0'
Feb 20 07:08:55 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 07:08:59 srv4hai common[13162]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:08:59 srv4hai common[13186]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:08:59 srv4hai named[30406]: resolver priming query complete
Feb 20 07:09:00 srv4hai named[30406]: resolver priming query complete
Feb 20 07:09:00 srv4hai common[13210]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 07:09:01 srv4hai CRON[13237]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 07:09:01 srv4hai CRON[13238]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 20 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 20 07:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 20 07:09:01 srv4hai systemd[1]: Started Clean php session files.
Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished