activate_scenario.sh
Wed Feb 26 18:17:22 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/26/_0.log)

vorher: 18:17:22.203

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:17:22.231
Dauer: 27 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 18:17:22.149
nachher: 18:17:22.242
Dauer : 93 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/26//scene_pcOFF_20250226_181722.txt'


syslog

Feb 26 18:14:00 srv4hai common[30004]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:14:00 srv4hai common[30028]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:14:00 srv4hai common[30052]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:14:01 srv4hai CRON[30079]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 18:14:09 srv4hai postfix/smtpd[30086]: connect from unknown[195.178.110.215]
Feb 26 18:14:14 srv4hai postfix/smtpd[30086]: warning: unknown[195.178.110.215]: SASL PLAIN authentication failed: 
Feb 26 18:14:14 srv4hai postfix/smtpd[30086]: disconnect from unknown[195.178.110.215] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 26 18:14:20 srv4hai common[30092]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:14:20 srv4hai common[30116]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:14:20 srv4hai ping_SP[6260]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740590060 - 'ping_SP_0'
Feb 26 18:14:20 srv4hai ping_SP[6260]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 18:14:59 srv4hai common[30169]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:14:59 srv4hai common[30193]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:15:00 srv4hai common[30218]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:15:01 srv4hai CRON[30243]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 18:15:13 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 26 18:15:13 srv4hai fetchmail[1651]: 64498 messages (64497 seen) for tmiglinci at mail.akis.at (980609210 octets).
Feb 26 18:15:13 srv4hai postfix/smtpd[30086]: connect from localhost[127.0.0.1]
Feb 26 18:15:13 srv4hai postfix/smtpd[30086]: CBBD06345A: client=localhost[127.0.0.1]
Feb 26 18:15:13 srv4hai postfix/cleanup[30256]: CBBD06345A: message-id=<19e55913acab58091e628a3b13319aff@news.select-247.de>
Feb 26 18:15:13 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:64498 of 64498 (74722 octets) not flushed
Feb 26 18:15:13 srv4hai postfix/qmgr[8566]: CBBD06345A: from=, size=74957, nrcpt=1 (queue active)
Feb 26 18:15:13 srv4hai postfix/smtpd[30086]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 26 18:15:13 srv4hai postfix/local[30257]: CBBD06345A: to=, relay=local, delay=0.11, delays=0.09/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 26 18:15:13 srv4hai postfix/qmgr[8566]: CBBD06345A: removed
Feb 26 18:15:14 srv4hai fetchmail[1651]: 11599 messages (11599 seen) for srozum at mail.akis.at (1374412016 octets).
Feb 26 18:15:14 srv4hai fetchmail[1651]: 29192 messages (29192 seen) for mrozum at mail.akis.at (706573836 octets).
Feb 26 18:15:15 srv4hai fetchmail[1651]: 1164 messages (1164 seen) for admin@bastelstube.wien at pop3.world4you.com (52226354 octets).
Feb 26 18:15:20 srv4hai common[30261]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:15:20 srv4hai common[30285]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:15:22 srv4hai postfix/smtpd[30086]: connect from unknown[86.54.42.31]
Feb 26 18:15:22 srv4hai postfix/smtpd[30086]: warning: unknown[86.54.42.31]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 26 18:15:22 srv4hai postfix/smtpd[30086]: disconnect from unknown[86.54.42.31] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 26 18:15:33 srv4hai ping_SP[6260]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740590133 - 'ping_SP_0'
Feb 26 18:15:33 srv4hai ping_SP[6260]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 18:15:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30349, secured, session=
Feb 26 18:15:57 srv4hai dovecot: imap(miglincit)<30349>: Logged out in=2172 out=170881 deleted=0 expunged=0 trashed=0 hdr_count=277 hdr_bytes=91794 body_count=0 body_bytes=0
Feb 26 18:15:59 srv4hai common[30352]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:15:59 srv4hai common[30376]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:16:00 srv4hai common[30403]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:16:01 srv4hai CRON[30450]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 18:16:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30461, secured, session=<6u3Kug4vzIoAAAAAAAAAAAAAAAAAAAAB>
Feb 26 18:16:10 srv4hai dovecot: imap(miglincit)<30461><6u3Kug4vzIoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=2172 out=170866 deleted=0 expunged=0 trashed=0 hdr_count=277 hdr_bytes=91794 body_count=0 body_bytes=0
Feb 26 18:16:11 srv4hai common[30463]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Feb 26 18:16:11 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Feb 26 18:16:11 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Feb 26 18:16:11 srv4hai common[30486]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Feb 26 18:16:11 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1740590171-1740590162
Feb 26 18:16:11 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1740590171-1740590162
Feb 26 18:16:20 srv4hai common[30547]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:16:20 srv4hai common[30571]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:16:46 srv4hai ping_SP[6260]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740590206 - 'ping_SP_0'
Feb 26 18:16:46 srv4hai ping_SP[6260]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 18:16:54 srv4hai kernel: [86568275.131604] CPU4: Package temperature/speed normal
Feb 26 18:16:54 srv4hai kernel: [86568275.131605] CPU5: Package temperature/speed normal
Feb 26 18:16:54 srv4hai kernel: [86568275.131606] CPU2: Package temperature/speed normal
Feb 26 18:16:54 srv4hai kernel: [86568275.131608] CPU3: Package temperature/speed normal
Feb 26 18:16:54 srv4hai kernel: [86568275.131609] CPU1: Package temperature/speed normal
Feb 26 18:16:54 srv4hai kernel: [86568275.131610] CPU0: Package temperature/speed normal
Feb 26 18:16:54 srv4hai kernel: [86568275.131611] CPU6: Package temperature/speed normal
Feb 26 18:16:54 srv4hai kernel: [86568275.131612] CPU7: Package temperature/speed normal
Feb 26 18:16:59 srv4hai common[30628]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:16:59 srv4hai common[30652]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:17:00 srv4hai common[30676]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:17:01 srv4hai CRON[30703]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 26 18:17:01 srv4hai CRON[30704]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 18:17:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30710, secured, session=
Feb 26 18:17:02 srv4hai dovecot: imap(miglincit)<30710>: Logged out in=563 out=5011 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=391 body_count=4 body_bytes=2511
Feb 26 18:17:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30714, secured, session=<1WX+vQ4v1IoAAAAAAAAAAAAAAAAAAAAB>
Feb 26 18:17:03 srv4hai dovecot: imap(miglincit)<30714><1WX+vQ4v1IoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=4510 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=496 body_count=1 body_bytes=2285
Feb 26 18:17:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30716, secured, session=<6Y5Avg4v2IoAAAAAAAAAAAAAAAAAAAAB>
Feb 26 18:17:08 srv4hai dovecot: imap(miglincit)<30716><6Y5Avg4v2IoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=4510 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=496 body_count=1 body_bytes=2285
Feb 26 18:17:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30719, secured, session=
Feb 26 18:17:11 srv4hai dovecot: imap(miglincit)<30719>: Logged out in=443 out=4473 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=482 body_count=1 body_bytes=2262
Feb 26 18:17:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30721, secured, session=
Feb 26 18:17:12 srv4hai dovecot: imap(miglincit)<30721>: Logged out in=443 out=69798 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=485 body_count=1 body_bytes=67752
Feb 26 18:17:13 srv4hai kernel: [86568294.650623] CPU4: Core temperature above threshold, cpu clock throttled (total events = 12672984)
Feb 26 18:17:13 srv4hai kernel: [86568294.650624] CPU0: Core temperature above threshold, cpu clock throttled (total events = 12672984)
Feb 26 18:17:13 srv4hai kernel: [86568294.651590] CPU4: Core temperature/speed normal
Feb 26 18:17:13 srv4hai kernel: [86568294.651591] CPU0: Core temperature/speed normal
Feb 26 18:17:14 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb 26 18:17:14 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 26 18:17:14 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 26 18:17:14 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb 26 18:17:14 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb 26 18:17:14 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb 26 18:17:14 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#46881/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#33377/key rndc-key: signer "rndc-key" approved
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#33377/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#33377/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#33377/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#33377/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb 26 18:17:14 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#45737/key rndc-key: signer "rndc-key" approved
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#45737/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb 26 18:17:14 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#45737/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 26 18:17:14 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb 26 18:17:14 srv4hai common[30723]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 26 18:17:14 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb 26 18:17:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30736, secured, session=<2gajvg4v4IoAAAAAAAAAAAAAAAAAAAAB>
Feb 26 18:17:14 srv4hai dovecot: imap(miglincit)<30736><2gajvg4v4IoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=606 out=32158 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=222 body_count=0 body_bytes=0
Feb 26 18:17:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30738, secured, session=
Feb 26 18:17:14 srv4hai dovecot: imap(miglincit)<30738>: Logged out in=439 out=3278 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=531 body_count=2 body_bytes=953
Feb 26 18:17:15 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb 26 18:17:15 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb 26 18:17:15 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb 26 18:17:15 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb 26 18:17:15 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb 26 18:17:16 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb 26 18:17:16 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb 26 18:17:16 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb 26 18:17:16 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb 26 18:17:16 srv4hai common[30812]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:17:16 srv4hai common[30841]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:17:20 srv4hai common[30865]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:17:20 srv4hai common[30889]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 26 18:17:21 srv4hai postfix/smtpd[30913]: warning: hostname 104-168-117-118-host.colocrossing.com does not resolve to address 104.168.117.118: Name or service not known
Feb 26 18:17:21 srv4hai postfix/smtpd[30913]: connect from unknown[104.168.117.118]
Feb 26 18:17:22 srv4hai activate_scenario[30916]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 26 18:17:22 srv4hai activate_scenario[30916]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished