activate_scenario.sh
Mon Dec 23 10:21:42 CET 2024
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/2024/12/23/_0.log)

vorher: 10:21:42.242

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: 10:21:42.273
Dauer: 31 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 10:21:42.222
nachher: 10:21:42.279
Dauer : 58 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/23//scene_pcOFF_20241223_102142.txt'


syslog

Dec 23 10:18:00 srv4hai postfix/smtpd[12299]: connect from unknown[80.94.95.239]
Dec 23 10:18:01 srv4hai CRON[12362]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 10:18:01 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734945481 - 'ping_SP_0'
Dec 23 10:18:01 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 10:18:02 srv4hai postfix/smtpd[12299]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 23 10:18:04 srv4hai postfix/smtpd[12299]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 23 10:18:55 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 10:18:55 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 10:19:01 srv4hai CRON[12401]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 10:19:05 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734945545 - 'ping_SP_0'
Dec 23 10:19:05 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 10:19:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12442, secured, session=
Dec 23 10:19:43 srv4hai dovecot: imap(miglincit)<12442>: Logged out in=443 out=30325 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=409 body_count=1 body_bytes=28202
Dec 23 10:19:44 srv4hai postfix/smtpd[12443]: connect from unknown[154.203.197.233]
Dec 23 10:19:44 srv4hai postfix/smtpd[12443]: warning: unknown[154.203.197.233]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 23 10:19:44 srv4hai postfix/smtpd[12443]: disconnect from unknown[154.203.197.233] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec 23 10:19:50 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 10:19:50 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 10:19:50 srv4hai named[30406]: resolver priming query complete
Dec 23 10:19:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12448, secured, session=
Dec 23 10:19:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12450, secured, session=<+9AGgOwp9scAAAAAAAAAAAAAAAAAAAAB>
Dec 23 10:19:57 srv4hai dovecot: imap(miglincit)<12448>: Logged out in=662 out=34210 deleted=0 expunged=0 trashed=5 hdr_count=5 hdr_bytes=1434 body_count=0 body_bytes=0
Dec 23 10:19:57 srv4hai dovecot: imap(miglincit)<12450><+9AGgOwp9scAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=45937 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=430 body_count=1 body_bytes=43952
Dec 23 10:20:01 srv4hai CRON[12453]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 23 10:20:01 srv4hai CRON[12454]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 10:20:01 srv4hai common[12455]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 23 10:20:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 23 10:20:04 srv4hai meter.sh: SHELLY 'shelly-22/WC Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 23 10:20:04 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 23 10:20:04 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 23 10:20:08 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734945608 - 'ping_SP_0'
Dec 23 10:20:08 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 10:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec 23 10:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec 23 10:20:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec 23 10:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec 23 10:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec 23 10:20:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 23 10:20:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13212, secured, session=
Dec 23 10:20:11 srv4hai dovecot: imap(miglincit)<13212>: Logged out in=2151 out=168429 deleted=0 expunged=0 trashed=0 hdr_count=264 hdr_bytes=92430 body_count=0 body_bytes=0
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec 23 10:20:14 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec 23 10:20:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 23 10:20:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec 23 10:20:17 srv4hai common[13468]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec 23 10:20:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Dec 23 10:20:17 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Dec 23 10:20:17 srv4hai meter.sh: SHELLY meter.sh ended
Dec 23 10:20:23 srv4hai named[30406]: resolver priming query complete
Dec 23 10:20:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 23 10:20:37 srv4hai fetchmail[1651]: 59937 messages (59937 seen) for tmiglinci at mail.akis.at (632926717 octets).
Dec 23 10:20:37 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Dec 23 10:20:37 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 23 10:20:37 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 23 10:20:37 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Dec 23 10:20:37 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Dec 23 10:20:37 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Dec 23 10:20:37 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#47625/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#49449/key rndc-key: signer "rndc-key" approved
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#49449/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#49449/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#49449/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#49449/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Dec 23 10:20:37 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#45081/key rndc-key: signer "rndc-key" approved
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#45081/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Dec 23 10:20:37 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#45081/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Dec 23 10:20:37 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Dec 23 10:20:37 srv4hai common[13493]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 23 10:20:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Dec 23 10:20:38 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Dec 23 10:20:38 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Dec 23 10:20:38 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Dec 23 10:20:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Dec 23 10:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Dec 23 10:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Dec 23 10:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Dec 23 10:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Dec 23 10:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Dec 23 10:20:39 srv4hai fetchmail[1651]: 11270 messages (11270 seen) for srozum at mail.akis.at (1349332549 octets).
Dec 23 10:20:48 srv4hai fetchmail[1651]: 28011 messages (28011 seen) for mrozum at mail.akis.at (518541913 octets).
Dec 23 10:20:49 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 10:20:49 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 10:20:49 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 23 10:21:01 srv4hai CRON[13626]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 10:21:11 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734945671 - 'ping_SP_0'
Dec 23 10:21:11 srv4hai ping_SP[7733]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 10:21:30 srv4hai named[30406]: resolver priming query complete
Dec 23 10:21:42 srv4hai activate_scenario[13664]: SHELLY scenario: 'pcOFF(pcoff)' started
Dec 23 10:21:42 srv4hai activate_scenario[13664]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished