activate_scenario.sh
Tue Apr 23 21:22:38 CEST 2024
scenario: vorraumOn
phoneName: 1

'night' <--> 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/04/23/_0.log)

vorher: 21:22:38.635

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: 21:22:38.701
Dauer: 65 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 21:22:38.611
nachher: 21:22:38.707
Dauer : 96 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/23//scene_vorraumOn_20240423_212238.txt'


syslog

Apr 23 21:19:01 srv4hai CRON[5020]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 21:19:13 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713899953 - 'ping_SP_0'
Apr 23 21:19:13 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 23 21:19:58 srv4hai postfix/anvil[4751]: statistics: max connection rate 1/60s for (smtp:45.88.90.157) at Apr 23 21:16:35
Apr 23 21:19:58 srv4hai postfix/anvil[4751]: statistics: max connection count 1 for (smtp:45.88.90.157) at Apr 23 21:16:35
Apr 23 21:19:58 srv4hai postfix/anvil[4751]: statistics: max cache size 2 at Apr 23 21:16:37
Apr 23 21:20:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 23 21:20:01 srv4hai CRON[5049]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 21:20:01 srv4hai CRON[5050]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 23 21:20:01 srv4hai common[5051]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 23 21:20:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 23 21:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 23 21:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 23 21:20:02 srv4hai fetchmail[1651]: 42755 messages (42754 seen) for tmiglinci at mail.akis.at (-735234716 octets).
Apr 23 21:20:02 srv4hai postfix/smtpd[5192]: connect from localhost[127.0.0.1]
Apr 23 21:20:02 srv4hai postfix/smtpd[5192]: 7A21D6011A: client=localhost[127.0.0.1]
Apr 23 21:20:02 srv4hai postfix/cleanup[5201]: 7A21D6011A: message-id=
Apr 23 21:20:02 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42755 of 42755 (70959 octets) not flushed
Apr 23 21:20:02 srv4hai postfix/qmgr[15291]: 7A21D6011A: from=, size=71203, nrcpt=1 (queue active)
Apr 23 21:20:02 srv4hai postfix/smtpd[5192]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 23 21:20:02 srv4hai postfix/local[5213]: 7A21D6011A: to=, relay=local, delay=0.11, delays=0.08/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 23 21:20:02 srv4hai postfix/qmgr[15291]: 7A21D6011A: removed
Apr 23 21:20:03 srv4hai fetchmail[1651]: 10166 messages (10166 seen) for srozum at mail.akis.at (1227245007 octets).
Apr 23 21:20:03 srv4hai fetchmail[1651]: 23050 messages (23050 seen) for mrozum at mail.akis.at (-304317500 octets).
Apr 23 21:20:03 srv4hai fetchmail[1651]: 48 messages (48 seen) for admin@bastelstube.wien at pop3.world4you.com (12070443 octets).
Apr 23 21:20:08 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 21:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 23 21:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 23 21:20:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 23 21:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 23 21:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 23 21:20:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 21:20:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 21:20:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 23 21:20:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 23 21:20:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 23 21:20:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 23 21:20:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 23 21:20:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 23 21:20:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 23 21:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 21:20:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 23 21:20:20 srv4hai common[5051]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 23 21:20:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'16'=1713900020-1713900004
Apr 23 21:20:20 srv4hai check_presence[5051]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 23 21:20:20 srv4hai check_presence[5051]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 23 21:20:20 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'16'=1713900020-1713900004
Apr 23 21:20:20 srv4hai check_presence[5051]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 23 21:20:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'16'=1713900020-1713900004
Apr 23 21:20:20 srv4hai check_presence[5051]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 23 21:20:20 srv4hai check_presence[5051]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 23 21:20:20 srv4hai check_presence[5051]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 23 21:20:20 srv4hai common[5051]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 23 21:20:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcOFF'
Apr 23 21:20:20 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Apr 23 21:20:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr 23 21:20:20 srv4hai postfix/pickup[32392]: BD63C6022F: uid=33 from=
Apr 23 21:20:20 srv4hai postfix/cleanup[5201]: BD63C6022F: message-id=<20240423192020.BD63C6022F@mail.viehai.at>
Apr 23 21:20:20 srv4hai postfix/qmgr[15291]: BD63C6022F: from=, size=645, nrcpt=1 (queue active)
Apr 23 21:20:20 srv4hai postfix/local[5213]: BD63C6022F: 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)
Apr 23 21:20:20 srv4hai postfix/qmgr[15291]: BD63C6022F: removed
Apr 23 21:20:26 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713900026 - 'ping_SP_0'
Apr 23 21:20:26 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 23 21:20:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6100, secured, session=<1ysOc8gWwMUAAAAAAAAAAAAAAAAAAAAB>
Apr 23 21:20:39 srv4hai dovecot: imap(miglincit)<6100><1ysOc8gWwMUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=735 out=42754 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18554 body_count=0 body_bytes=0
Apr 23 21:20:48 srv4hai common[6104]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 23 21:20:58 srv4hai bt_scan[6104]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 23 21:20:58 srv4hai bt_scan[6104]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 23 21:20:58 srv4hai common[6136]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 23 21:20:58 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713900058-1713900048
Apr 23 21:20:58 srv4hai check_presence[6136]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 23 21:20:58 srv4hai check_presence[6136]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 23 21:20:58 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1713900058-1713900048
Apr 23 21:20:58 srv4hai check_presence[6136]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 23 21:20:58 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1713900058-1713900048
Apr 23 21:20:58 srv4hai check_presence[6136]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 23 21:20:58 srv4hai check_presence[6136]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 23 21:20:58 srv4hai check_presence[6136]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 23 21:21:01 srv4hai CRON[6259]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 21:21:13 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Apr 23 21:21:39 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713900099 - 'ping_SP_0'
Apr 23 21:21:39 srv4hai ping_SP[11050]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 23 21:22:01 srv4hai CRON[6292]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 21:22:27 srv4hai common[6303]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 23 21:22:37 srv4hai bt_scan[6303]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Apr 23 21:22:37 srv4hai bt_scan[6303]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Apr 23 21:22:37 srv4hai common[6335]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 23 21:22:37 srv4hai ping_SP[6335]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 23 21:22:37 srv4hai common[6356]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 23 21:22:38 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713900158-1713900148
Apr 23 21:22:38 srv4hai check_presence[6356]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 23 21:22:38 srv4hai check_presence[6356]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Apr 23 21:22:38 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1713900158-1713900148
Apr 23 21:22:38 srv4hai check_presence[6356]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 23 21:22:38 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1713900158-1713900148
Apr 23 21:22:38 srv4hai check_presence[6356]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 23 21:22:38 srv4hai check_presence[6356]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 23 21:22:38 srv4hai check_presence[6356]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Apr 23 21:22:38 srv4hai activate_scenario[6478]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 23 21:22:38 srv4hai activate_scenario[6478]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished