activate_scenario.sh
Thu Feb 22 17:21:40 CET 2024
scenario: welcomeLight
phoneName: 1

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

scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/22/_0.log)

vorher: 17:21:40.850

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": "http"

nachher: 17:21:40.973
Dauer: 122 msec phName: 'phoneName:'1''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/22/_1.log)

vorher: 17:21:40.863

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

nachher: 17:21:40.967
Dauer: 104 msec phName: 'phoneName:'1''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/22/_2.log)

vorher: 17:21:40.875

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

nachher: 17:21:40.967
Dauer: 93 msec phName: 'phoneName:'1''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/22/_3.log)

vorher: 17:21:40.887

http://192.168.12.117/white/0?turn=on&brightness=50
  "ison": true,
  "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: 17:21:41.161
Dauer: 275 msec phName: 'phoneName:'1''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/22/_4.log)

vorher: 17:21:40.907

http://192.168.12.117/white/1?turn=on&brightness=50
  "ison": true,
  "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: 17:21:40.974
Dauer: 68 msec phName: 'phoneName:'1''


scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

urls : 5
vorher : 17:21:40.832
nachher: 17:21:41.169
Dauer : 337 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/22//scene_welcomeLight_20240222_172140.txt'


syslog

Feb 22 17:18:01 srv4hai CRON[20950]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 17:18:12 srv4hai ping_SP[4329]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708618692 - 'ping_SP_0'
Feb 22 17:18:12 srv4hai ping_SP[4329]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 17:18:18 srv4hai postfix/smtpd[20917]: connect from unknown[193.222.96.116]
Feb 22 17:18:18 srv4hai postfix/smtpd[20917]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Feb 22 17:18:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20985, secured, session=
Feb 22 17:18:50 srv4hai dovecot: imap(rozumm)<20985>: Logged out in=360 out=1201 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 17:19:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20988, secured, session=
Feb 22 17:19:01 srv4hai dovecot: imap(miglincit)<20988>: Logged out in=735 out=47787 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=24119 body_count=0 body_bytes=0
Feb 22 17:19:01 srv4hai CRON[20990]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 17:19:25 srv4hai ping_SP[4329]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708618765 - 'ping_SP_0'
Feb 22 17:19:25 srv4hai ping_SP[4329]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 17:19:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21029, secured, session=
Feb 22 17:19:52 srv4hai dovecot: imap(rozumm)<21029>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 17:20:01 srv4hai CRON[21036]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 17:20:01 srv4hai CRON[21037]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 22 17:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 22 17:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:38 srv4hai ping_SP[4329]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708618838 - 'ping_SP_0'
Feb 22 17:20:38 srv4hai ping_SP[4329]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 17:20:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21563, secured, session=
Feb 22 17:20:52 srv4hai dovecot: imap(rozumm)<21563>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 17:20:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 17:20:59 srv4hai meter.sh: SHELLY meter.sh ended
Feb 22 17:20:59 srv4hai postfix/pickup[20725]: BC38060244: uid=33 from=
Feb 22 17:20:59 srv4hai postfix/cleanup[21586]: BC38060244: message-id=<20240222162059.BC38060244@mail.viehai.at>
Feb 22 17:20:59 srv4hai postfix/qmgr[28610]: BC38060244: from=, size=654, nrcpt=1 (queue active)
Feb 22 17:20:59 srv4hai postfix/local[21588]: BC38060244: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 17:20:59 srv4hai postfix/qmgr[28610]: BC38060244: removed
Feb 22 17:21:01 srv4hai CRON[21591]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 17:21:30 srv4hai common[21605]: SHELLY common.sh inkludiert
Feb 22 17:21:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21619, secured, session=
Feb 22 17:21:36 srv4hai dovecot: imap(miglincit)<21619>: Logged out in=29 out=529 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 17:21:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21621, secured, session=
Feb 22 17:21:36 srv4hai dovecot: imap(miglincit)<21621>: Logged out in=44 out=182753 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 17:21:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21627, secured, session=
Feb 22 17:21:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21628, secured, session=
Feb 22 17:21:37 srv4hai dovecot: imap(miglincit)<21627>: Logged out in=688 out=47698 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=24119 body_count=0 body_bytes=0
Feb 22 17:21:38 srv4hai dovecot: imap(miglincit)<21628>: Logged out in=264575 out=1155164 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 17:21:38 srv4hai postfix/anvil[20977]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 22 17:18:18
Feb 22 17:21:38 srv4hai postfix/anvil[20977]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 22 17:18:18
Feb 22 17:21:38 srv4hai postfix/anvil[20977]: statistics: max cache size 1 at Feb 22 17:18:18
Feb 22 17:21:40 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21632, secured, session=
Feb 22 17:21:40 srv4hai dovecot: imap(miglincit)<21632>: Logged out in=445 out=11174 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=468 body_count=1 body_bytes=8427
Feb 22 17:21:40 srv4hai bt_scan[21605]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'Yes'
Feb 22 17:21:40 srv4hai bt_scan[21605]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Feb 22 17:21:40 srv4hai common[21651]: SHELLY common.sh inkludiert
Feb 22 17:21:40 srv4hai ping_SP[21651]: SHELLY ping_SP.sh started from bt_scan
Feb 22 17:21:40 srv4hai common[21661]: SHELLY common.sh inkludiert
Feb 22 17:21:40 srv4hai check_presence[21661]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 22 17:21:40 srv4hai check_presence[21661]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 22 17:21:40 srv4hai check_presence[21661]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 22 17:21:40 srv4hai check_presence[21661]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 22 17:21:40 srv4hai check_presence[21661]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: welcomeLight
Feb 22 17:21:40 srv4hai activate_scenario[21712]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 22 17:21:40 srv4hai activate_scenario[21712]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished