activate_scenario.sh
Sat Jun 15 08:03:25 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/06/15/_0.log)

vorher: 08:03:25.888

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: 08:03:25.915
Dauer: 28 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 08:03:25.869
nachher: 08:03:25.921
Dauer : 53 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/15//scene_vorraumOn_20240615_080325.txt'


syslog

Jun 15 08:00:01 srv4hai CRON[14436]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun 15 08:00:01 srv4hai CRON[14437]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:00:01 srv4hai common[14438]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun 15 08:00:01 srv4hai meter.sh: SHELLY meter.sh started
Jun 15 08:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun 15 08:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun 15 08:00:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:00:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:00:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:00:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun 15 08:00:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun 15 08:00:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun 15 08:00:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun 15 08:00:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun 15 08:00:14 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718431214 - 'ping_SP_1'
Jun 15 08:00:14 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 15 08:00:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:00:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:00:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun 15 08:00:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun 15 08:00:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun 15 08:00:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun 15 08:00:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun 15 08:00:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun 15 08:00:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun 15 08:00:25 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 15 08:00:25 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun 15 08:00:25 srv4hai common[15324]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun 15 08:00:25 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Jun 15 08:00:25 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Jun 15 08:00:25 srv4hai meter.sh: SHELLY meter.sh ended
Jun 15 08:00:55 srv4hai postfix/smtpd[15354]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 15 08:00:55 srv4hai postfix/smtpd[15354]: connect from unknown[178.215.236.174]
Jun 15 08:00:55 srv4hai postfix/smtpd[15354]: warning: unknown[178.215.236.174]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun 15 08:00:55 srv4hai postfix/smtpd[15354]: disconnect from unknown[178.215.236.174] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Jun 15 08:01:01 srv4hai CRON[15359]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:01:18 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 15 08:01:19 srv4hai fetchmail[1651]: 46464 messages (46463 seen) for tmiglinci at mail.akis.at (-460146324 octets).
Jun 15 08:01:19 srv4hai postfix/smtpd[15354]: connect from localhost[127.0.0.1]
Jun 15 08:01:19 srv4hai postfix/smtpd[15354]: 4D9BD6018A: client=localhost[127.0.0.1]
Jun 15 08:01:19 srv4hai postfix/cleanup[15373]: 4D9BD6018A: message-id=
Jun 15 08:01:19 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:46464 of 46464 (97926 octets) not flushed
Jun 15 08:01:19 srv4hai postfix/qmgr[31004]: 4D9BD6018A: from=, size=98178, nrcpt=1 (queue active)
Jun 15 08:01:19 srv4hai postfix/local[15374]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 15 08:01:19 srv4hai postfix/smtpd[15354]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 15 08:01:19 srv4hai postfix/local[15374]: 4D9BD6018A: to=, relay=local, delay=0.44, delays=0.43/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 15 08:01:19 srv4hai postfix/qmgr[31004]: 4D9BD6018A: removed
Jun 15 08:01:20 srv4hai fetchmail[1651]: 10333 messages (10333 seen) for srozum at mail.akis.at (1244777313 octets).
Jun 15 08:01:20 srv4hai fetchmail[1651]: 24111 messages (24111 seen) for mrozum at mail.akis.at (-132005646 octets).
Jun 15 08:01:21 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 15 08:01:27 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718431287 - 'ping_SP_1'
Jun 15 08:01:27 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 15 08:01:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15394, secured, session=<12KJducaDIQAAAAAAAAAAAAAAAAAAAAB>
Jun 15 08:01:28 srv4hai dovecot: imap(miglincit)<15394><12KJducaDIQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=448 out=39922 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15169 body_count=0 body_bytes=0
Jun 15 08:02:01 srv4hai CRON[15401]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:02:41 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718431361 - 'ping_SP_1'
Jun 15 08:02:41 srv4hai ping_SP[20547]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 15 08:02:41 srv4hai postfix/smtpd[15354]: connect from mail.shadowserver.org[154.9.2.12]
Jun 15 08:02:42 srv4hai postfix/smtpd[15354]: 42B2960189: client=mail.shadowserver.org[154.9.2.12]
Jun 15 08:02:42 srv4hai postfix/cleanup[15373]: 42B2960189: message-id=<20240615060233.FEuHk-autoreports@shadowserver.org>
Jun 15 08:02:42 srv4hai postfix/qmgr[31004]: 42B2960189: from=, size=5204, nrcpt=1 (queue active)
Jun 15 08:02:42 srv4hai postfix/smtpd[15354]: disconnect from mail.shadowserver.org[154.9.2.12] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Jun 15 08:02:42 srv4hai postfix/local[15374]: 42B2960189: to=, orig_to=, relay=local, delay=0.19, delays=0.18/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 15 08:02:42 srv4hai postfix/qmgr[31004]: 42B2960189: removed
Jun 15 08:03:01 srv4hai CRON[15436]: (root) CMD (/etc/linetest/linetest.sh)
Jun 15 08:03:10 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jun 15 08:03:15 srv4hai common[15446]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 15 08:03:25 srv4hai bt_scan[15446]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 15 08:03:25 srv4hai bt_scan[15446]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jun 15 08:03:25 srv4hai common[15480]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 15 08:03:25 srv4hai ping_SP[15480]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun 15 08:03:25 srv4hai common[15501]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 15 08:03:25 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1718431405-1718431403
Jun 15 08:03:25 srv4hai check_presence[15501]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun 15 08:03:25 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1718431405-1718431403
Jun 15 08:03:25 srv4hai check_presence[15501]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 15 08:03:25 srv4hai check_presence[15501]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 15 08:03:25 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1718431405-1718431403
Jun 15 08:03:25 srv4hai check_presence[15501]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 15 08:03:25 srv4hai check_presence[15501]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 15 08:03:25 srv4hai check_presence[15501]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jun 15 08:03:25 srv4hai check_presence[15501]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 15 08:03:25 srv4hai activate_scenario[15667]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 15 08:03:25 srv4hai activate_scenario[15667]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished