activate_scenario.sh
Sat Jun 1 21:30:13 CEST 2024
scenario: vorraumOff
source: 192.168.12.125

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

scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/01/_0.log)

vorher: 21:30:13.707

http://192.168.12.103/relay/0?turn=off

        

nachher: 21:30:16.787
Dauer: 3081 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/01/_1.log)

vorher: 21:30:13.719

http://192.168.12.116/white/0?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 12.24,
  "overpower": false

nachher: 21:30:13.848
Dauer: 128 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/01/_2.log)

vorher: 21:30:13.732

http://192.168.12.116/white/1?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 12.24,
  "overpower": false

nachher: 21:30:13.845
Dauer: 113 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/01/_3.log)

vorher: 21:30:13.744

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 21:30:13.790
Dauer: 45 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/01/_4.log)

vorher: 21:30:13.756

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 21:30:13.787
Dauer: 32 msec phName: 'shelly-25:'Küchenlicht''


WC (/srv/www/viehai/shelly/log_scenarios/2024/06/01/_5.log)

vorher: 21:30:13.768

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 21:30:13.939
Dauer: 171 msec phName: 'shelly-25:'Küchenlicht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/06/01/_6.log)

vorher: 21:30:13.781

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

nachher: 21:30:13.822
Dauer: 41 msec phName: 'shelly-25:'Küchenlicht''


scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

urls : 7
vorher : 21:30:13.684
nachher: 21:30:16.799
Dauer : 3115 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/01//scene_vorraumOff_20240601_213013.txt'


syslog

Jun  1 21:27:01 srv4hai CRON[16514]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 21:28:01 srv4hai CRON[16530]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 21:28:07 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717270087 - 'ping_SP_0'
Jun  1 21:28:07 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  1 21:28:57 srv4hai dhcpd[30731]: DHCPDISCOVER from e0:98:06:aa:08:24 via enp2s0
Jun  1 21:28:57 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.103 to e0:98:06:aa:08:24 via enp2s0
Jun  1 21:28:57 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun  1 21:28:57 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.103
Jun  1 21:28:57 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-03
Jun  1 21:28:57 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.103 (192.168.12.252) from e0:98:06:aa:08:24 via enp2s0
Jun  1 21:28:57 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.103 to e0:98:06:aa:08:24 via enp2s0
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#54117/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-03.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56075/key rndc-key: signer "rndc-key" approved
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56075/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-03.viehai.at' TXT
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56075/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-03.viehai.at' TXT "00860bad6f5defda4d37fa2e9f7a2f1749"
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56075/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-03.viehai.at' A
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56075/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-03.viehai.at' A 192.168.12.103
Jun  1 21:28:57 srv4hai dhcpd[30731]: Added new forward map from shelly-03.viehai.at to 192.168.12.103
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#42819/key rndc-key: signer "rndc-key" approved
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#42819/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '103.12.168.192.in-addr.arpa' PTR
Jun  1 21:28:57 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#42819/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '103.12.168.192.in-addr.arpa' PTR shelly-03.viehai.at.
Jun  1 21:28:57 srv4hai dhcpd[30731]: Added reverse map from 103.12.168.192.in-addr.arpa. to shelly-03.viehai.at
Jun  1 21:28:57 srv4hai common[16554]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun  1 21:28:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-03' - shIP/2:'' perform:'conf'
Jun  1 21:28:58 srv4hai mosquitto[18551]: New connection from 192.168.12.103 on port 1883.
Jun  1 21:28:58 srv4hai mosquitto[18551]: Client shelly1pm-E09806AA0824 already connected, closing old connection.
Jun  1 21:28:58 srv4hai mosquitto[18551]: Socket error on client shelly1pm-E09806AA0824, disconnecting.
Jun  1 21:28:58 srv4hai mosquitto[18551]: New client connected from 192.168.12.103 as shelly1pm-E09806AA0824 (c1, k60, u'shmqtt').
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-03' - shIP/2:'192.168.12.103'
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Vorzimmer' already set for '192.168.12.103'
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(0)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(1)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(2)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(3)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(4)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(5)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(6)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(7)' - allready transmitted - skipping
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' out:0 ON : MISSING
Jun  1 21:28:58 srv4hai conf_shelly.sh: SHELLY:'shelly-03' out:0 OFF: MISSING
Jun  1 21:29:01 srv4hai CRON[16723]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 21:29:20 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717270160 - 'ping_SP_0'
Jun  1 21:29:20 srv4hai ping_SP[26980]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  1 21:30:01 srv4hai CRON[16758]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun  1 21:30:01 srv4hai CRON[16759]: (root) CMD (/etc/linetest/linetest.sh)
Jun  1 21:30:01 srv4hai CRON[16760]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun  1 21:30:01 srv4hai common[16762]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun  1 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jun  1 21:30:03 srv4hai meter.sh: SHELLY 'shelly-03/Licht Vorzimmer':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 21:30:04 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun  1 21:30:04 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun  1 21:30:07 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 21:30:10 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 21:30:10 srv4hai systemd[1]: Started Run anacron jobs.
Jun  1 21:30:10 srv4hai anacron[17002]: Anacron 2.3 started on 2024-06-01
Jun  1 21:30:10 srv4hai anacron[17002]: Normal exit (0 jobs run)
Jun  1 21:30:10 srv4hai systemd[1]: anacron.service: Succeeded.
Jun  1 21:30:12 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  1 21:30:13 srv4hai activate_scenario[17097]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Jun  1 21:30:13 srv4hai activate_scenario[17097]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-25:'Küchenlicht'

finished