activate_scenario.sh
Mon Jul 15 21:29:37 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/07/15/_0.log)

vorher: 21:29:37.893

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

nachher: 21:29:37.920
Dauer: 27 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 21:29:37.875
nachher: 21:29:37.927
Dauer : 52 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/15//scene_sekr_UM_20240715_212937.txt'


syslog

Jul 15 21:26:01 srv4hai CRON[22096]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 21:26:16 srv4hai ping_SP[26925]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721071576 - 'ping_SP_1'
Jul 15 21:26:16 srv4hai ping_SP[26925]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 15 21:26:19 srv4hai nmbd[2172]: [2024/07/15 21:26:19.626566,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 15 21:26:19 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 15 21:26:19 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 15 21:26:19 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 15 21:27:01 srv4hai CRON[22128]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 21:27:29 srv4hai ping_SP[26925]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721071649 - 'ping_SP_1'
Jul 15 21:27:29 srv4hai ping_SP[26925]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 15 21:27:35 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 15 21:27:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22157, secured, session=
Jul 15 21:27:36 srv4hai dovecot: imap(miglincit)<22157>: Logged out in=625 out=48879 deleted=0 expunged=0 trashed=0 hdr_count=52 hdr_bytes=22188 body_count=0 body_bytes=0
Jul 15 21:28:02 srv4hai CRON[22160]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 21:28:39 srv4hai postfix/smtpd[22176]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 15 21:28:40 srv4hai postfix/smtpd[22176]: connect from problems.landmarkelectrical.ca[85.93.19.227]
Jul 15 21:28:40 srv4hai postfix/smtpd[22176]: 5734D60189: client=problems.landmarkelectrical.ca[85.93.19.227]
Jul 15 21:28:40 srv4hai postfix/cleanup[22180]: 5734D60189: message-id=<0.0.C.414.1DAD6ED3215CB06.0@problems.landmarkelectrical.ca>
Jul 15 21:28:40 srv4hai postfix/qmgr[8566]: 5734D60189: from=, size=9375, nrcpt=1 (queue active)
Jul 15 21:28:40 srv4hai postfix/local[22181]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 15 21:28:40 srv4hai postfix/smtpd[22176]: disconnect from problems.landmarkelectrical.ca[85.93.19.227] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Jul 15 21:28:40 srv4hai postfix/local[22181]: 5734D60189: to=, orig_to=, relay=local, delay=0.12, delays=0.1/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 15 21:28:40 srv4hai postfix/qmgr[8566]: 5734D60189: removed
Jul 15 21:28:42 srv4hai mosquitto[18551]: Client shelly1pm-F4CFA2E3B294 has exceeded timeout, disconnecting.
Jul 15 21:28:42 srv4hai mosquitto[18551]: Socket error on client shelly1pm-F4CFA2E3B294, disconnecting.
Jul 15 21:28:43 srv4hai ping_SP[26925]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721071723 - 'ping_SP_1'
Jul 15 21:28:43 srv4hai ping_SP[26925]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 15 21:28:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22202, secured, session=
Jul 15 21:28:58 srv4hai dovecot: imap(pilsc)<22202>: Logged out in=317 out=2956 deleted=0 expunged=0 trashed=0 hdr_count=3 hdr_bytes=1151 body_count=0 body_bytes=0
Jul 15 21:29:01 srv4hai CRON[22204]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 21:29:16 srv4hai dhcpd[30731]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0
Jul 15 21:29:16 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 15 21:29:16 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 15 21:29:16 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.101
Jul 15 21:29:16 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-01
Jul 15 21:29:16 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0
Jul 15 21:29:16 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#58093/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#40413/key rndc-key: signer "rndc-key" approved
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#40413/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#40413/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6"
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#40413/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#40413/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
Jul 15 21:29:16 srv4hai dhcpd[30731]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f9350685ed0 192.168.12.252#54747/key rndc-key: signer "rndc-key" approved
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f9350685ed0 192.168.12.252#54747/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
Jul 15 21:29:16 srv4hai named[30406]: client @0x7f9350685ed0 192.168.12.252#54747/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at.
Jul 15 21:29:16 srv4hai dhcpd[30731]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
Jul 15 21:29:16 srv4hai common[22211]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 15 21:29:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
Jul 15 21:29:17 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883.
Jul 15 21:29:17 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt').
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101'
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(3)' - allready transmitted - skipping
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(4)' - allready transmitted - skipping
Jul 15 21:29:17 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(5)' - allready transmitted - skipping
Jul 15 21:29:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 ON : MISSING
Jul 15 21:29:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 OFF: MISSING
Jul 15 21:29:37 srv4hai activate_scenario[22353]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jul 15 21:29:37 srv4hai activate_scenario[22353]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished