activate_scenario.sh
Mon Feb 24 00:25:58 CET 2025
scenario: vorraumOff
source: 192.168.12.125

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

scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_0.log)

vorher: 00:25:58.341

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

nachher: 00:25:58.429
Dauer: 89 msec phName: 'shelly-25:'KÜ Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_1.log)

vorher: 00:25:58.374

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

nachher: 00:25:58.431
Dauer: 58 msec phName: 'shelly-25:'KÜ Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_2.log)

vorher: 00:25:58.408

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

nachher: 00:25:58.464
Dauer: 56 msec phName: 'shelly-25:'KÜ Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_3.log)

vorher: 00:25:58.447

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 00:25:58.475
Dauer: 28 msec phName: 'shelly-25:'KÜ Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_4.log)

vorher: 00:25:58.485

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 00:25:58.535
Dauer: 51 msec phName: 'shelly-25:'KÜ Licht''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_5.log)

vorher: 00:25:58.517

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

nachher: 00:25:58.551
Dauer: 35 msec phName: 'shelly-25:'KÜ Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/24/_6.log)

vorher: 00:25:58.552

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

nachher: 00:25:58.594
Dauer: 42 msec phName: 'shelly-25:'KÜ Licht''


scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

urls : 7
vorher : 00:25:58.294
nachher: 00:25:58.604
Dauer : 310 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/24//scene_vorraumOff_20250224_002558.txt'


syslog

Feb 24 00:22:00 srv4hai common[2337]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:22:00 srv4hai common[2364]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:22:00 srv4hai common[2394]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:22:01 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740352921 - 'ping_SP_1'
Feb 24 00:22:01 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 24 00:22:01 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:22:01 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:22:01 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 24 00:22:01 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Feb 24 00:22:01 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Feb 24 00:22:01 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:22:01 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#53229/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#32817/key rndc-key: signer "rndc-key" approved
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#32817/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#32817/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#32817/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#32817/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Feb 24 00:22:01 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#59451/key rndc-key: signer "rndc-key" approved
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#59451/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Feb 24 00:22:01 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#59451/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Feb 24 00:22:01 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Feb 24 00:22:01 srv4hai common[2452]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 24 00:22:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Feb 24 00:22:01 srv4hai CRON[2465]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 00:22:02 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Feb 24 00:22:02 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Feb 24 00:22:02 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Feb 24 00:22:02 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Feb 24 00:22:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Feb 24 00:22:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Feb 24 00:22:02 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Feb 24 00:22:02 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Feb 24 00:22:02 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Feb 24 00:22:02 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Feb 24 00:22:02 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Feb 24 00:22:04 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740352924 - 'ping_SP_0'
Feb 24 00:22:04 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 24 00:22:25 srv4hai common[2596]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:22:25 srv4hai common[2620]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:22:49 srv4hai postfix/smtpd[2651]: connect from unknown[195.178.110.217]
Feb 24 00:22:53 srv4hai kernel: [86331031.762631] CPU5: Core temperature/speed normal
Feb 24 00:22:53 srv4hai kernel: [86331031.762632] CPU1: Core temperature/speed normal
Feb 24 00:22:54 srv4hai postfix/smtpd[2651]: warning: unknown[195.178.110.217]: SASL PLAIN authentication failed: 
Feb 24 00:22:54 srv4hai postfix/smtpd[2651]: disconnect from unknown[195.178.110.217] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 24 00:23:00 srv4hai common[2661]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:23:00 srv4hai common[2685]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:23:01 srv4hai common[2709]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:23:01 srv4hai CRON[2736]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 00:23:12 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 24 00:23:12 srv4hai fetchmail[1651]: 64303 messages (64303 seen) for tmiglinci at mail.akis.at (965932980 octets).
Feb 24 00:23:13 srv4hai fetchmail[1651]: 11582 messages (11582 seen) for srozum at mail.akis.at (1373007663 octets).
Feb 24 00:23:13 srv4hai fetchmail[1651]: 29130 messages (29130 seen) for mrozum at mail.akis.at (697544204 octets).
Feb 24 00:23:14 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740352994 - 'ping_SP_1'
Feb 24 00:23:14 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 24 00:23:14 srv4hai fetchmail[1651]: 1164 messages (1164 seen) for admin@bastelstube.wien at pop3.world4you.com (52226354 octets).
Feb 24 00:23:17 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:23:17 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:23:18 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 24 00:23:18 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Feb 24 00:23:18 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Feb 24 00:23:18 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:23:18 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#35755/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#58763/key rndc-key: signer "rndc-key" approved
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#58763/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#58763/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#58763/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#58763/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Feb 24 00:23:18 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#39683/key rndc-key: signer "rndc-key" approved
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#39683/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Feb 24 00:23:18 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#39683/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Feb 24 00:23:18 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Feb 24 00:23:18 srv4hai common[2767]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 24 00:23:18 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Feb 24 00:23:18 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740352998 - 'ping_SP_0'
Feb 24 00:23:18 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 24 00:23:19 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Feb 24 00:23:19 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Feb 24 00:23:19 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Feb 24 00:23:19 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Feb 24 00:23:19 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Feb 24 00:23:19 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Feb 24 00:23:19 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Feb 24 00:23:19 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Feb 24 00:23:19 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Feb 24 00:23:19 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Feb 24 00:23:19 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Feb 24 00:23:19 srv4hai named[30406]: validating eu.mailgun.org/A: no valid signature found
Feb 24 00:23:25 srv4hai common[2894]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:23:25 srv4hai common[2918]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:23:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2948, secured, session=
Feb 24 00:23:42 srv4hai dovecot: imap(miglincit)<2948>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 24 00:24:00 srv4hai common[2951]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:24:00 srv4hai common[2975]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:24:00 srv4hai common[2999]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:24:01 srv4hai CRON[3024]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 00:24:25 srv4hai common[3044]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:24:25 srv4hai common[3068]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:24:27 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740353067 - 'ping_SP_1'
Feb 24 00:24:27 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 24 00:24:31 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740353071 - 'ping_SP_0'
Feb 24 00:24:31 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 24 00:25:00 srv4hai common[3130]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:25:00 srv4hai common[3154]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:25:00 srv4hai common[3178]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:25:01 srv4hai CRON[3203]: (root) CMD (/etc/linetest/linetest.sh)
Feb 24 00:25:25 srv4hai common[3213]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:25:25 srv4hai common[3237]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 24 00:25:31 srv4hai postfix/smtpd[3268]: connect from unknown[165.154.227.155]
Feb 24 00:25:31 srv4hai postfix/smtpd[3270]: connect from unknown[165.154.227.155]
Feb 24 00:25:32 srv4hai postfix/smtpd[3268]: NOQUEUE: reject: RCPT from unknown[165.154.227.155]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
Feb 24 00:25:32 srv4hai postfix/smtpd[3270]: NOQUEUE: reject: RCPT from unknown[165.154.227.155]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
Feb 24 00:25:33 srv4hai postfix/smtpd[3268]: lost connection after RCPT from unknown[165.154.227.155]
Feb 24 00:25:33 srv4hai postfix/smtpd[3268]: disconnect from unknown[165.154.227.155] ehlo=1 mail=1 rcpt=0/1 rset=1 commands=3/4
Feb 24 00:25:33 srv4hai postfix/smtpd[3270]: lost connection after RCPT from unknown[165.154.227.155]
Feb 24 00:25:33 srv4hai postfix/smtpd[3270]: disconnect from unknown[165.154.227.155] ehlo=1 mail=1 rcpt=0/1 rset=1 commands=3/4
Feb 24 00:25:40 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740353140 - 'ping_SP_1'
Feb 24 00:25:40 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 24 00:25:44 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740353144 - 'ping_SP_0'
Feb 24 00:25:44 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 24 00:25:56 srv4hai common[3310]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 24 00:25:58 srv4hai activate_scenario[3324]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Feb 24 00:25:58 srv4hai activate_scenario[3324]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-25:'KÜ Licht'

finished