activate_scenario.sh
Wed May 15 20:07:00 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/05/15/_0.log)

vorher: 20:07:00.891

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

nachher: 20:07:00.964
Dauer: 72 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 20:07:00.904

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

nachher: 20:07:00.960
Dauer: 56 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 20:07:00.871
nachher: 20:07:00.972
Dauer : 102 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/15//scene_nasszeile_um_20240515_200700.txt'


syslog

May 15 20:04:01 srv4hai CRON[6138]: (root) CMD (/etc/linetest/linetest.sh)
May 15 20:04:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6159, secured, session=
May 15 20:04:26 srv4hai dovecot: imap(rozumm)<6159>: Logged out in=93 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 15 20:04:44 srv4hai postfix/smtpd[6165]: connect from unknown[80.94.92.210]
May 15 20:04:44 srv4hai postfix/smtpd[6165]: warning: unknown[80.94.92.210]: SASL LOGIN authentication failed: Invalid authentication mechanism
May 15 20:04:44 srv4hai postfix/smtpd[6165]: disconnect from unknown[80.94.92.210] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
May 15 20:05:01 srv4hai CRON[6179]: (root) CMD (/etc/linetest/linetest.sh)
May 15 20:05:25 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 15 20:05:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6198, secured, session=
May 15 20:05:26 srv4hai dovecot: imap(rozumm)<6198>: Logged out in=93 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 15 20:05:26 srv4hai fetchmail[1651]: 44395 messages (44395 seen) for tmiglinci at mail.akis.at (-614611104 octets).
May 15 20:05:26 srv4hai fetchmail[1651]: 10234 messages (10234 seen) for srozum at mail.akis.at (1234057296 octets).
May 15 20:05:27 srv4hai fetchmail[1651]: 23519 messages (23519 seen) for mrozum at mail.akis.at (-228576709 octets).
May 15 20:05:27 srv4hai fetchmail[1651]: 55 messages (55 seen) for admin@bastelstube.wien at pop3.world4you.com (12603918 octets).
May 15 20:05:52 srv4hai dhcpd[22856]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:05:52 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:05:52 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
May 15 20:05:52 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.101
May 15 20:05:52 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-01
May 15 20:05:52 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:05:52 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:05:52 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#43935/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 15 20:05:52 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#43153/key rndc-key: signer "rndc-key" approved
May 15 20:05:52 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#43153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
May 15 20:05:52 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#43153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6"
May 15 20:05:52 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#43153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
May 15 20:05:52 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#43153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
May 15 20:05:52 srv4hai dhcpd[22856]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
May 15 20:05:52 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#36423/key rndc-key: signer "rndc-key" approved
May 15 20:05:52 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#36423/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
May 15 20:05:52 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#36423/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.
May 15 20:05:52 srv4hai dhcpd[22856]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
May 15 20:05:52 srv4hai common[6212]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
May 15 20:05:52 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
May 15 20:05:53 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883.
May 15 20:05:53 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt').
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101'
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(3)' - allready transmitted - skipping
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(4)' - allready transmitted - skipping
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(5)' - allready transmitted - skipping
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 ON : MISSING
May 15 20:05:53 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 OFF: MISSING
May 15 20:06:01 srv4hai CRON[6357]: (root) CMD (/etc/linetest/linetest.sh)
May 15 20:06:25 srv4hai postfix/scache[6081]: statistics: start interval May 15 20:02:36
May 15 20:06:25 srv4hai postfix/scache[6081]: statistics: domain lookup hits=0 miss=10 success=0%
May 15 20:06:25 srv4hai postfix/scache[6081]: statistics: address lookup hits=0 miss=240 success=0%
May 15 20:06:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6374, secured, session=
May 15 20:06:26 srv4hai dovecot: imap(rozumm)<6374>: Logged out in=93 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 15 20:06:53 srv4hai dhcpd[22856]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:06:53 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:06:53 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
May 15 20:06:53 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.101
May 15 20:06:53 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-01
May 15 20:06:53 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:06:53 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0
May 15 20:06:53 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#53525/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 15 20:06:53 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#35273/key rndc-key: signer "rndc-key" approved
May 15 20:06:53 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#35273/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
May 15 20:06:53 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#35273/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6"
May 15 20:06:53 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#35273/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
May 15 20:06:53 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#35273/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
May 15 20:06:53 srv4hai dhcpd[22856]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
May 15 20:06:53 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#49559/key rndc-key: signer "rndc-key" approved
May 15 20:06:53 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#49559/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
May 15 20:06:53 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#49559/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.
May 15 20:06:53 srv4hai dhcpd[22856]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
May 15 20:06:53 srv4hai common[6388]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
May 15 20:06:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
May 15 20:06:54 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883.
May 15 20:06:54 srv4hai mosquitto[18551]: Client shelly1pm-F4CFA2E3B294 already connected, closing old connection.
May 15 20:06:54 srv4hai mosquitto[18551]: Socket error on client shelly1pm-F4CFA2E3B294, disconnecting.
May 15 20:06:54 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt').
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101'
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(3)' - allready transmitted - skipping
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(4)' - allready transmitted - skipping
May 15 20:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(5)' - allready transmitted - skipping
May 15 20:06:55 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 ON : MISSING
May 15 20:06:55 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 OFF: MISSING
May 15 20:07:00 srv4hai activate_scenario[6537]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
May 15 20:07:00 srv4hai activate_scenario[6537]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished