Hallo Ihr Lieben,
ich bekomme im Trace der Automation ein Fehler den ich nicht zuordnen kann. Ich habe im Eingangsbereich eine Türklingel mit Kamera. Diese Kamera nutze ich auch als Person Erkennung für das einschalten des Licht im Eingangsbereich. Das Licht wird durch ein LED Streifen erzeugt.
Beigefügt die Automation:
alias: Licht vorne einschalten wenn Person erkannt
description: ""
triggers:
- trigger: state
entity_id:
- binary_sensor.rdbvme01_person
to:
- "on"
from:
- "off"
conditions:
- condition: sun
after: sunset
after_offset: "00:20"
before: sunrise
before_offset: "-00:20"
actions:
- device_id: 1084f24c20d09057d65c3192cfc6faf7
domain: select
entity_id: e2a5e59780aa071ddc4fabf862583a52
type: select_option
option: Person
- action: light.turn_on
metadata: {}
data:
brightness_pct: 100
rgb_color:
- 255
- 255
- 255
target:
device_id: 1084f24c20d09057d65c3192cfc6faf7
- wait_for_trigger:
- trigger: state
entity_id:
- binary_sensor.rdbvme01_person
from:
- "on"
to:
- "off"
for:
hours: 0
minutes: 0
seconds: 10
- action: light.turn_off
metadata: {}
data:
transition: 10
target:
device_id: 1084f24c20d09057d65c3192cfc6faf7
mode: single
Im Trace erhalte ich folgenden Fehler:
Ich weiß nicht wo der Fehler ist?
Gruß von Stefan Harbich
offen 10:48AM - 09 Feb 25 UTC
external
dependencies
HomeAssistant
### What happened?
Many times when one of my automations in Home Assistant is j… ust simply turning on the LED strip (60 LEDs, no segments, so not really a big thing), the Home Assistant automation fails to do so because it received a `Invalid response from WLED API` error response from the device.
1 minute later it would just turn on fine as it would normally do without issues.
This started to happen since version 0.15.0 and as some people reported on this Home Assistant issue (https://github.com/home-assistant/core/issues/132284), the issues are gone when you downgrade back to 0.14.4.
### To Reproduce Bug
It is hard to reproduce as it seems to be just randomly happening and a few seconds/minutes later there is no issue at all when turning on the device. It also seems to be correctly working when you manually turn on the device in Home Assistant.
It could be that in the automation I let it set a preset and then turn it on which could cause a API timeout if that happens to fast, but then again, it does work a minute later and there are no issues with this on 0.14.4
### Expected Behavior
just normally turn on the LED strip without errors or timeouts
### Install Method
Binary from WLED.me
### What version of WLED?
0.15.0
### Which microcontroller/board are you seeing the problem on?
ESP8266
### Relevant log/trace output
```shell
```
### Anything else?
_No response_
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Könnte das sein, evtl. Mal eine Verzögerung einfügen oder wifi sleep ausschalten
Ich habe unter den WLAN Einstellungen: “WLAN-Ruhezustand deaktivieren:” aktiviert. Leider ohne Erfolg. Wo könnte ich eine Verzögerung konfigurieren?
Ich würde erstmal nur mit einem device testen statt allen 3 .
Wenn es dann geht kommen die Befehle zu schnell, also ein Delay einfügen.
Ist bei Aktionen unter Bausteine „einige Zeit warten“ oder so ähnlich
Sorry, aber ich weiß nicht genau was Du damit meinst. Wo habe ich 3 device?
Im Trace sind 3 Elemente als Target entity-Id aufgeführt.
Das meinte ich