activate_scenario.sh
Wed Jul 3 21:56:10 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/07/03/_0.log)

vorher: 21:56:10.172

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: 21:56:10.228
Dauer: 56 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 21:56:10.134
nachher: 21:56:10.235
Dauer : 102 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/03//scene_bedlight_tom_20240703_215610.txt'


syslog

Jul  3 21:53:01 srv4hai CRON[2630]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 21:53:19 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720036399 - 'ping_SP_0'
Jul  3 21:53:19 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  3 21:53:29 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720036409 - 'ping_SP_1'
Jul  3 21:53:29 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  3 21:54:01 srv4hai CRON[2682]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 21:54:14 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:54:14 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:54:14 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  3 21:54:14 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102
Jul  3 21:54:14 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02
Jul  3 21:54:14 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:54:14 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#50911/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#35933/key rndc-key: signer "rndc-key" approved
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#35933/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#35933/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#35933/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#35933/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Jul  3 21:54:14 srv4hai dhcpd[30731]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#55997/key rndc-key: signer "rndc-key" approved
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#55997/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Jul  3 21:54:14 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#55997/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Jul  3 21:54:14 srv4hai dhcpd[30731]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Jul  3 21:54:14 srv4hai common[2691]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  3 21:54:14 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Jul  3 21:54:15 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883.
Jul  3 21:54:15 srv4hai mosquitto[18551]: Client shelly1pm-84CCA8A8557D already connected, closing old connection.
Jul  3 21:54:15 srv4hai mosquitto[18551]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting.
Jul  3 21:54:15 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Jul  3 21:54:16 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Jul  3 21:54:32 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720036472 - 'ping_SP_0'
Jul  3 21:54:32 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  3 21:54:40 srv4hai postfix/smtpd[2844]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  3 21:54:40 srv4hai postfix/smtpd[2844]: warning: hostname static.194.35.154.94.client.virtualine.xyz does not resolve to address 94.154.35.194: Name or service not known
Jul  3 21:54:40 srv4hai postfix/smtpd[2844]: connect from unknown[94.154.35.194]
Jul  3 21:54:40 srv4hai postfix/smtpd[2844]: warning: unknown[94.154.35.194]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  3 21:54:40 srv4hai postfix/smtpd[2844]: disconnect from unknown[94.154.35.194] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  3 21:54:42 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720036482 - 'ping_SP_1'
Jul  3 21:54:42 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  3 21:55:01 srv4hai CRON[2863]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 21:55:27 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:55:27 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:55:27 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  3 21:55:27 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102
Jul  3 21:55:27 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02
Jul  3 21:55:27 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:55:27 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#41173/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#48203/key rndc-key: signer "rndc-key" approved
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#48203/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#48203/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#48203/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#48203/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Jul  3 21:55:27 srv4hai dhcpd[30731]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#60085/key rndc-key: signer "rndc-key" approved
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#60085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Jul  3 21:55:27 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#60085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Jul  3 21:55:27 srv4hai dhcpd[30731]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Jul  3 21:55:27 srv4hai common[2871]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  3 21:55:27 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Jul  3 21:55:28 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883.
Jul  3 21:55:28 srv4hai mosquitto[18551]: Client shelly1pm-84CCA8A8557D already connected, closing old connection.
Jul  3 21:55:28 srv4hai mosquitto[18551]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting.
Jul  3 21:55:28 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Jul  3 21:55:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Jul  3 21:55:45 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720036545 - 'ping_SP_0'
Jul  3 21:55:45 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  3 21:55:56 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720036556 - 'ping_SP_1'
Jul  3 21:55:56 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  3 21:55:56 srv4hai named[30406]: validating config-at.iocnt.net/A: no valid signature found
Jul  3 21:56:01 srv4hai CRON[3043]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 21:56:10 srv4hai activate_scenario[3049]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jul  3 21:56:10 srv4hai activate_scenario[3049]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished