Hue - looking for ideas for motion sensor integration

Hi

I have recently bought a phillips hue kit containing some bulbs and a motion sensor. I have installed it in the bathroom but im having some issue that probably somebody has experienced before

I want the sensor to switch on the light when i go to the bathroom, and switch off after one minute or so of inactivity. However, when im having a shower, the sensor is not detecting any motion and the light switches off.

Has anybody experienced that issue? If so, how did you solve it?
I am relatively new to home assistant, and i dont know if this even exists, but makes sense to have a shortcut or similar in the dashboard that deactivates the motion sensor.
Also, Hue motion sensor cant be deactivated with siri, which is a pain. Would be possible to control it with siri through home assistant?

Thanks

You can create an input_boolean-

input_boolean:
  bathroom_motion_override:
    name: Bathroom Motion Override

…and use it as a condition in your automation-

condition:
  - condition: state
    entity_id: input_boolean.bathroom_motion_override
    state: 'off'

Lastly, create an automation to turn off the input_boolean-

trigger:
  - platform: state
    entity_id: input_boolean.bathroom_motion_override
    to: 'on'
    for: '00:30:00'
condition: []
action:
  - service: input_boolean.turn_off
    target:
      entity_id: input_boolean.bathroom_motion_override
  - service: light.turn_off
    target:
      entity_id: light.your_light
1 Like

Sounds good. Can this be integrated with siri, and activate it with the voice?

how do you trigger this input?

Take a look at this to turn ON the input_boolean via Siri-

OR, if you want to talk to Siri before you go into the bathroom, you can create a script and call it via Siri using the service call of script.turn_on-

alias: Bathroom Manual Override
sequence:
  - service: light.turn_on
    target:
      entity_id: light.your_light
  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.bathroom_motion_override
mode: single
1 Like

that would make it! Thanks a lot