activate_scenario.sh
Tue Sep 10 22:03:30 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/09/10/_0.log)

vorher: 22:03:30.845

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: 22:03:30.912
Dauer: 67 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 22:03:30.826
nachher: 22:03:30.918
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/10//scene_vorraumOn_20240910_220330.txt'


syslog

Sep 10 22:00:01 srv4hai CRON[31601]: (root) CMD (/etc/linetest/linetest.sh)
Sep 10 22:00:01 srv4hai CRON[31602]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 10 22:00:01 srv4hai common[31603]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 10 22:00:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 10 22:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 10 22:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 10 22:00:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 10 22:00:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 10 22:00:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 10 22:00:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 10 22:00:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 10 22:00:07 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725998407 - 'ping_SP_0'
Sep 10 22:00:07 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 10 22:00:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 10 22:00:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 10 22:00:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 10 22:00:14 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 10 22:00:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 10 22:00:14 srv4hai common[32500]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 10 22:00:14 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 10 22:00:14 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 10 22:00:14 srv4hai meter.sh: SHELLY meter.sh ended
Sep 10 22:00:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32524, secured, session=<+zp3UskhNtkAAAAAAAAAAAAAAAAAAAAB>
Sep 10 22:00:15 srv4hai dovecot: imap(miglincit)<32524><+zp3UskhNtkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 10 22:01:01 srv4hai CRON[32538]: (root) CMD (/etc/linetest/linetest.sh)
Sep 10 22:01:20 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725998480 - 'ping_SP_0'
Sep 10 22:01:20 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 10 22:01:41 srv4hai postfix/smtpd[32569]: connect from unknown[80.94.92.124]
Sep 10 22:01:46 srv4hai postfix/smtpd[32569]: warning: unknown[80.94.92.124]: SASL PLAIN authentication failed: 
Sep 10 22:01:46 srv4hai postfix/smtpd[32569]: disconnect from unknown[80.94.92.124] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 10 22:02:01 srv4hai CRON[32587]: (root) CMD (/etc/linetest/linetest.sh)
Sep 10 22:02:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 10 22:02:20 srv4hai fetchmail[1651]: 52016 messages (52016 seen) for tmiglinci at mail.akis.at (-13855077 octets).
Sep 10 22:02:20 srv4hai fetchmail[1651]: 10703 messages (10703 seen) for srozum at mail.akis.at (1291857175 octets).
Sep 10 22:02:21 srv4hai fetchmail[1651]: 25821 messages (25821 seen) for mrozum at mail.akis.at (199238638 octets).
Sep 10 22:02:21 srv4hai fetchmail[1651]: 1142 messages (1142 seen) for admin@bastelstube.wien at pop3.world4you.com (51614275 octets).
Sep 10 22:02:33 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725998553 - 'ping_SP_0'
Sep 10 22:02:33 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 10 22:02:40 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32621, secured, session=
Sep 10 22:02:40 srv4hai dovecot: imap(miglincit)<32621>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 10 22:03:01 srv4hai CRON[32628]: (root) CMD (/etc/linetest/linetest.sh)
Sep 10 22:03:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32637, secured, session=
Sep 10 22:03:15 srv4hai dovecot: imap(miglincit)<32637>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 10 22:03:19 srv4hai common[32641]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 10 22:03:29 srv4hai bt_scan[32641]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 10 22:03:29 srv4hai bt_scan[32641]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Sep 10 22:03:29 srv4hai common[32675]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 10 22:03:29 srv4hai ping_SP[32675]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 10 22:03:29 srv4hai common[32696]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 10 22:03:30 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1725998610-1725998600
Sep 10 22:03:30 srv4hai check_presence[32696]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 10 22:03:30 srv4hai check_presence[32696]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 10 22:03:30 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1725998610-1725998600
Sep 10 22:03:30 srv4hai check_presence[32696]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 10 22:03:30 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1725998610-1725998600
Sep 10 22:03:30 srv4hai check_presence[32696]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 10 22:03:30 srv4hai check_presence[32696]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 10 22:03:30 srv4hai check_presence[32696]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 10 22:03:30 srv4hai check_presence[32696]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Sep 10 22:03:30 srv4hai activate_scenario[381]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 10 22:03:30 srv4hai activate_scenario[381]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished