activate_scenario.sh
Thu Nov 28 21:53:09 CET 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/11/28/_0.log)

vorher: 21:53:09.429

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:09.479
Dauer: 50 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/28/_1.log)

vorher: 21:53:09.442

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:09.470
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 21:53:09.407
nachher: 21:53:09.486
Dauer : 80 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/28//scene_buero_UM_20241128_215309.txt'


syslog

Nov 28 21:50:01 srv4hai CRON[25129]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:50:01 srv4hai CRON[25130]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Nov 28 21:50:01 srv4hai common[25132]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Nov 28 21:50:01 srv4hai meter.sh: SHELLY meter.sh started
Nov 28 21:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Nov 28 21:50:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-19/GB Fernsehlampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Nov 28 21:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Nov 28 21:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Nov 28 21:50:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Nov 28 21:50:16 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 28 21:50:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Nov 28 21:50:16 srv4hai common[26098]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Nov 28 21:50:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Nov 28 21:50:16 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Nov 28 21:50:16 srv4hai meter.sh: SHELLY meter.sh ended
Nov 28 21:50:27 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827027 - 'ping_SP_1'
Nov 28 21:50:27 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:50:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 28 21:50:28 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827028 - 'ping_SP_0'
Nov 28 21:50:28 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:50:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26162, secured, session=
Nov 28 21:50:33 srv4hai dovecot: imap(rozumm)<26162>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:50:39 srv4hai mosquitto[32087]: Client shelly1-98CDAC2D5A11 has exceeded timeout, disconnecting.
Nov 28 21:50:39 srv4hai mosquitto[32087]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Nov 28 21:50:52 srv4hai fetchmail[1651]: 57955 messages (57955 seen) for tmiglinci at mail.akis.at (467300489 octets).
Nov 28 21:50:55 srv4hai mosquitto[32087]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Nov 28 21:50:55 srv4hai mosquitto[32087]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Nov 28 21:51:01 srv4hai CRON[26179]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:51:03 srv4hai fetchmail[1651]: 11129 messages (11129 seen) for srozum at mail.akis.at (1339824728 octets).
Nov 28 21:51:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26187, secured, session=
Nov 28 21:51:07 srv4hai dovecot: imap(miglincit)<26187>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:51:18 srv4hai fetchmail[1651]: 27539 messages (27539 seen) for mrozum at mail.akis.at (452723430 octets).
Nov 28 21:51:19 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Nov 28 21:51:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26216, secured, session=
Nov 28 21:51:34 srv4hai dovecot: imap(rozumm)<26216>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:51:40 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827100 - 'ping_SP_1'
Nov 28 21:51:40 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:51:41 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827101 - 'ping_SP_0'
Nov 28 21:51:41 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 28 21:51:50 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 28 21:51:50 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#54663/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: signer "rndc-key" approved
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f93100a5fe0 192.168.12.252#59153/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 28 21:51:50 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#48607/key rndc-key: signer "rndc-key" approved
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#48607/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 28 21:51:50 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#48607/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.
Nov 28 21:51:50 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 28 21:51:50 srv4hai common[26252]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 28 21:51:50 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 28 21:51:51 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Nov 28 21:51:51 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Nov 28 21:51:51 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Nov 28 21:51:51 srv4hai mosquitto[32087]: New connection from 192.168.12.147 on port 1883.
Nov 28 21:51:51 srv4hai mosquitto[32087]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 28 21:52:01 srv4hai CRON[26314]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:52:09 srv4hai postfix/anvil[25044]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 28 21:48:44
Nov 28 21:52:09 srv4hai postfix/anvil[25044]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 28 21:48:44
Nov 28 21:52:09 srv4hai postfix/anvil[25044]: statistics: max cache size 1 at Nov 28 21:48:44
Nov 28 21:52:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26338, secured, session=
Nov 28 21:52:34 srv4hai dovecot: imap(rozumm)<26338>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 28 21:52:37 srv4hai postfix/smtpd[26345]: connect from unknown[80.94.95.239]
Nov 28 21:52:39 srv4hai postfix/smtpd[26345]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 28 21:52:40 srv4hai postfix/smtpd[26345]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 28 21:52:53 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732827173 - 'ping_SP_1'
Nov 28 21:52:53 srv4hai ping_SP[22413]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 28 21:52:54 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732827174 - 'ping_SP_0'
Nov 28 21:52:54 srv4hai ping_SP[14640]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 28 21:53:01 srv4hai CRON[26398]: (root) CMD (/etc/linetest/linetest.sh)
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY scenario: 'buero_UM(buero_um)' started
Nov 28 21:53:09 srv4hai activate_scenario[26410]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished