activate_scenario.sh
Mon Feb 17 11:05:26 CET 2025
scenario: pcOFF
source: 192.168.12.10

'day' <--> 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/17/_0.log)

vorher: 11:05:26.308

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: 11:05:26.334
Dauer: 25 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 11:05:26.266
nachher: 11:05:26.340
Dauer : 75 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/17//scene_pcOFF_20250217_110526.txt'


syslog

Feb 17 11:02:00 srv4hai common[29282]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:02:00 srv4hai common[29306]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:02:00 srv4hai common[29330]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:02:01 srv4hai CRON[29355]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 11:02:03 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739786523 - 'ping_SP_0'
Feb 17 11:02:03 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 11:02:14 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 17 11:02:15 srv4hai fetchmail[1651]: 63829 messages (63828 seen) for tmiglinci at mail.akis.at (935683519 octets).
Feb 17 11:02:15 srv4hai postfix/smtpd[29221]: connect from localhost[127.0.0.1]
Feb 17 11:02:15 srv4hai postfix/smtpd[29221]: ACED26345A: client=localhost[127.0.0.1]
Feb 17 11:02:15 srv4hai postfix/cleanup[29381]: ACED26345A: message-id=<002701db8122$b964e530$2c2eaf90$@gmail.com>
Feb 17 11:02:16 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63829 of 63829 (645189 octets) not flushed
Feb 17 11:02:16 srv4hai postfix/qmgr[8566]: ACED26345A: from=, size=645457, nrcpt=1 (queue active)
Feb 17 11:02:16 srv4hai postfix/smtpd[29221]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 17 11:02:16 srv4hai postfix/local[29382]: ACED26345A: to=, relay=local, delay=0.37, delays=0.34/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 17 11:02:16 srv4hai postfix/qmgr[8566]: ACED26345A: removed
Feb 17 11:02:16 srv4hai fetchmail[1651]: 11550 messages (11550 seen) for srozum at mail.akis.at (1370696837 octets).
Feb 17 11:02:17 srv4hai fetchmail[1651]: 29005 messages (29005 seen) for mrozum at mail.akis.at (678377187 octets).
Feb 17 11:02:18 srv4hai fetchmail[1651]: 1164 messages (1164 seen) for admin@bastelstube.wien at pop3.world4you.com (52226354 octets).
Feb 17 11:02:39 srv4hai common[29391]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:02:39 srv4hai common[29415]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:03:00 srv4hai common[29443]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:03:00 srv4hai common[29467]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:03:00 srv4hai common[29491]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:03:01 srv4hai CRON[29516]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 11:03:14 srv4hai postfix/smtpd[29221]: connect from unknown[193.32.162.66]
Feb 17 11:03:16 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739786596 - 'ping_SP_0'
Feb 17 11:03:16 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 11:03:18 srv4hai postfix/smtpd[29221]: warning: unknown[193.32.162.66]: SASL PLAIN authentication failed: 
Feb 17 11:03:18 srv4hai postfix/smtpd[29221]: disconnect from unknown[193.32.162.66] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 17 11:03:39 srv4hai common[29555]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:03:39 srv4hai common[29579]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:03:41 srv4hai postfix/smtpd[29221]: connect from unknown[195.178.110.209]
Feb 17 11:03:46 srv4hai postfix/smtpd[29221]: warning: unknown[195.178.110.209]: SASL PLAIN authentication failed: 
Feb 17 11:03:46 srv4hai postfix/smtpd[29221]: disconnect from unknown[195.178.110.209] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 17 11:04:00 srv4hai common[29605]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:04:00 srv4hai common[29629]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:04:00 srv4hai common[29653]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:04:01 srv4hai CRON[29678]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 11:04:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29689, secured, session=<6WIspVMutMoAAAAAAAAAAAAAAAAAAAAB>
Feb 17 11:04:08 srv4hai dovecot: imap(miglincit)<29689><6WIspVMutMoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=2095 out=163367 deleted=0 expunged=0 trashed=0 hdr_count=260 hdr_bytes=88400 body_count=0 body_bytes=0
Feb 17 11:04:29 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739786669 - 'ping_SP_0'
Feb 17 11:04:29 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 11:04:39 srv4hai common[29716]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:04:39 srv4hai common[29741]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:04:53 srv4hai dhcpd[4995]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24
Feb 17 11:04:53 srv4hai dhcpd[4995]: DHCPDISCOVER from cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 11:04:53 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 11:04:53 srv4hai dhcpd[4995]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24
Feb 17 11:04:53 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 17 11:04:53 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.155
Feb 17 11:04:53 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-55
Feb 17 11:04:53 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.155 (192.168.12.252) from cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 11:04:53 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#39709/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-55.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#57005/key rndc-key: signer "rndc-key" approved
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#57005/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' TXT
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#57005/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' TXT "3142e500a05fde125f7a8aca06f7c55ae3"
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#57005/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' A
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#57005/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' A 192.168.12.155
Feb 17 11:04:53 srv4hai dhcpd[4995]: Added new forward map from shelly-55.viehai.at to 192.168.12.155
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#51953/key rndc-key: signer "rndc-key" approved
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#51953/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '155.12.168.192.in-addr.arpa' PTR
Feb 17 11:04:53 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#51953/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '155.12.168.192.in-addr.arpa' PTR shelly-55.viehai.at.
Feb 17 11:04:53 srv4hai dhcpd[4995]: Added reverse map from 155.12.168.192.in-addr.arpa. to shelly-55.viehai.at
Feb 17 11:04:53 srv4hai common[29778]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 17 11:04:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-55' - shIP/2:'' perform:'conf'
Feb 17 11:04:54 srv4hai mosquitto[29419]: New connection from 192.168.12.155 on port 1883.
Feb 17 11:04:54 srv4hai mosquitto[29419]: Client shelly1minig3-cc8da25c7ea4 already connected, closing old connection.
Feb 17 11:04:54 srv4hai mosquitto[29419]: Socket error on client shelly1minig3-cc8da25c7ea4, disconnecting.
Feb 17 11:04:54 srv4hai mosquitto[29419]: New client connected from 192.168.12.155 as shelly1minig3-cc8da25c7ea4 (c1, k60, u'shmqtt').
Feb 17 11:04:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-55' - shIP/2:'192.168.12.155'
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe rechts' already set for '192.168.12.155'
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(0)' - allready transmitted - skipping
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(1)' - allready transmitted - skipping
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(2)' - allready transmitted - skipping
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(3)' - IGNORED
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(4)' - ''
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-cmd: 'curl --connect-timeout 3 --silent -POST -d '' http://192.168.12.155/rpc | jq -r '.''
Feb 17 11:04:55 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-ret: ''
Feb 17 11:04:55 srv4hai common[29876]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:04:55 srv4hai common[29903]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:05:00 srv4hai common[29946]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:05:00 srv4hai common[29970]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:05:00 srv4hai common[29994]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 11:05:01 srv4hai CRON[30019]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 11:05:01 srv4hai postfix/smtpd[29221]: connect from unknown[195.178.110.218]
Feb 17 11:05:06 srv4hai postfix/smtpd[29221]: warning: unknown[195.178.110.218]: SASL PLAIN authentication failed: 
Feb 17 11:05:06 srv4hai postfix/smtpd[29221]: disconnect from unknown[195.178.110.218] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 17 11:05:26 srv4hai activate_scenario[30035]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 17 11:05:26 srv4hai activate_scenario[30035]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished