activate_scenario.sh
Mon Feb 17 19:02:27 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/17/_0.log)

vorher: 19:02:27.492

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: 19:02:27.524
Dauer: 32 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 19:02:27.463
nachher: 19:02:27.531
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/17//scene_pcOFF_20250217_190227.txt'


syslog

Feb 17 18:59:00 srv4hai common[19085]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 18:59:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19110, secured, session=
Feb 17 18:59:01 srv4hai dovecot: imap(miglincit)<19110>: 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 17 18:59:01 srv4hai CRON[19112]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 18:59:08 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 18:59:08 srv4hai dhcpd[4995]: DHCPDISCOVER from cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 18:59:08 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 18:59:08 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 18:59:08 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 17 18:59:08 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.155
Feb 17 18:59:08 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-55
Feb 17 18:59:08 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.155 (192.168.12.252) from cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 18:59:08 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#37949/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-55.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#34393/key rndc-key: signer "rndc-key" approved
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' TXT
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' TXT "3142e500a05fde125f7a8aca06f7c55ae3"
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' A
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#34393/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' A 192.168.12.155
Feb 17 18:59:08 srv4hai dhcpd[4995]: Added new forward map from shelly-55.viehai.at to 192.168.12.155
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#39415/key rndc-key: signer "rndc-key" approved
Feb 17 18:59:08 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#39415/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 18:59:08 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#39415/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 18:59:08 srv4hai dhcpd[4995]: Added reverse map from 155.12.168.192.in-addr.arpa. to shelly-55.viehai.at
Feb 17 18:59:08 srv4hai common[19119]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 17 18:59:08 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-55' - shIP/2:'' perform:'conf'
Feb 17 18:59:09 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-55' - shIP/2:'192.168.12.155'
Feb 17 18:59:09 srv4hai mosquitto[29419]: New connection from 192.168.12.155 on port 1883.
Feb 17 18:59:09 srv4hai mosquitto[29419]: New client connected from 192.168.12.155 as shelly1minig3-cc8da25c7ea4 (c1, k60, u'shmqtt').
Feb 17 18:59:09 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe rechts' already set for '192.168.12.155'
Feb 17 18:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(0)' - allready transmitted - skipping
Feb 17 18:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(1)' - allready transmitted - skipping
Feb 17 18:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(2)' - allready transmitted - skipping
Feb 17 18:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(3)' - IGNORED
Feb 17 18:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(4)' - ''
Feb 17 18:59:10 srv4hai common[19220]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 18:59:10 srv4hai common[19248]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 18:59:11 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 18:59:11 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-ret: ''
Feb 17 18:59:24 srv4hai ping_SP[30245]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739815164 - 'ping_SP_0'
Feb 17 18:59:24 srv4hai ping_SP[30245]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 18:59:39 srv4hai common[19323]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 18:59:39 srv4hai common[19347]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 18:59:59 srv4hai common[19376]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 18:59:59 srv4hai common[19400]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:00:00 srv4hai common[19424]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:00:01 srv4hai CRON[19452]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 19:00:01 srv4hai CRON[19453]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 17 19:00:01 srv4hai common[19455]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 17 19:00:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 17 19:00:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 17 19:00:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb 17 19:00:07 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 17 19:00:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb 17 19:00:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb 17 19:00:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb 17 19:00:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb 17 19:00:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb 17 19:00:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb 17 19:00:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb 17 19:00:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 17 19:00:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb 17 19:00:20 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 17 19:00:20 srv4hai common[20466]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb 17 19:00:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Feb 17 19:00:20 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Feb 17 19:00:20 srv4hai meter.sh: SHELLY meter.sh ended
Feb 17 19:00:37 srv4hai ping_SP[30245]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739815237 - 'ping_SP_0'
Feb 17 19:00:37 srv4hai ping_SP[30245]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 19:00:39 srv4hai common[20512]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:00:39 srv4hai common[20536]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:00:59 srv4hai common[20565]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:00:59 srv4hai common[20589]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:01:00 srv4hai common[20613]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:01:01 srv4hai CRON[20638]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 19:01:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20646, secured, session=
Feb 17 19:01:08 srv4hai dovecot: imap(miglincit)<20646>: 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 17 19:01:39 srv4hai common[20663]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:01:39 srv4hai common[20687]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:01:50 srv4hai ping_SP[30245]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739815310 - 'ping_SP_0'
Feb 17 19:01:50 srv4hai ping_SP[30245]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 19:01:59 srv4hai common[20730]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:01:59 srv4hai common[20755]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:02:00 srv4hai common[20779]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 17 19:02:01 srv4hai CRON[20804]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 19:02:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20809, secured, session=
Feb 17 19:02:02 srv4hai dovecot: imap(miglincit)<20809>: 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 17 19:02:09 srv4hai postfix/smtpd[20817]: warning: hostname ip-49-234.4vendeta.com does not resolve to address 79.124.49.234: Name or service not known
Feb 17 19:02:09 srv4hai postfix/smtpd[20817]: connect from unknown[79.124.49.234]
Feb 17 19:02:13 srv4hai postfix/smtpd[20817]: warning: unknown[79.124.49.234]: SASL PLAIN authentication failed: 
Feb 17 19:02:13 srv4hai postfix/smtpd[20817]: disconnect from unknown[79.124.49.234] ehlo=2 starttls=1 auth=0/1 quit=1 unknown=0/1 commands=4/6
Feb 17 19:02:27 srv4hai activate_scenario[20825]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 17 19:02:27 srv4hai activate_scenario[20825]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished