activate_scenario.sh
Fri Feb 28 18:53:55 CET 2025
scenario: pcOFF
source: 192.168.12.10

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

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

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/28/_0.log)

vorher: 18:53:56.023

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: 18:53:56.083
Dauer: 60 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 18:53:55.961
nachher: 18:53:56.097
Dauer : 135 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/28//scene_pcOFF_20250228_185355.txt'


syslog

Feb 28 18:50:00 srv4hai common[17173]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:50:00 srv4hai common[17197]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:50:00 srv4hai common[17221]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:50:01 srv4hai CRON[17247]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:50:01 srv4hai CRON[17248]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 28 18:50:01 srv4hai common[17252]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 28 18:50:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 28 18:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 28 18:50:01 srv4hai common[17349]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb 28 18:50:01 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Feb 28 18:50:01 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Feb 28 18:50:01 srv4hai meter.sh: SHELLY meter.sh ended
Feb 28 18:50:01 srv4hai postfix/pickup[32037]: E618063463: uid=33 from=
Feb 28 18:50:01 srv4hai postfix/cleanup[17374]: E618063463: message-id=<20250228175001.E618063463@mail.viehai.at>
Feb 28 18:50:01 srv4hai postfix/qmgr[8566]: E618063463: from=, size=661, nrcpt=1 (queue active)
Feb 28 18:50:01 srv4hai postfix/local[17376]: E618063463: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 28 18:50:01 srv4hai postfix/qmgr[8566]: E618063463: removed
Feb 28 18:50:15 srv4hai common[17390]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:50:15 srv4hai common[17414]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:50:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17442, secured, session=<8beYcDcveKYAAAAAAAAAAAAAAAAAAAAB>
Feb 28 18:50:19 srv4hai dovecot: imap(miglincit)<17442><8beYcDcveKYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 18:50:24 srv4hai postfix/smtpd[17449]: connect from axiom.elektro-dicksen.de[178.32.41.28]
Feb 28 18:50:24 srv4hai postfix/smtpd[17449]: 916DC6345A: client=axiom.elektro-dicksen.de[178.32.41.28]
Feb 28 18:50:24 srv4hai postfix/cleanup[17374]: 916DC6345A: message-id=
Feb 28 18:50:24 srv4hai postfix/qmgr[8566]: 916DC6345A: from=, size=9424, nrcpt=1 (queue active)
Feb 28 18:50:24 srv4hai postfix/local[17376]: 916DC6345A: to=, orig_to=, relay=local, delay=0.11, delays=0.1/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 28 18:50:24 srv4hai postfix/qmgr[8566]: 916DC6345A: removed
Feb 28 18:50:24 srv4hai postfix/smtpd[17449]: disconnect from axiom.elektro-dicksen.de[178.32.41.28] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Feb 28 18:50:33 srv4hai postfix/smtpd[17449]: connect from unknown[195.178.110.212]
Feb 28 18:50:38 srv4hai postfix/smtpd[17449]: warning: unknown[195.178.110.212]: SASL PLAIN authentication failed: 
Feb 28 18:50:38 srv4hai postfix/smtpd[17449]: disconnect from unknown[195.178.110.212] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 28 18:50:50 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740765050 - 'ping_SP_0'
Feb 28 18:50:50 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 18:51:00 srv4hai common[17494]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:00 srv4hai common[17518]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:00 srv4hai common[17542]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:01 srv4hai CRON[17567]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:51:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17579, secured, session=<5tKLczcvhKYAAAAAAAAAAAAAAAAAAAAB>
Feb 28 18:51:08 srv4hai dovecot: imap(miglincit)<17579><5tKLczcvhKYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 18:51:12 srv4hai postfix/anvil[14443]: statistics: max connection rate 1/60s for (smtp:195.178.110.218) at Feb 28 18:41:12
Feb 28 18:51:12 srv4hai postfix/anvil[14443]: statistics: max connection count 1 for (smtp:195.178.110.218) at Feb 28 18:41:12
Feb 28 18:51:12 srv4hai postfix/anvil[14443]: statistics: max cache size 2 at Feb 28 18:46:08
Feb 28 18:51:15 srv4hai common[17585]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:15 srv4hai common[17609]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:19 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb 28 18:51:19 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 28 18:51:19 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 28 18:51:19 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.119
Feb 28 18:51:19 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-19
Feb 28 18:51:19 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Feb 28 18:51:19 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#48193/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#52155/key rndc-key: signer "rndc-key" approved
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#52155/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#52155/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#52155/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#52155/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Feb 28 18:51:19 srv4hai dhcpd[4995]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f934c090ff0 192.168.12.252#38083/key rndc-key: signer "rndc-key" approved
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f934c090ff0 192.168.12.252#38083/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Feb 28 18:51:19 srv4hai named[30406]: client @0x7f934c090ff0 192.168.12.252#38083/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at.
Feb 28 18:51:19 srv4hai dhcpd[4995]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Feb 28 18:51:19 srv4hai common[17635]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 28 18:51:19 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' perform:'conf'
Feb 28 18:51:20 srv4hai mosquitto[29419]: New connection from 192.168.12.119 on port 1883.
Feb 28 18:51:20 srv4hai mosquitto[29419]: Client shelly1-98CDAC2D5A11 already connected, closing old connection.
Feb 28 18:51:20 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Feb 28 18:51:20 srv4hai mosquitto[29419]: New client connected from 192.168.12.119 as shelly1-98CDAC2D5A11 (c1, k60, u'shmqtt').
Feb 28 18:51:20 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-19' - shIP/2:'192.168.12.119'
Feb 28 18:51:20 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Fernsehlampe' already set for '192.168.12.119'
Feb 28 18:51:20 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(0)' - allready transmitted - skipping
Feb 28 18:51:20 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(1)' - allready transmitted - skipping
Feb 28 18:51:20 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(2)' - allready transmitted - skipping
Feb 28 18:51:20 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(3)' - allready transmitted - skipping
Feb 28 18:51:25 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb 28 18:51:25 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 28 18:51:25 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 28 18:51:25 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb 28 18:51:25 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb 28 18:51:25 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb 28 18:51:25 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#34943/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#35325/key rndc-key: signer "rndc-key" approved
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#35325/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#35325/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#35325/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#35325/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb 28 18:51:25 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#35057/key rndc-key: signer "rndc-key" approved
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#35057/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb 28 18:51:25 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#35057/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 28 18:51:25 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb 28 18:51:25 srv4hai common[17737]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 28 18:51:25 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb 28 18:51:26 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb 28 18:51:26 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb 28 18:51:26 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb 28 18:51:26 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb 28 18:51:26 srv4hai common[17749]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:26 srv4hai common[17773]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:26 srv4hai common[17797]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:26 srv4hai common[17821]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:51:26 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb 28 18:51:26 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb 28 18:51:26 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb 28 18:51:26 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb 28 18:51:26 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb 28 18:52:00 srv4hai common[17959]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:52:00 srv4hai common[17984]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:52:00 srv4hai common[18008]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:52:01 srv4hai CRON[18033]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:52:03 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740765123 - 'ping_SP_0'
Feb 28 18:52:03 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 18:52:12 srv4hai kernel: [86743195.185838] CPU6: Package temperature/speed normal
Feb 28 18:52:12 srv4hai kernel: [86743195.185839] CPU5: Package temperature/speed normal
Feb 28 18:52:12 srv4hai kernel: [86743195.185840] CPU4: Package temperature/speed normal
Feb 28 18:52:12 srv4hai kernel: [86743195.185842] CPU1: Package temperature/speed normal
Feb 28 18:52:12 srv4hai kernel: [86743195.185843] CPU3: Package temperature/speed normal
Feb 28 18:52:12 srv4hai kernel: [86743195.185844] CPU7: Package temperature/speed normal
Feb 28 18:52:12 srv4hai kernel: [86743195.185845] CPU0: Package temperature/speed normal
Feb 28 18:52:12 srv4hai kernel: [86743195.185846] CPU2: Package temperature/speed normal
Feb 28 18:52:15 srv4hai common[18056]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:52:15 srv4hai common[18080]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:52:50 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Feb 28 18:53:00 srv4hai common[18141]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:53:00 srv4hai common[18165]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:53:00 srv4hai common[18189]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:53:01 srv4hai CRON[18214]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:53:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 28 18:53:11 srv4hai fetchmail[1651]: 64681 messages (64681 seen) for tmiglinci at mail.akis.at (995890587 octets).
Feb 28 18:53:11 srv4hai fetchmail[1651]: 11610 messages (11610 seen) for srozum at mail.akis.at (1375200275 octets).
Feb 28 18:53:12 srv4hai fetchmail[1651]: 29252 messages (29252 seen) for mrozum at mail.akis.at (718831932 octets).
Feb 28 18:53:12 srv4hai fetchmail[1651]: 1164 messages (1164 seen) for admin@bastelstube.wien at pop3.world4you.com (52226354 octets).
Feb 28 18:53:15 srv4hai common[18229]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:53:15 srv4hai common[18253]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:53:16 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740765196 - 'ping_SP_0'
Feb 28 18:53:16 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 18:53:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18293, secured, session=
Feb 28 18:53:19 srv4hai dovecot: imap(miglincit)<18293>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 18:53:37 srv4hai kernel: [86743280.243891] CPU5: Core temperature/speed normal
Feb 28 18:53:37 srv4hai kernel: [86743280.243892] CPU1: Core temperature/speed normal
Feb 28 18:53:55 srv4hai activate_scenario[18330]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 28 18:53:55 srv4hai activate_scenario[18330]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished