activate_scenario.sh
Wed Jul 10 23:14:36 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/10/_0.log)

vorher: 23:14:36.318

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: 23:14:36.357
Dauer: 39 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 23:14:36.299
nachher: 23:14:36.363
Dauer : 65 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/10//scene_bedlight_tom_20240710_231436.txt'


syslog

Jul 10 23:11:01 srv4hai CRON[14233]: (root) CMD (/etc/linetest/linetest.sh)
Jul 10 23:11:16 srv4hai nmbd[2172]: [2024/07/10 23:11:16.088260,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 10 23:11:16 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 10 23:11:16 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 10 23:11:16 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 10 23:11:22 srv4hai ping_SP[693]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720645882 - 'ping_SP_1'
Jul 10 23:11:22 srv4hai ping_SP[693]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 10 23:11:23 srv4hai postfix/smtpd[14279]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 10 23:11:23 srv4hai postfix/smtpd[14279]: connect from unknown[178.215.236.182]
Jul 10 23:11:23 srv4hai postfix/smtpd[14279]: warning: unknown[178.215.236.182]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 10 23:11:23 srv4hai postfix/smtpd[14279]: disconnect from unknown[178.215.236.182] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul 10 23:11:29 srv4hai ping_SP[30053]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720645889 - 'ping_SP_0'
Jul 10 23:11:29 srv4hai ping_SP[30053]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 10 23:11:43 srv4hai postfix/smtpd[14279]: connect from 94-154-35-194.virtualine.org[94.154.35.194]
Jul 10 23:11:43 srv4hai postfix/smtpd[14279]: warning: 94-154-35-194.virtualine.org[94.154.35.194]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 10 23:11:43 srv4hai postfix/smtpd[14279]: disconnect from 94-154-35-194.virtualine.org[94.154.35.194] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul 10 23:12:01 srv4hai CRON[14324]: (root) CMD (/etc/linetest/linetest.sh)
Jul 10 23:12:35 srv4hai ping_SP[693]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720645955 - 'ping_SP_1'
Jul 10 23:12:35 srv4hai ping_SP[693]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 10 23:12:42 srv4hai ping_SP[30053]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720645962 - 'ping_SP_0'
Jul 10 23:12:42 srv4hai ping_SP[30053]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 10 23:13:01 srv4hai CRON[14414]: (root) CMD (/etc/linetest/linetest.sh)
Jul 10 23:13:38 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Jul 10 23:13:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul 10 23:13:38 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 10 23:13:38 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102
Jul 10 23:13:38 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02
Jul 10 23:13:38 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Jul 10 23:13:38 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43685/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45465/key rndc-key: signer "rndc-key" approved
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45465/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45465/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45465/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#45465/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Jul 10 23:13:38 srv4hai dhcpd[30731]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#51365/key rndc-key: signer "rndc-key" approved
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#51365/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Jul 10 23:13:38 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#51365/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 10 23:13:38 srv4hai dhcpd[30731]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Jul 10 23:13:38 srv4hai common[14446]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 10 23:13:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Jul 10 23:13:39 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883.
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Jul 10 23:13:39 srv4hai mosquitto[18551]: Client shelly1pm-84CCA8A8557D already connected, closing old connection.
Jul 10 23:13:39 srv4hai mosquitto[18551]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting.
Jul 10 23:13:39 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Jul 10 23:13:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Jul 10 23:13:49 srv4hai ping_SP[693]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720646029 - 'ping_SP_1'
Jul 10 23:13:49 srv4hai ping_SP[693]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 10 23:13:55 srv4hai ping_SP[30053]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720646035 - 'ping_SP_0'
Jul 10 23:13:55 srv4hai ping_SP[30053]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 10 23:14:01 srv4hai CRON[14629]: (root) CMD (/etc/linetest/linetest.sh)
Jul 10 23:14:28 srv4hai named[30406]: validating config-at.iocnt.net/A: no valid signature found
Jul 10 23:14:36 srv4hai activate_scenario[14661]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jul 10 23:14:36 srv4hai activate_scenario[14661]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished