activate_scenario.sh
Wed Dec 4 21:53:22 CET 2024
scenario: offDownstairs
source: 192.168.12.123

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_0.log)

vorher: 21:53:22.503

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 21:53:22.576
Dauer: 73 msec phName: 'shelly-23:'WZ Licht Sofa''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_1.log)

vorher: 21:53:22.520

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 21:53:22.569
Dauer: 49 msec phName: 'shelly-23:'WZ Licht Sofa''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_2.log)

vorher: 21:53:22.535

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 21:53:22.613
Dauer: 78 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_3.log)

vorher: 21:53:22.548

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:22.640
Dauer: 93 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_4.log)

vorher: 21:53:22.560

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:22.613
Dauer: 52 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_5.log)

vorher: 21:53:22.576

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:22.646
Dauer: 70 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_6.log)

vorher: 21:53:22.592

http://192.168.12.116/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 12.72,
  "overpower": false

nachher: 21:53:22.629
Dauer: 36 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_7.log)

vorher: 21:53:22.605

http://192.168.12.116/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 12.72,
  "overpower": false

nachher: 21:53:22.647
Dauer: 41 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_8.log)

vorher: 21:53:22.620

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 21:53:22.682
Dauer: 62 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_9.log)

vorher: 21:53:22.637

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 21:53:22.679
Dauer: 42 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_10.log)

vorher: 21:53:22.652

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:22.703
Dauer: 51 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_11.log)

vorher: 21:53:22.668

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 21:53:22.713
Dauer: 45 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_12.log)

vorher: 21:53:22.684

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:22.737
Dauer: 52 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_13.log)

vorher: 21:53:22.700

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 21:53:22.816
Dauer: 116 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2024/12/04/_14.log)

vorher: 21:53:22.714

http://192.168.12.152/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:53:22.799
Dauer: 86 msec phName: 'shelly-23:'WZ Licht Sofa''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 15
vorher : 21:53:22.480
nachher: 21:53:22.823
Dauer : 343 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/04//scene_offDownstairs_20241204_215322.txt'


syslog

Dec  4 21:50:00 srv4hai postfix/smtpd[7395]: 9676C6345A: client=wu.unioncorp.net[209.141.44.150]
Dec  4 21:50:00 srv4hai postfix/cleanup[7159]: 9676C6345A: message-id=<0.0.7.21F.1DB468E14CB3534.0@wu.unioncorp.net>
Dec  4 21:50:00 srv4hai postfix/qmgr[8566]: 9676C6345A: from=, size=5178, nrcpt=1 (queue active)
Dec  4 21:50:00 srv4hai postfix/local[7397]: 9676C6345A: to=, orig_to=, relay=local, delay=0.5, delays=0.49/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  4 21:50:00 srv4hai postfix/qmgr[8566]: 9676C6345A: removed
Dec  4 21:50:01 srv4hai postfix/smtpd[7395]: disconnect from wu.unioncorp.net[209.141.44.150] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Dec  4 21:50:01 srv4hai CRON[7401]: (root) CMD (/etc/linetest/linetest.sh)
Dec  4 21:50:01 srv4hai CRON[7403]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec  4 21:50:01 srv4hai common[7407]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec  4 21:50:01 srv4hai meter.sh: SHELLY meter.sh started
Dec  4 21:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec  4 21:50:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec  4 21:50:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec  4 21:50:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec  4 21:50:05 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec  4 21:50:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec  4 21:50:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec  4 21:50:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  4 21:50:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  4 21:50:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec  4 21:50:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec  4 21:50:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec  4 21:50:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec  4 21:50:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec  4 21:50:11 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec  4 21:50:14 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  4 21:50:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec  4 21:50:14 srv4hai common[8373]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec  4 21:50:14 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Dec  4 21:50:14 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Dec  4 21:50:14 srv4hai meter.sh: SHELLY meter.sh ended
Dec  4 21:50:25 srv4hai postfix/smtpd[7395]: connect from unknown[183.134.104.170]
Dec  4 21:50:29 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733345429 - 'ping_SP_1'
Dec  4 21:50:29 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  4 21:50:47 srv4hai postfix/smtpd[8421]: connect from unknown[80.94.95.239]
Dec  4 21:50:48 srv4hai ping_SP[6959]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733345448 - 'ping_SP_0'
Dec  4 21:50:48 srv4hai ping_SP[6959]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  4 21:50:50 srv4hai postfix/smtpd[8421]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  4 21:50:51 srv4hai postfix/smtpd[8421]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  4 21:51:01 srv4hai CRON[8440]: (root) CMD (/etc/linetest/linetest.sh)
Dec  4 21:51:42 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733345502 - 'ping_SP_1'
Dec  4 21:51:42 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  4 21:52:01 srv4hai CRON[8479]: (root) CMD (/etc/linetest/linetest.sh)
Dec  4 21:52:01 srv4hai ping_SP[6959]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733345521 - 'ping_SP_0'
Dec  4 21:52:01 srv4hai ping_SP[6959]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  4 21:52:06 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec  4 21:52:07 srv4hai fetchmail[1651]: 58485 messages (58484 seen) for tmiglinci at mail.akis.at (510280249 octets).
Dec  4 21:52:07 srv4hai postfix/smtpd[8421]: connect from localhost[127.0.0.1]
Dec  4 21:52:07 srv4hai postfix/smtpd[8421]: 8F06B6345A: client=localhost[127.0.0.1]
Dec  4 21:52:07 srv4hai postfix/cleanup[8500]: 8F06B6345A: message-id=<20241204204832.9640163463@mail.viehai.at>
Dec  4 21:52:07 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:58485 of 58485 (8828 octets) not flushed
Dec  4 21:52:07 srv4hai postfix/qmgr[8566]: 8F06B6345A: from=, size=9124, nrcpt=1 (queue active)
Dec  4 21:52:07 srv4hai postfix/smtpd[8421]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec  4 21:52:07 srv4hai postfix/local[8501]: 8F06B6345A: to=, relay=local, delay=0.08, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  4 21:52:07 srv4hai postfix/qmgr[8566]: 8F06B6345A: removed
Dec  4 21:52:08 srv4hai fetchmail[1651]: 11169 messages (11169 seen) for srozum at mail.akis.at (1342471339 octets).
Dec  4 21:52:08 srv4hai fetchmail[1651]: 27661 messages (27661 seen) for mrozum at mail.akis.at (463948183 octets).
Dec  4 21:52:09 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Dec  4 21:52:16 srv4hai common[8509]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  4 21:52:26 srv4hai bt_scan[8509]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec  4 21:52:26 srv4hai bt_scan[8509]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec  4 21:52:26 srv4hai common[8540]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec  4 21:52:27 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1733345547-1733345536
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec  4 21:52:27 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1733345547-1733345536
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Dec  4 21:52:27 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1733345547-1733345536
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Dec  4 21:52:27 srv4hai check_presence[8540]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec  4 21:52:56 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733345576 - 'ping_SP_1'
Dec  4 21:52:56 srv4hai ping_SP[22273]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  4 21:53:01 srv4hai CRON[8720]: (root) CMD (/etc/linetest/linetest.sh)
Dec  4 21:53:14 srv4hai ping_SP[6959]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733345594 - 'ping_SP_0'
Dec  4 21:53:14 srv4hai ping_SP[6959]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  4 21:53:18 srv4hai postfix/smtpd[8421]: connect from unknown[61.50.148.183]
Dec  4 21:53:19 srv4hai postfix/smtpd[8421]: warning: unknown[61.50.148.183]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  4 21:53:19 srv4hai postfix/smtpd[8421]: disconnect from unknown[61.50.148.183] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec  4 21:53:22 srv4hai activate_scenario[8748]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Dec  4 21:53:22 srv4hai activate_scenario[8748]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished