activate_scenario.sh
Mon Feb 10 20:06:21 CET 2025
scenario: nasszeile_um
source: 192.168.12.128

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

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

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

vorher: 20:06:21.317

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:06:21.383
Dauer: 65 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

vorher: 20:06:21.341

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:06:21.397
Dauer: 56 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

urls : 2
vorher : 20:06:21.281
nachher: 20:06:21.403
Dauer : 122 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/10//scene_nasszeile_um_20250210_200621.txt'


syslog

Feb 10 20:03:00 srv4hai common[15367]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:03:01 srv4hai CRON[15394]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:03:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15405, secured, session=<0ivZW84t0KcAAAAAAAAAAAAAAAAAAAAB>
Feb 10 20:03:07 srv4hai dovecot: imap(rozumm)<15405><0ivZW84t0KcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1028 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:03:14 srv4hai ping_SP[28784]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739214194 - 'ping_SP_1'
Feb 10 20:03:14 srv4hai ping_SP[28784]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 10 20:03:31 srv4hai common[15424]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:03:31 srv4hai common[15448]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:03:53 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:03:53 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:03:53 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 10 20:03:53 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb 10 20:03:53 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb 10 20:03:53 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:03:53 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#35425/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#43927/key rndc-key: signer "rndc-key" approved
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#43927/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#43927/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#43927/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#43927/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb 10 20:03:53 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#55121/key rndc-key: signer "rndc-key" approved
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#55121/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb 10 20:03:53 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#55121/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Feb 10 20:03:53 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb 10 20:03:53 srv4hai common[15483]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 10 20:03:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb 10 20:03:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb 10 20:03:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb 10 20:03:54 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb 10 20:03:54 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb 10 20:03:54 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb 10 20:03:54 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb 10 20:03:54 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb 10 20:03:54 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb 10 20:03:54 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb 10 20:03:54 srv4hai common[15550]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:03:54 srv4hai common[15575]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:03:54 srv4hai common[15599]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:03:54 srv4hai common[15623]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:03:57 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739214237 - 'ping_SP_0'
Feb 10 20:03:57 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:04:00 srv4hai common[15682]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:00 srv4hai common[15706]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:00 srv4hai common[15730]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:01 srv4hai CRON[15755]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:04:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15762, secured, session=
Feb 10 20:04:07 srv4hai dovecot: imap(rozumm)<15762>: Logged out in=92 out=1028 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:04:26 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:04:26 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:04:26 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 10 20:04:26 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb 10 20:04:26 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb 10 20:04:26 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:04:26 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#53081/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44553/key rndc-key: signer "rndc-key" approved
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44553/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44553/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44553/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44553/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb 10 20:04:26 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#41759/key rndc-key: signer "rndc-key" approved
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#41759/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb 10 20:04:26 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#41759/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Feb 10 20:04:26 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb 10 20:04:26 srv4hai common[15779]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 10 20:04:26 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb 10 20:04:27 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb 10 20:04:27 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb 10 20:04:27 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb 10 20:04:27 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb 10 20:04:27 srv4hai common[15791]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:27 srv4hai common[15815]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:27 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb 10 20:04:27 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb 10 20:04:27 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb 10 20:04:27 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb 10 20:04:27 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb 10 20:04:27 srv4hai ping_SP[28784]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739214267 - 'ping_SP_1'
Feb 10 20:04:27 srv4hai ping_SP[28784]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 10 20:04:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 10 20:04:30 srv4hai fetchmail[1651]: 63352 messages (63351 seen) for tmiglinci at mail.akis.at (899413941 octets).
Feb 10 20:04:30 srv4hai postfix/smtpd[15954]: connect from localhost[127.0.0.1]
Feb 10 20:04:30 srv4hai postfix/smtpd[15954]: 841A96345A: client=localhost[127.0.0.1]
Feb 10 20:04:30 srv4hai postfix/cleanup[15956]: 841A96345A: message-id=
Feb 10 20:04:30 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63352 of 63352 (59777 octets) not flushed
Feb 10 20:04:30 srv4hai postfix/qmgr[8566]: 841A96345A: from=, size=60000, nrcpt=1 (queue active)
Feb 10 20:04:30 srv4hai postfix/smtpd[15954]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 10 20:04:30 srv4hai postfix/local[15957]: 841A96345A: to=, relay=local, delay=0.11, delays=0.07/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 20:04:30 srv4hai postfix/qmgr[8566]: 841A96345A: removed
Feb 10 20:04:31 srv4hai fetchmail[1651]: 11526 messages (11526 seen) for srozum at mail.akis.at (1368931349 octets).
Feb 10 20:04:31 srv4hai common[15959]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:31 srv4hai common[15983]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:31 srv4hai fetchmail[1651]: 28856 messages (28856 seen) for mrozum at mail.akis.at (648056550 octets).
Feb 10 20:04:32 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb 10 20:04:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16008, secured, session=
Feb 10 20:04:34 srv4hai dovecot: imap(miglincit)<16008>: Logged out in=2102 out=166771 deleted=0 expunged=0 trashed=0 hdr_count=258 hdr_bytes=91613 body_count=0 body_bytes=0
Feb 10 20:04:59 srv4hai common[16021]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:04:59 srv4hai common[16045]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:05:00 srv4hai common[16070]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:05:01 srv4hai CRON[16098]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:05:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16106, secured, session=<3DoHY84tGqgAAAAAAAAAAAAAAAAAAAAB>
Feb 10 20:05:08 srv4hai dovecot: imap(rozumm)<16106><3DoHY84tGqgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1028 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:05:10 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739214310 - 'ping_SP_0'
Feb 10 20:05:10 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:05:31 srv4hai common[16137]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:05:31 srv4hai common[16164]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:05:41 srv4hai ping_SP[28784]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739214341 - 'ping_SP_1'
Feb 10 20:05:41 srv4hai ping_SP[28784]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 10 20:05:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16215, secured, session=
Feb 10 20:05:54 srv4hai dovecot: imap(miglincit)<16215>: Logged out in=2102 out=166756 deleted=0 expunged=0 trashed=0 hdr_count=258 hdr_bytes=91613 body_count=0 body_bytes=0
Feb 10 20:05:56 srv4hai postfix/anvil[14596]: statistics: max connection rate 1/60s for (smtp:195.178.110.212) at Feb 10 20:00:55
Feb 10 20:05:56 srv4hai postfix/anvil[14596]: statistics: max connection count 1 for (smtp:195.178.110.212) at Feb 10 20:00:55
Feb 10 20:05:56 srv4hai postfix/anvil[14596]: statistics: max cache size 12 at Feb 10 20:02:31
Feb 10 20:06:00 srv4hai common[16217]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:06:00 srv4hai common[16241]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:06:00 srv4hai common[16266]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 20:06:01 srv4hai CRON[16292]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:06:03 srv4hai dhcpd[4995]: DHCPDISCOVER from 00:22:61:78:ac:78 via enp2s0
Feb 10 20:06:03 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 10 20:06:06 srv4hai dhcpd[4995]: DHCPDISCOVER from 00:22:61:78:ac:78 via enp2s0
Feb 10 20:06:06 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 10 20:06:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16300, secured, session=
Feb 10 20:06:08 srv4hai dovecot: imap(rozumm)<16300>: Logged out in=92 out=1028 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:06:14 srv4hai dhcpd[4995]: DHCPDISCOVER from 00:22:61:78:ac:78 via enp2s0
Feb 10 20:06:14 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 10 20:06:21 srv4hai activate_scenario[16311]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 10 20:06:21 srv4hai activate_scenario[16311]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished