Liebe Community,
ich habe heute auch mal eine spezielle Frage, auf die ich keine Lösung finde:
Unser Nachtlicht läuft mittlerweile über eine Automatisierung von Bewegungsmeldern und den zugehörigen LED-Streifen und Lampen - alles ZigBee. Dafür habe ich (recht günstig) bei Aliexpress eingekauft. beispielsweise habe ich folgende LED-Controller eingesetzt: Smart Tuya Zigbee Led Streifen Licht Wifi USB TV Led-hintergrundbeleuchtung Band RGB Lichter Funktioniert mit Alexa/Zigbee Hub/Google/Smartthings - AliExpress 39
Wenn sich das Licht nun nachts anschaltet, kommt es relativ oft vor, dass die Lampen und LED’s mit hellem Schein aufblitzen und dann wieder ausgehen, obwohl sie eigentlich an sein sollten.
Hier mal beispielhaft für die Küche der yaml-Code:
alias: Bewegungsmelder LED Küche
description: ""
triggers:
- type: motion
device_id: 98bff973e583bc161f9e17abe6388fba
entity_id: 58eb7c1274a7ac0c2a322d64559177c3
domain: binary_sensor
id: Küche_LED_ON
trigger: device
- type: no_motion
device_id: 98bff973e583bc161f9e17abe6388fba
entity_id: 58eb7c1274a7ac0c2a322d64559177c3
domain: binary_sensor
id: Küche_LED_OFF
for:
hours: 0
minutes: 1
seconds: 30
trigger: device
conditions:
- condition: state
entity_id: input_select.ssh_kuche
state: scene.sk05_kuche_auto
actions:
- choose:
- conditions:
- condition: trigger
id:
- Küche_LED_ON
- condition: and
conditions:
- condition: state
entity_id: input_boolean.dunkelhelfer
state: "on"
- condition: state
entity_id: input_boolean.athome
state: "on"
- condition: state
entity_id: input_boolean.gastemodus
state: "off"
- condition: state
entity_id: input_boolean.man_led_kuche
state: "off"
- condition: state
entity_id: light.led_kuche
state: "off"
sequence:
- sequence:
- action: light.turn_on
target:
entity_id: light.led_kuche
data:
rgb_color:
- 255
- 0
- 178
brightness_pct: 50
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- action: light.turn_on
target:
entity_id: light.led_kuche
data:
rgb_color:
- 255
- 0
- 178
brightness_pct: 50
- conditions:
- condition: trigger
id:
- Küche_LED_OFF
- condition: state
entity_id: input_boolean.man_led_kuche
state: "off"
sequence:
- action: light.turn_off
target:
entity_id: light.led_kuche
data:
transition: 30
- conditions:
- condition: trigger
id:
- Küche_LED_ON
- condition: and
conditions:
- condition: state
entity_id: input_boolean.dunkelhelfer
state: "on"
- condition: state
entity_id: input_boolean.athome
state: "on"
- condition: state
entity_id: input_boolean.gastemodus
state: "on"
- condition: state
entity_id: input_boolean.man_led_kuche
state: "off"
- condition: state
entity_id: light.led_kuche
state: "off"
sequence:
- sequence:
- action: light.turn_on
target:
entity_id: light.led_kuche
data:
rgb_color:
- 255
- 0
- 178
brightness_pct: 3
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- action: light.turn_on
target:
entity_id: light.led_kuche
data:
rgb_color:
- 255
- 0
- 178
brightness_pct: 2
mode: single
Man achte auf die sequence. Hier schalte ich zweimal nacheinander die Lichte an, weil sie mir einfach zu oft beim anschalten wieder ausgegangen sind.
Kennt irgendjemand das Problem und kann mir evtl. auch dabei helfen?
Herzlichen Dank im Voraus!