I don’t know which one is better, but the solution with hue-mqtt-bridge is working great and works with Hue Tap and Hue Motion. If it fails at npm install, maybe you don’t have node installed on your pi. This should help:
These both work by polling the Hue API. The MQTT package recommends 500ms polling interval, which you can also set with the custom component if you wish.
I’ve added a Hue Motion sensor to Home Assistant using deConz Rest API and Node Red.
This is working ok, but I see that the reported temperature from my sensor is way off, I’d guess it is 4 or 5 °C too high.
Anyone else having this problem or is it just my sensor that has a bad thermometer?
According to this, it seems that you can’t override the polling interval with the custom component, that’s why I’m using the hue-mqtt-bridge and I get much faster response time with the motion sensor.
Nice, thanks! I tried out the dev-phue branch and it seems to work fine. Including the scan interval of 0.1, so my switch now instantly triggers actions when I press a button Will report back if I find any issues/bugs.
I have recently setup the motion sensor via a rest template sensor. All is working fine the UI and i can see the motion sensor is updated from False to True when motion is detected however if i create an automation with a trigger state from ‘False’ to ‘True’ the automation doesnt run.
Should i be using False/True or On/Off?
Can someone share an example of what they have used to trigger automation from hue motion detection
I’ve had three philips hue motions sensors set up as temperature sensors in Hass and it’s been working perfectly until about a couple a weeks ago when the sensors disappeared in Hass. No errors in the log-file. If I paste the resource URL in my browser I get the response from the Hue bridge. Any idea whats’ wrong?
I actually got it working again, I think it was an indentation error in the config-file, don’t know how that happened… Don’t understand why it didn’t generate anything in the log.
I have set my Hue motion up as per the instructions at the very beginning of this thread. Everything seems to be working okay, but very slowly!
It takes about 25 seconds for the motion sensor to turn on a Hue light. Does this sound about right or is there something wrong? I can handle a couple of seconds of delay, but as is, it’s unusable.
25 seconds is way too long. it’s a few seconds but definitely not 25.
just sometimes i do notice it doesn’t capture my motion well enough, but that has nothing to do with the delay.
Are you sure the sensor is quick enough? when you test the sensor in the hue app and you move in front of it, does it see that quick enough?
not sure if it might help but I have also unreachable true configured. so: