activate_scenario.sh
Sat Nov 23 06:03:25 CET 2024
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_0.log)

vorher: 06:03:25.259

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 06:03:26.276
Dauer: 1017 msec phName: 'shelly-23:'Licht Sofa''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_1.log)

vorher: 06:03:25.275

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 06:03:25.310
Dauer: 35 msec phName: 'shelly-23:'Licht Sofa''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_2.log)

vorher: 06:03:25.295

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

nachher: 06:03:25.320
Dauer: 24 msec phName: 'shelly-23:'Licht Sofa''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_3.log)

vorher: 06:03:25.311

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:03:25.343
Dauer: 31 msec phName: 'shelly-23:'Licht Sofa''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_4.log)

vorher: 06:03:25.330

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:03:25.367
Dauer: 38 msec phName: 'shelly-23:'Licht Sofa''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_5.log)

vorher: 06:03:25.344

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:03:25.608
Dauer: 265 msec phName: 'shelly-23:'Licht Sofa''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_6.log)

vorher: 06:03:25.357

http://192.168.12.116/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:03:25.460
Dauer: 103 msec phName: 'shelly-23:'Licht Sofa''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_7.log)

vorher: 06:03:25.372

http://192.168.12.116/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:03:25.485
Dauer: 113 msec phName: 'shelly-23:'Licht Sofa''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_8.log)

vorher: 06:03:25.386

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:03:25.419
Dauer: 33 msec phName: 'shelly-23:'Licht Sofa''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_9.log)

vorher: 06:03:25.400

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:03:25.451
Dauer: 51 msec phName: 'shelly-23:'Licht Sofa''


Fernsehlampe Grete Büro (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_10.log)

vorher: 06:03:25.414

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:03:25.462
Dauer: 49 msec phName: 'shelly-23:'Licht Sofa''


WC (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_11.log)

vorher: 06:03:25.432

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:03:25.468
Dauer: 36 msec phName: 'shelly-23:'Licht Sofa''


Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_12.log)

vorher: 06:03:25.449

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:03:25.495
Dauer: 45 msec phName: 'shelly-23:'Licht Sofa''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_13.log)

vorher: 06:03:25.467

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:03:25.604
Dauer: 137 msec phName: 'shelly-23:'Licht Sofa''


Ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2024/11/23/_14.log)

vorher: 06:03:25.483

http://192.168.12.152/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:03:25.513
Dauer: 30 msec phName: 'shelly-23:'Licht Sofa''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 15
vorher : 06:03:25.235
nachher: 06:03:26.296
Dauer : 1060 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/23//scene_offDownstairs_20241123_060325.txt'


syslog

Nov 23 06:00:01 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732338001 - 'ping_SP_1'
Nov 23 06:00:01 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 23 06:00:01 srv4hai CRON[24728]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Nov 23 06:00:01 srv4hai CRON[24729]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 06:00:01 srv4hai common[24730]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Nov 23 06:00:01 srv4hai meter.sh: SHELLY meter.sh started
Nov 23 06:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Nov 23 06:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Nov 23 06:00:04 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Nov 23 06:00:04 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Nov 23 06:00:04 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Nov 23 06:00:04 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Nov 23 06:00:04 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Nov 23 06:00:05 srv4hai named[30406]: resolver priming query complete
Nov 23 06:00:06 srv4hai common[25428]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 23 06:00:07 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Nov 23 06:00:09 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Nov 23 06:00:12 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 23 06:00:12 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Nov 23 06:00:15 srv4hai meter.sh: SHELLY 'shelly-53/53-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 23 06:00:15 srv4hai common[25706]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Nov 23 06:00:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOff'
Nov 23 06:00:15 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Nov 23 06:00:15 srv4hai meter.sh: SHELLY meter.sh ended
Nov 23 06:00:16 srv4hai bt_scan[25428]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 23 06:00:16 srv4hai bt_scan[25428]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 23 06:00:16 srv4hai common[25747]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 23 06:00:16 srv4hai named[30406]: resolver priming query complete
Nov 23 06:00:16 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1732338016-1732338005
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Nov 23 06:00:16 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1732338016-1732338005
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Nov 23 06:00:16 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1732338016-1732338005
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOff) - sceneOFF(offAll)
Nov 23 06:00:16 srv4hai check_presence[25747]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 23 06:00:37 srv4hai postfix/anvil[24454]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 23 05:57:17
Nov 23 06:00:37 srv4hai postfix/anvil[24454]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 23 05:57:17
Nov 23 06:00:37 srv4hai postfix/anvil[24454]: statistics: max cache size 1 at Nov 23 05:57:17
Nov 23 06:00:41 srv4hai named[30406]: resolver priming query complete
Nov 23 06:00:58 srv4hai ping_SP[7970]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732338058 - 'ping_SP_0'
Nov 23 06:00:58 srv4hai ping_SP[7970]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 23 06:01:01 srv4hai CRON[25939]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 06:01:05 srv4hai named[30406]: resolver priming query complete
Nov 23 06:01:06 srv4hai named[30406]: resolver priming query complete
Nov 23 06:01:08 srv4hai postfix/smtpd[25951]: connect from unknown[80.94.95.239]
Nov 23 06:01:08 srv4hai postfix/smtpd[25951]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 23 06:01:09 srv4hai postfix/smtpd[25951]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 23 06:01:14 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732338074 - 'ping_SP_1'
Nov 23 06:01:14 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 23 06:02:01 srv4hai CRON[26014]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 06:02:11 srv4hai ping_SP[7970]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732338131 - 'ping_SP_0'
Nov 23 06:02:11 srv4hai ping_SP[7970]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 23 06:02:17 srv4hai named[30406]: resolver priming query complete
Nov 23 06:02:28 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732338148 - 'ping_SP_1'
Nov 23 06:02:28 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 23 06:02:39 srv4hai common[26085]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Nov 23 06:02:39 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOff'
Nov 23 06:02:39 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Nov 23 06:02:39 srv4hai common[26108]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Nov 23 06:02:40 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1732338160-1732338149
Nov 23 06:02:40 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1732338160-1732338149
Nov 23 06:02:40 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1732338160-1732338149
Nov 23 06:02:44 srv4hai common[26180]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Nov 23 06:02:44 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOff'
Nov 23 06:02:44 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Nov 23 06:02:44 srv4hai common[26203]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Nov 23 06:02:45 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'3'=1732338165-1732338162
Nov 23 06:02:45 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1732338165-1732338162
Nov 23 06:02:45 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'3'=1732338165-1732338162
Nov 23 06:02:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26280, secured, session=
Nov 23 06:02:48 srv4hai dovecot: imap(miglincit)<26280>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 23 06:03:01 srv4hai CRON[26292]: (root) CMD (/etc/linetest/linetest.sh)
Nov 23 06:03:03 srv4hai named[30406]: resolver priming query complete
Nov 23 06:03:17 srv4hai named[30406]: resolver priming query complete
Nov 23 06:03:23 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 23 06:03:24 srv4hai ping_SP[7970]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732338204 - 'ping_SP_0'
Nov 23 06:03:24 srv4hai ping_SP[7970]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 23 06:03:24 srv4hai fetchmail[1651]: 57498 messages (57498 seen) for tmiglinci at mail.akis.at (429624982 octets).
Nov 23 06:03:24 srv4hai fetchmail[1651]: 11083 messages (11083 seen) for srozum at mail.akis.at (1336612813 octets).
Nov 23 06:03:25 srv4hai activate_scenario[26332]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Nov 23 06:03:25 srv4hai activate_scenario[26332]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sofa'

finished