Use Hue Motion Sensor in HA without delay (Required: iPad or Apple TV)

Hello, everyone.

today Phillips released an update for the App and Hue Bridge.
Now it is possible to add the motion detector to Homekit.

Required hardware and software:

Instructions:

I’m not going into detail about setting up Homebridge for HomeAssistant. There are enough instructions on the Internet for this.

  1. If not already done, please add the Hue Bridge to Homekit.
    If the sensor can be found in the Home App, you have done everything right.

  2. In HomeAssistant we create a new input_boolean switch:

    fake_motion_living_room:
    name: Living room motion detector
    initial: off
    
  3. In the customize.yaml file we add the following to show the switch in homebridge:

    input_boolean. fake_motion_living_room:
      homebridge_visible: true
      icon: mdi: eye
    
  4. If the fake switch appears successfully in the Apple Home App, we can start building the automation.
    Click on Automation at the bottom of the Home App and then click +

  5. Select the real sensor as trigger

  6. Choose discover movement

  7. Choose now the switch(input_boolean) we created at the beginning.

If the sensor detects movement, the switch in HomeAssistant is turned on. This can be used in automation to turn on lights or something else.

I hope you understand everything. I am not a native english speaker.

Daranto

5 Likes