activate_scenario.sh
Fri Jul 26 19:35:39 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_0.log)

vorher: 19:35:39.311

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

nachher: 19:35:39.340
Dauer: 30 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 19:35:39.286
nachher: 19:35:39.347
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/26//scene_pcOFF_20240726_193539.txt'


syslog

Jul 26 19:32:01 srv4hai CRON[15255]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:32:10 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722015130 - 'ping_SP_1'
Jul 26 19:32:10 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 19:32:30 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15292, secured, session=
Jul 26 19:32:30 srv4hai dovecot: imap(miglincit)<15292>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 19:32:54 srv4hai postfix/smtpd[15313]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 26 19:32:54 srv4hai postfix/smtpd[15313]: connect from unknown[94.141.120.192]
Jul 26 19:32:54 srv4hai postfix/smtpd[15313]: warning: unknown[94.141.120.192]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 26 19:32:54 srv4hai postfix/smtpd[15313]: lost connection after AUTH from unknown[94.141.120.192]
Jul 26 19:32:54 srv4hai postfix/smtpd[15313]: disconnect from unknown[94.141.120.192] ehlo=1 auth=0/1 commands=1/2
Jul 26 19:32:59 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722015179 - 'ping_SP_0'
Jul 26 19:32:59 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 19:33:01 srv4hai CRON[15336]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:33:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15357, secured, session=
Jul 26 19:33:15 srv4hai dovecot: imap(miglincit)<15357>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0
Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 26 19:33:17 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 26 19:33:17 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.101
Jul 26 19:33:17 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-01
Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0
Jul 26 19:33:17 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#41495/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: signer "rndc-key" approved
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6"
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#50827/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
Jul 26 19:33:17 srv4hai dhcpd[30731]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#59477/key rndc-key: signer "rndc-key" approved
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#59477/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
Jul 26 19:33:17 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#59477/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 26 19:33:17 srv4hai dhcpd[30731]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
Jul 26 19:33:17 srv4hai common[15359]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 26 19:33:17 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
Jul 26 19:33:18 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883.
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
Jul 26 19:33:18 srv4hai mosquitto[18551]: Client shelly1pm-F4CFA2E3B294 already connected, closing old connection.
Jul 26 19:33:18 srv4hai mosquitto[18551]: Socket error on client shelly1pm-F4CFA2E3B294, disconnecting.
Jul 26 19:33:18 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt').
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101'
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(3)' - allready transmitted - skipping
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(4)' - allready transmitted - skipping
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(5)' - allready transmitted - skipping
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 ON : MISSING
Jul 26 19:33:18 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 OFF: MISSING
Jul 26 19:33:23 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722015203 - 'ping_SP_1'
Jul 26 19:33:23 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 19:34:01 srv4hai CRON[15542]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:34:12 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722015252 - 'ping_SP_0'
Jul 26 19:34:12 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 19:34:37 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722015277 - 'ping_SP_1'
Jul 26 19:34:37 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 19:35:01 srv4hai CRON[15621]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:35:26 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722015326 - 'ping_SP_0'
Jul 26 19:35:26 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 19:35:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15671, secured, session=
Jul 26 19:35:31 srv4hai dovecot: imap(miglincit)<15671>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished