activate_scenario.sh
Thu Feb 22 19:13:32 CET 2024
scenario: welcomeLight
phoneName: 0

'night' <--> 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: 19:13:32.683

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: 19:13:32.800
Dauer: 116 msec phName: 'phoneName:'0''


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

vorher: 19:13:32.695

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: 19:13:32.790
Dauer: 95 msec phName: 'phoneName:'0''


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

vorher: 19:13:32.707

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: 19:13:32.791
Dauer: 85 msec phName: 'phoneName:'0''


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

vorher: 19:13:32.718

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: 19:13:32.743
Dauer: 25 msec phName: 'phoneName:'0''


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

vorher: 19:13:32.730

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: 19:13:32.806
Dauer: 77 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 19:13:32.665
nachher: 19:13:32.812
Dauer : 148 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/22//scene_welcomeLight_20240222_191332.txt'


syslog

Feb 22 19:10:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6604, secured, session=<4goZWvwR0KEAAAAAAAAAAAAAAAAAAAAB>
Feb 22 19:10:01 srv4hai dovecot: imap(miglincit)<6604><4goZWvwR0KEAAAAAAAAAAAAAAAAAAAAB>: Logged out in=658 out=40940 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=17241 body_count=0 body_bytes=0
Feb 22 19:10:01 srv4hai CRON[6607]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:10:01 srv4hai CRON[6608]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 22 19:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 22 19:10:03 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708625403 - 'ping_SP_1'
Feb 22 19:10:03 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 19:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:32 srv4hai common[7059]: SHELLY common.sh inkludiert
Feb 22 19:10:32 srv4hai bt_scan[7059]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'No'
Feb 22 19:10:32 srv4hai bt_scan[7059]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Feb 22 19:10:32 srv4hai common[7088]: SHELLY common.sh inkludiert
Feb 22 19:10:32 srv4hai check_presence[7088]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 22 19:10:32 srv4hai check_presence[7088]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 22 19:10:32 srv4hai check_presence[7088]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 22 19:10:32 srv4hai check_presence[7088]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/__) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 22 19:10:32 srv4hai check_presence[7088]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Feb 22 19:10:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7222, secured, session=
Feb 22 19:10:58 srv4hai dovecot: imap(rozumm)<7222>: 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 19:10:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:59 srv4hai meter.sh: SHELLY meter.sh ended
Feb 22 19:10:59 srv4hai postfix/pickup[1598]: C563E60244: uid=33 from=
Feb 22 19:10:59 srv4hai postfix/cleanup[7237]: C563E60244: message-id=<20240222181059.C563E60244@mail.viehai.at>
Feb 22 19:10:59 srv4hai postfix/qmgr[28610]: C563E60244: from=, size=654, nrcpt=1 (queue active)
Feb 22 19:10:59 srv4hai postfix/local[7239]: C563E60244: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 19:10:59 srv4hai postfix/qmgr[28610]: C563E60244: removed
Feb 22 19:11:01 srv4hai CRON[7242]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:11:06 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708625466 - 'ping_SP_1'
Feb 22 19:11:06 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 19:11:32 srv4hai postfix/anvil[6428]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 22 19:08:11
Feb 22 19:11:32 srv4hai postfix/anvil[6428]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 22 19:08:11
Feb 22 19:11:32 srv4hai postfix/anvil[6428]: statistics: max cache size 1 at Feb 22 19:08:11
Feb 22 19:11:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7294, secured, session=<7F0XYfwRAKMAAAAAAAAAAAAAAAAAAAAB>
Feb 22 19:11:58 srv4hai dovecot: imap(rozumm)<7294><7F0XYfwRAKMAAAAAAAAAAAAAAAAAAAAB>: 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 19:12:01 srv4hai CRON[7296]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:12:10 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708625530 - 'ping_SP_1'
Feb 22 19:12:10 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 19:12:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7354, secured, session=<1/G0ZPwRNqMAAAAAAAAAAAAAAAAAAAAB>
Feb 22 19:12:59 srv4hai dovecot: imap(rozumm)<7354><1/G0ZPwRNqMAAAAAAAAAAAAAAAAAAAAB>: 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 19:13:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 22 19:13:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7356, secured, session=
Feb 22 19:13:01 srv4hai dovecot: imap(miglincit)<7356>: Logged out in=436 out=1285 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 19:13:01 srv4hai fetchmail[1651]: 38629 messages (38629 seen) for tmiglinci at mail.akis.at (-1101953201 octets).
Feb 22 19:13:01 srv4hai CRON[7358]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:13:01 srv4hai fetchmail[1651]: 9923 messages (9923 seen) for srozum at mail.akis.at (1196766329 octets).
Feb 22 19:13:02 srv4hai fetchmail[1651]: 21804 messages (21804 seen) for mrozum at mail.akis.at (-565334689 octets).
Feb 22 19:13:02 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 22 19:13:14 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708625594 - 'ping_SP_1'
Feb 22 19:13:14 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 19:13:32 srv4hai common[7398]: SHELLY common.sh inkludiert
Feb 22 19:13:32 srv4hai bt_scan[7398]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 22 19:13:32 srv4hai bt_scan[7398]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 22 19:13:32 srv4hai common[7427]: SHELLY common.sh inkludiert
Feb 22 19:13:32 srv4hai ping_SP[7427]: SHELLY ping_SP.sh started from bt_scan
Feb 22 19:13:32 srv4hai common[7437]: SHELLY common.sh inkludiert
Feb 22 19:13:32 srv4hai check_presence[7437]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 22 19:13:32 srv4hai check_presence[7437]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 22 19:13:32 srv4hai check_presence[7437]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 22 19:13:32 srv4hai check_presence[7437]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 22 19:13:32 srv4hai check_presence[7437]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 22 19:13:32 srv4hai activate_scenario[7488]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 22 19:13:32 srv4hai activate_scenario[7488]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished