activate_scenario.sh
Sat Sep 14 00:10:04 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/09/14/_0.log)

vorher: 00:10:05.041

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

nachher: 00:10:05.076
Dauer: 35 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 00:10:04.995
nachher: 00:10:05.083
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/14//scene_bedlight_tom_20240914_001004.txt'


syslog

Sep 14 00:07:01 srv4hai CRON[32606]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 00:07:16 srv4hai ping_SP[3178]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726265236 - 'ping_SP_0'
Sep 14 00:07:16 srv4hai ping_SP[3178]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 00:07:38 srv4hai named[30406]: resolver priming query complete
Sep 14 00:07:51 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Sep 14 00:07:51 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Sep 14 00:07:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Sep 14 00:07:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.122
Sep 14 00:07:51 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-22
Sep 14 00:07:51 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Sep 14 00:07:51 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#49819/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35757/key rndc-key: signer "rndc-key" approved
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35757/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35757/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35757/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35757/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Sep 14 00:07:51 srv4hai dhcpd[30731]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#38407/key rndc-key: signer "rndc-key" approved
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#38407/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Sep 14 00:07:51 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#38407/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.
Sep 14 00:07:51 srv4hai dhcpd[30731]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Sep 14 00:07:51 srv4hai common[32656]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Sep 14 00:07:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Sep 14 00:07:52 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726265272 - 'ping_SP_1'
Sep 14 00:07:52 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 14 00:07:52 srv4hai mosquitto[18551]: New connection from 192.168.12.122 on port 1883.
Sep 14 00:07:52 srv4hai mosquitto[18551]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Sep 14 00:07:52 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Sep 14 00:07:52 srv4hai mosquitto[18551]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Sep 14 00:07:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Sep 14 00:07:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Sep 14 00:07:52 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Sep 14 00:07:52 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Sep 14 00:07:52 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Sep 14 00:07:52 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Sep 14 00:07:52 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Sep 14 00:07:53 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Sep 14 00:07:53 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Sep 14 00:08:01 srv4hai CRON[335]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 00:08:29 srv4hai ping_SP[3178]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726265309 - 'ping_SP_0'
Sep 14 00:08:29 srv4hai ping_SP[3178]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 00:09:01 srv4hai CRON[389]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 00:09:01 srv4hai CRON[390]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Sep 14 00:09:01 srv4hai systemd[1]: Starting Clean php session files...
Sep 14 00:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Sep 14 00:09:01 srv4hai systemd[1]: Started Clean php session files.
Sep 14 00:09:05 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726265345 - 'ping_SP_1'
Sep 14 00:09:05 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 14 00:09:08 srv4hai named[30406]: resolver priming query complete
Sep 14 00:09:42 srv4hai ping_SP[3178]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726265382 - 'ping_SP_0'
Sep 14 00:09:42 srv4hai ping_SP[3178]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 14 00:10:01 srv4hai CRON[542]: (root) CMD (/etc/linetest/linetest.sh)
Sep 14 00:10:01 srv4hai CRON[543]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 14 00:10:01 srv4hai common[544]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 14 00:10:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 14 00:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 14 00:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 14 00:10:04 srv4hai activate_scenario[982]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Sep 14 00:10:04 srv4hai activate_scenario[982]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished