activate_scenario.sh
Wed Jan 22 00:50:32 CET 2025
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/2025/01/22/_0.log)

vorher: 00:50:33.059

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

nachher: 00:50:33.078
Dauer: 18 msec phName: 'shelly-23:'WZ Licht Sofa''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_1.log)

vorher: 00:50:33.078

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": "input"

nachher: 00:50:33.125
Dauer: 48 msec phName: 'shelly-23:'WZ Licht Sofa''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_2.log)

vorher: 00:50:33.099

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": "input"

nachher: 00:50:33.131
Dauer: 31 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_3.log)

vorher: 00:50:33.117

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

nachher: 00:50:33.144
Dauer: 27 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_4.log)

vorher: 00:50:33.137

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

nachher: 00:50:33.164
Dauer: 27 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_5.log)

vorher: 00:50:33.155

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: 00:50:33.178
Dauer: 23 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_6.log)

vorher: 00:50:33.174

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": 10.8,
  "overpower": false

nachher: 00:50:33.335
Dauer: 160 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_7.log)

vorher: 00:50:33.196

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": 10.8,
  "overpower": false

nachher: 00:50:33.332
Dauer: 136 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_8.log)

vorher: 00:50:33.216

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: 00:50:33.238
Dauer: 22 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_9.log)

vorher: 00:50:33.234

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: 00:50:33.275
Dauer: 40 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_10.log)

vorher: 00:50:33.253

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: 00:50:33.294
Dauer: 41 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_11.log)

vorher: 00:50:33.271

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: 00:50:33.303
Dauer: 32 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_12.log)

vorher: 00:50:33.290

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

nachher: 00:50:33.408
Dauer: 119 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_13.log)

vorher: 00:50:33.310

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

nachher: 00:50:33.431
Dauer: 120 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/01/22/_14.log)

vorher: 00:50:33.329

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: 00:50:33.353
Dauer: 25 msec phName: 'shelly-23:'WZ Licht Sofa''


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

urls : 15
vorher : 00:50:33.031
nachher: 00:50:33.439
Dauer : 408 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/22//scene_offDownstairs_20250122_005032.txt'


syslog

Jan 22 00:47:01 srv4hai CRON[2655]: (root) CMD (/etc/linetest/linetest.sh)
Jan 22 00:47:01 srv4hai bt_scan[2637]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jan 22 00:47:01 srv4hai bt_scan[2637]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jan 22 00:47:37 srv4hai ping_SP[31141]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737503257 - 'ping_SP_1'
Jan 22 00:47:37 srv4hai ping_SP[31141]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 22 00:48:01 srv4hai CRON[2718]: (root) CMD (/etc/linetest/linetest.sh)
Jan 22 00:48:01 srv4hai ping_SP[13512]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737503281 - 'ping_SP_0'
Jan 22 00:48:01 srv4hai ping_SP[13512]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 22 00:48:02 srv4hai common[2739]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 22 00:48:12 srv4hai bt_scan[2739]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jan 22 00:48:12 srv4hai bt_scan[2739]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jan 22 00:48:12 srv4hai common[2771]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jan 22 00:48:12 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1737503292-1737503281
Jan 22 00:48:12 srv4hai check_presence[2771]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jan 22 00:48:12 srv4hai check_presence[2771]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jan 22 00:48:12 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1737503292-1737503281
Jan 22 00:48:12 srv4hai check_presence[2771]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jan 22 00:48:12 srv4hai check_presence[2771]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jan 22 00:48:12 srv4hai check_presence[2771]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Jan 22 00:48:12 srv4hai check_presence[2771]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jan 22 00:48:12 srv4hai check_presence[2771]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 22 00:48:27 srv4hai postfix/anvil[2340]: statistics: max connection rate 1/60s for (smtp:195.178.110.214) at Jan 22 00:44:56
Jan 22 00:48:27 srv4hai postfix/anvil[2340]: statistics: max connection count 1 for (smtp:195.178.110.214) at Jan 22 00:44:56
Jan 22 00:48:27 srv4hai postfix/anvil[2340]: statistics: max cache size 2 at Jan 22 00:45:02
Jan 22 00:48:51 srv4hai ping_SP[31141]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737503331 - 'ping_SP_1'
Jan 22 00:48:51 srv4hai ping_SP[31141]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 22 00:49:01 srv4hai CRON[2913]: (root) CMD (/etc/linetest/linetest.sh)
Jan 22 00:49:14 srv4hai ping_SP[13512]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737503354 - 'ping_SP_0'
Jan 22 00:49:14 srv4hai ping_SP[13512]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 22 00:49:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2940, secured, session=<8ESFBkAs3tAAAAAAAAAAAAAAAAAAAAAB>
Jan 22 00:49:19 srv4hai dovecot: imap(miglincit)<2940><8ESFBkAs3tAAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 22 00:50:00 srv4hai postfix/smtpd[2951]: connect from unknown[92.118.39.65]
Jan 22 00:50:01 srv4hai CRON[2956]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 22 00:50:01 srv4hai CRON[2957]: (root) CMD (/etc/linetest/linetest.sh)
Jan 22 00:50:01 srv4hai common[2959]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jan 22 00:50:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 22 00:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jan 22 00:50:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jan 22 00:50:04 srv4hai postfix/smtpd[2951]: warning: unknown[92.118.39.65]: SASL PLAIN authentication failed: 
Jan 22 00:50:04 srv4hai postfix/smtpd[2951]: disconnect from unknown[92.118.39.65] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 22 00:50:04 srv4hai ping_SP[31141]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737503404 - 'ping_SP_1'
Jan 22 00:50:04 srv4hai ping_SP[31141]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 22 00:50:04 srv4hai postfix/smtpd[2951]: warning: hostname 172-245-9-111-host.colocrossing.com does not resolve to address 172.245.9.111: Name or service not known
Jan 22 00:50:04 srv4hai postfix/smtpd[2951]: connect from unknown[172.245.9.111]
Jan 22 00:50:08 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 22 00:50:08 srv4hai postfix/smtpd[2951]: warning: unknown[172.245.9.111]: SASL PLAIN authentication failed: 
Jan 22 00:50:08 srv4hai postfix/smtpd[2951]: disconnect from unknown[172.245.9.111] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 22 00:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jan 22 00:50:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jan 22 00:50:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Jan 22 00:50:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jan 22 00:50:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jan 22 00:50:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Jan 22 00:50:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jan 22 00:50:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jan 22 00:50:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 22 00:50:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jan 22 00:50:20 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 22 00:50:20 srv4hai common[3980]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jan 22 00:50:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jan 22 00:50:20 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Jan 22 00:50:20 srv4hai meter.sh: SHELLY meter.sh ended
Jan 22 00:50:25 srv4hai common[4007]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 22 00:50:27 srv4hai ping_SP[13512]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737503427 - 'ping_SP_0'
Jan 22 00:50:27 srv4hai ping_SP[13512]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 22 00:50:29 srv4hai postfix/smtpd[2951]: warning: hostname 104-168-64-126-host.colocrossing.com does not resolve to address 104.168.64.126: Name or service not known
Jan 22 00:50:29 srv4hai postfix/smtpd[2951]: connect from unknown[104.168.64.126]
Jan 22 00:50:32 srv4hai activate_scenario[4035]: SHELLY last scenario: 'vorraumOn' @ '002812' from 'scene_vorraumOn_20250122_002812.txt' - delta=-20
Jan 22 00:50:32 srv4hai activate_scenario[4035]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250122005032 20250122002812  -f '%S'
Jan 22 00:50:32 srv4hai activate_scenario[4035]: SHELLY  new scenario: 'offDownstairs' different - GO ON
Jan 22 00:50:33 srv4hai activate_scenario[4035]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jan 22 00:50:33 srv4hai activate_scenario[4035]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished