F5F Stay Refreshed Hardware Desktop Home assistant sensor control system

Home assistant sensor control system

Home assistant sensor control system

A
akanijo
Member
170
05-06-2019, 08:39 AM
#1
Hi everyone, I just moved into a new apartment and decided to switch my smart home setup to Home Assistant. Initially, I was using Home Assistant on a 4GB Raspberry Pi 4 with a Conex II stick. My initial setup consisted of a Hue bridge and a few smart lights. Now I'm attempting my first sensor-based automation. The goal is simple: the light should activate when someone enters the hallway. If it's after 23:00, it should stay on but dimmed. After two minutes without motion detection, the lights should turn off again. I'm employing a Hue sensor and three LED bulbs. This automation isn't working as expected. I suspect the issue lies with the sensor, since even in the pre-set motion automation it fails. However, the Home Assistant logs indicate movement was detected. Could anyone assist me? Thanks, Lasse

If you need:
- Type: is_motion
- Condition: device_id: c69f661ea032fdd582223fefca810218
- Domain: binary_sensor
- For: hours: 0 minutes: 2 seconds: 0
- Then:
- If: time after "23:00:00" before "07:00:00"
- Weekdays: mon, tue, wed, thu, sat, sun, sat
- Or:
- Type: turn_on
- Device_id: 68abf1a8994193790d1a713aa2b8e909
- Domain: light brightness_pct: 30
- And so on for the other lights
A
akanijo
05-06-2019, 08:39 AM #1

Hi everyone, I just moved into a new apartment and decided to switch my smart home setup to Home Assistant. Initially, I was using Home Assistant on a 4GB Raspberry Pi 4 with a Conex II stick. My initial setup consisted of a Hue bridge and a few smart lights. Now I'm attempting my first sensor-based automation. The goal is simple: the light should activate when someone enters the hallway. If it's after 23:00, it should stay on but dimmed. After two minutes without motion detection, the lights should turn off again. I'm employing a Hue sensor and three LED bulbs. This automation isn't working as expected. I suspect the issue lies with the sensor, since even in the pre-set motion automation it fails. However, the Home Assistant logs indicate movement was detected. Could anyone assist me? Thanks, Lasse

If you need:
- Type: is_motion
- Condition: device_id: c69f661ea032fdd582223fefca810218
- Domain: binary_sensor
- For: hours: 0 minutes: 2 seconds: 0
- Then:
- If: time after "23:00:00" before "07:00:00"
- Weekdays: mon, tue, wed, thu, sat, sun, sat
- Or:
- Type: turn_on
- Device_id: 68abf1a8994193790d1a713aa2b8e909
- Domain: light brightness_pct: 30
- And so on for the other lights