activate_scenario.sh
Tue Apr 9 20:20:43 CEST 2024
scenario: vorraumOn
phoneName: 1

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/09/_0.log)

vorher: 20:20:43.866

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 20:20:43.944
Dauer: 78 msec phName: 'phoneName:'1''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 20:20:43.837
nachher: 20:20:43.950
Dauer : 114 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/09//scene_vorraumOn_20240409_202043.txt'


syslog

Apr  9 20:17:01 srv4hai CRON[15560]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr  9 20:17:01 srv4hai CRON[15561]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 20:17:27 srv4hai postfix/anvil[15468]: statistics: max connection rate 1/60s for (smtp:45.128.96.187) at Apr  9 20:14:07
Apr  9 20:17:27 srv4hai postfix/anvil[15468]: statistics: max connection count 1 for (smtp:45.128.96.187) at Apr  9 20:14:07
Apr  9 20:17:27 srv4hai postfix/anvil[15468]: statistics: max cache size 1 at Apr  9 20:14:07
Apr  9 20:17:36 srv4hai ping_SP[10954]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712686656 - 'ping_SP_0'
Apr  9 20:17:36 srv4hai ping_SP[10954]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 20:18:01 srv4hai CRON[15594]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 20:18:49 srv4hai ping_SP[10954]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712686729 - 'ping_SP_0'
Apr  9 20:18:49 srv4hai ping_SP[10954]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 20:18:52 srv4hai postfix/smtpd[15623]: connect from unknown[45.128.96.187]
Apr  9 20:18:52 srv4hai postfix/smtpd[15623]: warning: unknown[45.128.96.187]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  9 20:18:52 srv4hai postfix/smtpd[15623]: disconnect from unknown[45.128.96.187] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr  9 20:19:01 srv4hai CRON[15627]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 20:19:31 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  9 20:19:32 srv4hai fetchmail[1651]: 41643 messages (41643 seen) for tmiglinci at mail.akis.at (-833658583 octets).
Apr  9 20:19:32 srv4hai fetchmail[1651]: 10112 messages (10112 seen) for srozum at mail.akis.at (1223802804 octets).
Apr  9 20:19:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15636, secured, session=
Apr  9 20:19:32 srv4hai dovecot: imap(miglincit)<15636>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  9 20:19:33 srv4hai fetchmail[1651]: 22768 messages (22768 seen) for mrozum at mail.akis.at (-361254875 octets).
Apr  9 20:19:33 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  9 20:20:01 srv4hai CRON[15651]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 20:20:01 srv4hai CRON[15652]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  9 20:20:01 srv4hai common[15654]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  9 20:20:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  9 20:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  9 20:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  9 20:20:02 srv4hai ping_SP[10954]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712686802 - 'ping_SP_0'
Apr  9 20:20:02 srv4hai ping_SP[10954]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 20:20:05 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 20:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  9 20:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  9 20:20:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  9 20:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  9 20:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  9 20:20:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 20:20:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 20:20:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  9 20:20:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  9 20:20:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  9 20:20:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  9 20:20:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  9 20:20:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  9 20:20:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  9 20:20:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  9 20:20:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  9 20:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  9 20:20:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  9 20:20:20 srv4hai common[15654]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  9 20:20:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'3'=1712686820-1712686817
Apr  9 20:20:20 srv4hai check_presence[15654]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr  9 20:20:20 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1712686820-1712686817
Apr  9 20:20:20 srv4hai check_presence[15654]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  9 20:20:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1712686820-1712686817
Apr  9 20:20:20 srv4hai check_presence[15654]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  9 20:20:20 srv4hai check_presence[15654]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  9 20:20:20 srv4hai check_presence[15654]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr  9 20:20:20 srv4hai common[15654]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr  9 20:20:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
Apr  9 20:20:20 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Apr  9 20:20:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr  9 20:20:20 srv4hai postfix/pickup[14019]: E39E060245: uid=33 from=
Apr  9 20:20:20 srv4hai postfix/cleanup[16744]: E39E060245: message-id=<20240409182020.E39E060245@mail.viehai.at>
Apr  9 20:20:20 srv4hai postfix/qmgr[15291]: E39E060245: from=, size=642, nrcpt=1 (queue active)
Apr  9 20:20:20 srv4hai postfix/local[16746]: E39E060245: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  9 20:20:20 srv4hai postfix/qmgr[15291]: E39E060245: removed
Apr  9 20:20:33 srv4hai common[16750]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  9 20:20:43 srv4hai bt_scan[16750]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'Yes'
Apr  9 20:20:43 srv4hai bt_scan[16750]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Apr  9 20:20:43 srv4hai common[16780]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr  9 20:20:43 srv4hai ping_SP[16780]: SHELLY ping_SP.sh started from bt_scan
Apr  9 20:20:43 srv4hai common[16791]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  9 20:20:43 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1712686843-1712686841
Apr  9 20:20:43 srv4hai check_presence[16791]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr  9 20:20:43 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1712686843-1712686841
Apr  9 20:20:43 srv4hai check_presence[16791]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr  9 20:20:43 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1712686843-1712686841
Apr  9 20:20:43 srv4hai check_presence[16791]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  9 20:20:43 srv4hai check_presence[16791]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  9 20:20:43 srv4hai check_presence[16791]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Apr  9 20:20:43 srv4hai activate_scenario[16903]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr  9 20:20:43 srv4hai activate_scenario[16903]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished