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:
- Hue Bridge
- Hue Motion Sensor
- iPad (needs to be at home all the time) or Apple TV
- HomeBridge with HomeAssistant Plugin
Instructions:
I’m not going into detail about setting up Homebridge for HomeAssistant. There are enough instructions on the Internet for this.
-
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. -
In HomeAssistant we create a new input_boolean switch:
fake_motion_living_room: name: Living room motion detector initial: off
-
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
-
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 + -
Select the real sensor as trigger
-
Choose discover movement
-
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