activate_scenario.sh
Wed Sep 11 15:23:05 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> 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/09/11/_0.log)

vorher: 15:23:06.044

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: 15:23:06.100
Dauer: 57 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 15:23:06.025
nachher: 15:23:06.106
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_vorraumOn_20240911_152305.txt'


syslog

Sep 11 15:20:01 srv4hai CRON[5573]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:20:01 srv4hai CRON[5574]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 11 15:20:01 srv4hai common[5576]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 11 15:20:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 11 15:20:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5611, secured, session=
Sep 11 15:20:01 srv4hai dovecot: imap(rozumm)<5611>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:20:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 11 15:20:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 11 15:20:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 11 15:20:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 11 15:20:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 11 15:20:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 11 15:20:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 11 15:20:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 11 15:20:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 11 15:20:14 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 15:20:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 11 15:20:14 srv4hai common[6461]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 11 15:20:14 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 11 15:20:14 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 11 15:20:14 srv4hai meter.sh: SHELLY meter.sh ended
Sep 11 15:21:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6500, secured, session=
Sep 11 15:21:01 srv4hai dovecot: imap(rozumm)<6500>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:21:01 srv4hai CRON[6503]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:21:12 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726060872 - 'ping_SP_1'
Sep 11 15:21:12 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 15:22:01 srv4hai CRON[6537]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:22:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6543, secured, session=
Sep 11 15:22:02 srv4hai dovecot: imap(rozumm)<6543>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:22:25 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726060945 - 'ping_SP_1'
Sep 11 15:22:25 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 15:22:41 srv4hai postfix/anvil[5539]: statistics: max connection rate 1/60s for (smtp:87.121.69.225) at Sep 11 15:19:21
Sep 11 15:22:41 srv4hai postfix/anvil[5539]: statistics: max connection count 1 for (smtp:87.121.69.225) at Sep 11 15:19:21
Sep 11 15:22:41 srv4hai postfix/anvil[5539]: statistics: max cache size 1 at Sep 11 15:19:21
Sep 11 15:22:55 srv4hai common[6571]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 15:23:01 srv4hai CRON[6591]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:23:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6596, secured, session=
Sep 11 15:23:02 srv4hai dovecot: imap(rozumm)<6596>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:23:05 srv4hai bt_scan[6571]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 11 15:23:05 srv4hai bt_scan[6571]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 11 15:23:05 srv4hai common[6617]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 11 15:23:05 srv4hai ping_SP[6617]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 11 15:23:05 srv4hai common[6639]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 15:23:05 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'10'=1726060985-1726060975
Sep 11 15:23:05 srv4hai check_presence[6639]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 11 15:23:05 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1726060985-1726060975
Sep 11 15:23:05 srv4hai check_presence[6639]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 11 15:23:05 srv4hai check_presence[6639]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 11 15:23:05 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1726060985-1726060975
Sep 11 15:23:05 srv4hai check_presence[6639]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 15:23:05 srv4hai check_presence[6639]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 15:23:05 srv4hai check_presence[6639]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 11 15:23:05 srv4hai check_presence[6639]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 11 15:23:06 srv4hai activate_scenario[6785]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 11 15:23:06 srv4hai activate_scenario[6785]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished