activate_scenario.sh
Thu Feb 22 12:11:34 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: 12:11:34.838

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: 12:11:34.876
Dauer: 36 msec phName: 'phoneName:'1''


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

vorher: 12:11:34.860

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": 20.88,
  "overpower": false

nachher: 12:11:34.886
Dauer: 26 msec phName: 'phoneName:'1''


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

vorher: 12:11:34.877

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": 20.88,
  "overpower": false

nachher: 12:11:34.919
Dauer: 42 msec phName: 'phoneName:'1''


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

vorher: 12:11:34.891

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": 13.21,
  "overpower": false

nachher: 12:11:34.925
Dauer: 34 msec phName: 'phoneName:'1''


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

vorher: 12:11:34.905

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": 13.21,
  "overpower": false

nachher: 12:11:34.949
Dauer: 43 msec phName: 'phoneName:'1''


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

urls : 5
vorher : 12:11:34.775
nachher: 12:11:34.955
Dauer : 182 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/22//scene_welcomeLight_20240222_121134.txt'


syslog

Feb 22 12:08:01 srv4hai CRON[8588]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 12:08:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8604, secured, session=<7Av5dfYRXokAAAAAAAAAAAAAAAAAAAAB>
Feb 22 12:08:19 srv4hai dovecot: imap(rozumm)<8604><7Av5dfYRXokAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 12:08:24 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 22 12:08:25 srv4hai fetchmail[1651]: 38589 messages (38589 seen) for tmiglinci at mail.akis.at (-1107088126 octets).
Feb 22 12:08:26 srv4hai fetchmail[1651]: 9920 messages (9920 seen) for srozum at mail.akis.at (1196562469 octets).
Feb 22 12:08:26 srv4hai fetchmail[1651]: 21796 messages (21795 seen) for mrozum at mail.akis.at (-568644264 octets).
Feb 22 12:08:26 srv4hai postfix/smtpd[8539]: connect from localhost[127.0.0.1]
Feb 22 12:08:26 srv4hai postfix/smtpd[8539]: AB6AF6011E: client=localhost[127.0.0.1]
Feb 22 12:08:26 srv4hai postfix/cleanup[8612]: AB6AF6011E: message-id=
Feb 22 12:08:26 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:21796 of 21796 (94247 octets) not flushed
Feb 22 12:08:26 srv4hai postfix/qmgr[28610]: AB6AF6011E: from=, size=94526, nrcpt=1 (queue active)
Feb 22 12:08:26 srv4hai postfix/smtpd[8539]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 22 12:08:26 srv4hai postfix/local[8613]: AB6AF6011E: to=, relay=local, delay=0.13, delays=0.12/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 12:08:26 srv4hai postfix/qmgr[28610]: AB6AF6011E: removed
Feb 22 12:08:27 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 22 12:08:34 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708600114 - 'ping_SP_0'
Feb 22 12:08:34 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 12:08:53 srv4hai common[8637]: SHELLY common.sh inkludiert
Feb 22 12:08:53 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
Feb 22 12:08:53 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Feb 22 12:08:53 srv4hai common[8659]: SHELLY common.sh inkludiert
Feb 22 12:09:01 srv4hai CRON[8668]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 12:09:01 srv4hai CRON[8669]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 22 12:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 22 12:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 22 12:09:02 srv4hai systemd[1]: Started Clean php session files.
Feb 22 12:09:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8771, secured, session=
Feb 22 12:09:19 srv4hai dovecot: imap(rozumm)<8771>: Logged out in=544 out=37366 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=19624 body_count=0 body_bytes=0
Feb 22 12:09:47 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708600187 - 'ping_SP_0'
Feb 22 12:09:47 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 12:10:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8803, secured, session=<10UEfPYRyIkAAAAAAAAAAAAAAAAAAAAB>
Feb 22 12:10:00 srv4hai dovecot: imap(miglincit)<8803><10UEfPYRyIkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 12:10:01 srv4hai CRON[8806]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 12:10:01 srv4hai CRON[8807]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 22 12:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 22 12:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9213, secured, session=
Feb 22 12:10:19 srv4hai dovecot: imap(rozumm)<9213>: Logged out in=378 out=1201 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 12:10:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 12:10:59 srv4hai meter.sh: SHELLY meter.sh ended
Feb 22 12:10:59 srv4hai postfix/pickup[872]: 9D9CA60244: uid=33 from=
Feb 22 12:10:59 srv4hai postfix/cleanup[9344]: 9D9CA60244: message-id=<20240222111059.9D9CA60244@mail.viehai.at>
Feb 22 12:10:59 srv4hai postfix/qmgr[28610]: 9D9CA60244: from=, size=654, nrcpt=1 (queue active)
Feb 22 12:10:59 srv4hai postfix/local[9346]: 9D9CA60244: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 12:10:59 srv4hai postfix/qmgr[28610]: 9D9CA60244: removed
Feb 22 12:11:00 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708600260 - 'ping_SP_0'
Feb 22 12:11:00 srv4hai ping_SP[5777]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 12:11:01 srv4hai CRON[9364]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 12:11:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9374, secured, session=
Feb 22 12:11:19 srv4hai dovecot: imap(rozumm)<9374>: 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 12:11:24 srv4hai common[9376]: SHELLY common.sh inkludiert
Feb 22 12:11:34 srv4hai bt_scan[9376]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'Yes'
Feb 22 12:11:34 srv4hai bt_scan[9376]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Feb 22 12:11:34 srv4hai common[9410]: SHELLY common.sh inkludiert
Feb 22 12:11:34 srv4hai ping_SP[9410]: SHELLY ping_SP.sh started from bt_scan
Feb 22 12:11:34 srv4hai common[9420]: SHELLY common.sh inkludiert
Feb 22 12:11:34 srv4hai check_presence[9420]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 22 12:11:34 srv4hai check_presence[9420]: SHELLY (1) found  and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 22 12:11:34 srv4hai check_presence[9420]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 22 12:11:34 srv4hai check_presence[9420]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 22 12:11:34 srv4hai check_presence[9420]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: welcomeLight
Feb 22 12:11:34 srv4hai activate_scenario[9473]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 22 12:11:34 srv4hai activate_scenario[9473]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished