activate_scenario.sh
Sat Dec 28 22:22:58 CET 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/12/28/_0.log)

vorher: 22:22:58.619

http://192.168.12.107/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:22:58.657
Dauer: 37 msec phName: 'shelly-12:'SZ Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:22:58.589
nachher: 22:22:58.663
Dauer : 76 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/28//scene_bedlight_tom_20241228_222258.txt'


syslog

Dec 28 22:19:01 srv4hai CRON[21229]: (root) CMD (/etc/linetest/linetest.sh)
Dec 28 22:19:05 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735420745 - 'ping_SP_1'
Dec 28 22:19:05 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 28 22:20:01 srv4hai CRON[21267]: (root) CMD (/etc/linetest/linetest.sh)
Dec 28 22:20:01 srv4hai CRON[21268]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 28 22:20:01 srv4hai common[21270]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 28 22:20:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 28 22:20:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 28 22:20:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec 28 22:20:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 28 22:20:10 srv4hai postfix/anvil[21107]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 28 22:16:47
Dec 28 22:20:10 srv4hai postfix/anvil[21107]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 28 22:16:47
Dec 28 22:20:10 srv4hai postfix/anvil[21107]: statistics: max cache size 1 at Dec 28 22:16:47
Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec 28 22:20:12 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735420812 - 'ping_SP_0'
Dec 28 22:20:12 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec 28 22:20:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec 28 22:20:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec 28 22:20:15 srv4hai common[22285]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec 28 22:20:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Dec 28 22:20:15 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Dec 28 22:20:15 srv4hai meter.sh: SHELLY meter.sh ended
Dec 28 22:20:19 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735420819 - 'ping_SP_1'
Dec 28 22:20:19 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 28 22:20:43 srv4hai postfix/smtpd[22326]: connect from unknown[80.94.95.239]
Dec 28 22:20:46 srv4hai postfix/smtpd[22326]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 28 22:20:47 srv4hai postfix/smtpd[22326]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 28 22:20:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 28 22:20:50 srv4hai fetchmail[1651]: 60318 messages (60317 seen) for tmiglinci at mail.akis.at (660351144 octets).
Dec 28 22:20:50 srv4hai postfix/smtpd[22326]: connect from localhost[127.0.0.1]
Dec 28 22:20:50 srv4hai postfix/smtpd[22326]: 543976004E: client=localhost[127.0.0.1]
Dec 28 22:20:50 srv4hai postfix/cleanup[22330]: 543976004E: message-id=<010201940f22463e-981fd4df-ef45-4b38-b048-64b97ccca8d3-000000@eu-west-1.amazonses.com>
Dec 28 22:20:50 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:60318 of 60318 (19428 octets) not flushed
Dec 28 22:20:50 srv4hai postfix/qmgr[8566]: 543976004E: from=, size=19649, nrcpt=1 (queue active)
Dec 28 22:20:50 srv4hai postfix/smtpd[22326]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 28 22:20:50 srv4hai postfix/local[22331]: 543976004E: 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)
Dec 28 22:20:50 srv4hai postfix/qmgr[8566]: 543976004E: removed
Dec 28 22:20:50 srv4hai fetchmail[1651]: 11302 messages (11302 seen) for srozum at mail.akis.at (1353284079 octets).
Dec 28 22:20:51 srv4hai fetchmail[1651]: 28078 messages (28078 seen) for mrozum at mail.akis.at (525022469 octets).
Dec 28 22:20:51 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Dec 28 22:21:01 srv4hai CRON[22338]: (root) CMD (/etc/linetest/linetest.sh)
Dec 28 22:21:09 srv4hai common[22345]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Dec 28 22:21:09 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Dec 28 22:21:09 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Dec 28 22:21:09 srv4hai common[22368]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Dec 28 22:21:10 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'15'=1735420870-1735420855
Dec 28 22:21:10 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'15'=1735420870-1735420855
Dec 28 22:21:25 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735420885 - 'ping_SP_0'
Dec 28 22:21:25 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 28 22:21:33 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735420893 - 'ping_SP_1'
Dec 28 22:21:33 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 28 22:22:01 srv4hai CRON[22479]: (root) CMD (/etc/linetest/linetest.sh)
Dec 28 22:22:07 srv4hai systemd[1]: session-1582672.scope: Succeeded.
Dec 28 22:22:38 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735420958 - 'ping_SP_0'
Dec 28 22:22:38 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 28 22:22:39 srv4hai common[22513]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 28 22:22:46 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735420966 - 'ping_SP_1'
Dec 28 22:22:46 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 28 22:22:49 srv4hai bt_scan[22513]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Dec 28 22:22:49 srv4hai bt_scan[22513]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Dec 28 22:22:51 srv4hai common[22562]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY last scenario: 'buero_UM' @ '203325' from 'scene_buero_UM_20241228_203325.txt' - delta=-33
Dec 28 22:22:58 srv4hai activate_scenario[22579]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241228222258 20241228203325  -f '%S'
Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY  new scenario: 'bedlight_tom' different - GO ON
Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'

finished