activate_scenario.sh
Tue Mar 5 21:13:17 CET 2024
scenario: vorraumOn
phoneName: 1

'night' <--> DayTime=unchecked , 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/03/05/_0.log)

vorher: 21:13:17.473

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: 21:13:17.513
Dauer: 40 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 21:13:17.454
nachher: 21:13:17.519
Dauer : 66 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/05//scene_vorraumOn_20240305_211317.txt'


syslog

Mar  5 21:10:01 srv4hai CRON[21074]: (root) CMD (/etc/linetest/linetest.sh)
Mar  5 21:10:01 srv4hai CRON[21075]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  5 21:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  5 21:10:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  5 21:10:03 srv4hai fetchmail[1651]: 39313 messages (39311 seen) for tmiglinci at mail.akis.at (-1047729799 octets).
Mar  5 21:10:03 srv4hai postfix/smtpd[21204]: connect from localhost[127.0.0.1]
Mar  5 21:10:03 srv4hai postfix/smtpd[21204]: 0FDE96011D: client=localhost[127.0.0.1]
Mar  5 21:10:03 srv4hai postfix/cleanup[21207]: 0FDE96011D: message-id=
Mar  5 21:10:03 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:39312 of 39313 (9736 octets) not flushed
Mar  5 21:10:03 srv4hai postfix/qmgr[28610]: 0FDE96011D: from=, size=10021, nrcpt=1 (queue active)
Mar  5 21:10:03 srv4hai postfix/local[21208]: 0FDE96011D: to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  5 21:10:03 srv4hai postfix/qmgr[28610]: 0FDE96011D: removed
Mar  5 21:10:03 srv4hai postfix/smtpd[21204]: 259766011D: client=localhost[127.0.0.1]
Mar  5 21:10:03 srv4hai postfix/cleanup[21207]: 259766011D: message-id=<20240305200926.f5b6d0636acb6baf@backercity.com>
Mar  5 21:10:03 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:39313 of 39313 (13865 octets) not flushed
Mar  5 21:10:03 srv4hai postfix/qmgr[28610]: 259766011D: from=, size=14156, nrcpt=1 (queue active)
Mar  5 21:10:03 srv4hai postfix/local[21208]: 259766011D: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  5 21:10:03 srv4hai postfix/qmgr[28610]: 259766011D: removed
Mar  5 21:10:03 srv4hai postfix/smtpd[21204]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Mar  5 21:10:03 srv4hai fetchmail[1651]: 9968 messages (9968 seen) for srozum at mail.akis.at (1205560385 octets).
Mar  5 21:10:04 srv4hai fetchmail[1651]: 22037 messages (22037 seen) for mrozum at mail.akis.at (-492379586 octets).
Mar  5 21:10:04 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  5 21:10:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:14 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:16 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:19 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:24 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:27 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:29 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:32 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:37 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:42 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:42 srv4hai ping_SP[12105]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709669442 - 'ping_SP_0'
Mar  5 21:10:42 srv4hai ping_SP[12105]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  5 21:10:45 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:50 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:55 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:10:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:11:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  5 21:11:00 srv4hai meter.sh: SHELLY meter.sh ended
Mar  5 21:11:00 srv4hai postfix/pickup[19235]: 79F0860244: uid=33 from=
Mar  5 21:11:00 srv4hai postfix/cleanup[21207]: 79F0860244: message-id=<20240305201100.79F0860244@mail.viehai.at>
Mar  5 21:11:00 srv4hai CRON[21620]: (root) CMD (/etc/linetest/linetest.sh)
Mar  5 21:11:00 srv4hai postfix/qmgr[28610]: 79F0860244: from=, size=654, nrcpt=1 (queue active)
Mar  5 21:11:00 srv4hai postfix/local[21208]: 79F0860244: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  5 21:11:00 srv4hai postfix/qmgr[28610]: 79F0860244: removed
Mar  5 21:11:25 srv4hai postfix/anvil[20909]: statistics: max connection rate 1/60s for (smtp:193.222.96.70) at Mar  5 21:08:04
Mar  5 21:11:25 srv4hai postfix/anvil[20909]: statistics: max connection count 1 for (smtp:193.222.96.70) at Mar  5 21:08:04
Mar  5 21:11:25 srv4hai postfix/anvil[20909]: statistics: max cache size 1 at Mar  5 21:08:04
Mar  5 21:11:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21642, secured, session=<9rr4c+8SNrkAAAAAAAAAAAAAAAAAAAAB>
Mar  5 21:11:52 srv4hai dovecot: imap(miglincit)<21642><9rr4c+8SNrkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=672 out=46738 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=22934 body_count=0 body_bytes=0
Mar  5 21:11:55 srv4hai ping_SP[12105]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709669515 - 'ping_SP_0'
Mar  5 21:11:55 srv4hai ping_SP[12105]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  5 21:12:01 srv4hai CRON[21661]: (root) CMD (/etc/linetest/linetest.sh)
Mar  5 21:13:01 srv4hai CRON[21679]: (root) CMD (/etc/linetest/linetest.sh)
Mar  5 21:13:07 srv4hai common[21685]: SHELLY common.sh inkludiert
Mar  5 21:13:08 srv4hai ping_SP[12105]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709669588 - 'ping_SP_0'
Mar  5 21:13:08 srv4hai ping_SP[12105]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  5 21:13:17 srv4hai bt_scan[21685]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'Yes'
Mar  5 21:13:17 srv4hai bt_scan[21685]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Mar  5 21:13:17 srv4hai common[21730]: SHELLY common.sh inkludiert
Mar  5 21:13:17 srv4hai ping_SP[21730]: SHELLY ping_SP.sh started from bt_scan
Mar  5 21:13:17 srv4hai common[21740]: SHELLY common.sh inkludiert
Mar  5 21:13:17 srv4hai check_presence[21740]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Mar  5 21:13:17 srv4hai check_presence[21740]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  5 21:13:17 srv4hai check_presence[21740]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  5 21:13:17 srv4hai check_presence[21740]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  5 21:13:17 srv4hai check_presence[21740]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Mar  5 21:13:17 srv4hai activate_scenario[21793]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Mar  5 21:13:17 srv4hai activate_scenario[21793]: SHELLY dayState='night' <--> DayTime=unchecked NightTime=checked - phoneName:'1'

finished