-
Notifications
You must be signed in to change notification settings - Fork 69
Sensors not reporting continuous movement #123
Comments
I can confirm to have the same problem, please fix this, because I have many automations really on this. |
First of all, thanks for the amazing work! |
I made an account just to comment here that I'm having this same problem! Hoping it gets fixed soon |
Just wanted to add - reverting to v0.8 fixed this problem for me. Hope this helps people in the meantime. |
@aegjoyce how??? |
Remove your existing files and get the 0.8 ones from here: https://github.com/robmarkcole/Hue-sensors-HASS/releases |
Thanks for reporting this, will look into it next week |
@robmarkcole thank you! Do not want go back to 0.8 |
Same issue here to |
I noticed that lights will not go on/off on first try. So major problem for automations |
Strange, I've not seen this behavior. My setup is working as rock-solid as always. I've gone through all HA versions (0.90.1 currently) and all CC versions (1.0.5 currently) |
@claytonjn lucky you, I have big problems |
Same problem here on HA 0.90.1. |
I am not sure whether this might help those with this problem. I believe it could be due to the hue motion sensor firmware. Open Hue app, I am using iOS hue app, and check whether there is any firmware update on motion sensor. If there is update them and test it again. My Philip Hue motion sensor model is SML001 They are working fine for me. Hope this might help. |
I updated to your firmware version but I'm still having the same problem. |
I have automatic updates in Hue app. The sensor reports motion in Hue app always, but not always in HA! @robmarkcole please fix this! |
Not sure why only some have this problem. I did a visual comparison, by having iOS Hue App on iPhone and HA on iPad, I don't have any problem. Both reported the same motion detection. The moment I am in sight of the motion sensor, they both showed motion detected until I stopped moving or move out of sight. Here are my devices and settings, maybe someone could figure out the reason for this problem Hue Bridge SW: 19011813309 I don't use motion sensor in HA automation, since I mainly using them to control lights. I am using Hue App or iConnectHue App to do all motion sensor setting. configuration.yaml
Here are the state attributes I see on HA, check whether you have the same attribute elements. good luck to those having problem. |
@tangrick thanks for helping, have all same, only I don’t have filename: phue_main.conf in configuration.yaml. |
It's just contain user authentication to Hue. So I don't think that is the problem Have you tried deleting huesensor folder in custom_components and re-do huesensor folder again and check to ensure that binary_sensor.py is version = "1.0.5"? I wonder whether the threshold got anything to do with it. I would try to set motion sensor to max for both motion and light sensitive just to try it out. And both hue bridge and motion sensor are the same version as mine? I am asking because I believed, but can't be 100% sure as the motion sensor was configured in Hue app and no automation on HA, so I didn't pay too much attention to it, I think I my motion sensors on HA was exhibiting..something like...it would show "detected" and then almost 2 secs later show "clear" and then many secs..maybe 10secs later with lots of movement..it showed detected again. But yesterday I opened Hue app, it showed all my motion sensor updating to the new version and then after that HA motion detection and Hue Motion Detection matches. |
Have all on max in Hue, also do nothing with lights. Have hue sensor 1.0.5 with custom updater. |
I have a possible solution. |
Is there any update on this issue @robmarkcole ? The above mentioned fix doesn't work, at least not for me. |
There is now official sensor support in the latest ha release. The only missing part are the remotes. |
@Nikola-K I do agree that my solution doesn't work. |
Also worth linking to the updates interval issue in the official integration - home-assistant/core#23502 Although the developer seems to be very reluctant to make it configurable, it can be manually adjusted - depending on the setup, how often you update, etc doing that is either more or less work. Personally for me it was too much work to maintain that and it doesn't support switches so I moved to deCONZ to improve the integration and allow multiple different devices, and it works great. That solution of course however costs and requires additional hardware. |
I cant reproduce this issue |
Nor can I anymore! I had been running 1.2 as was getting the expected behaviour from it, then deleted the CC altogether with the release of the official integration. Unhappy with the delay in sensor response, I've just reinstalled 1.4, which works perfectly. Happy to close this issue |
...hang on. Having just tested this, I've found that the problem is only occurring with ONE of my two Hue motion sensors. My upstairs one is fine; the downstairs one isn't. The problem is only with the custom component - comparing it simultaneously with the official component, the official one tracks constant motion, whilst the custom component doesn't. Both official and custom sensors work fine with the upstairs sensor. Weird! |
FIXED IT! Tried a few things like re-linking and renaming the sensor but still didn't work. |
Nope. Stopped working again. God knows what's wrong with it. |
It's an aparently old issue, but I am having the same problem. Continuous movement is not very well detected. I was making a workaround with an template sensor. (it checks the official motion sensor and the one of your integration, if any of it is on, the template sensor is on) I like using your sensor to trigger my lights, because it's much faster than the official integration. The error? Don't know where it is coming from. Logs dont say a word, I think it is happening, when I did not restarted my hassio a long time, but maybe this is a placebo. |
https://github.com/johansmitsnl/home-assistant home-assistant contains a dev branch with the possibility to change the refresh time of the sensor. Motion sensor only and not remotes. it never got accepted you can read it here home-assistant/core#24147 but it does work and i rebase the branch frequently because i use it in my home. |
I’m having an issue with the motion sensors not tracking correctly. All was working fine with v0.8 on HA 0.88, then I decided to upgrade to HA 0.89. Following this I have started using the latest release of the CC (1.0.4), deleted all the old files and config.yaml entries, and put the new binary_sensor.py in custom_components/huecustom, then set up binary_sensor in config.yaml.
So far, so good - both my motion sensors are picked up by HA and all the correct data is retrieved. However the behaviour of the sensors in HA is now very odd. If I trigger a sensor, it changes from ‘off’ to ‘on’ - however, even if I’m still moving, it then immediately switches back to ‘off’ again. After a short reset time (about 10s or so) it will then respond to movement again - but again will immediately switch back to ‘off’ in spite of persistent movement.
No problems with the sensors themselves which are reporting state correctly to my Hue app.
Is this a known issue with v1.0.4? Any idea about workarounds? May have to downgrade to v0.8 again in the meantime as I have automations based on accurate and timely reporting of motion.
The text was updated successfully, but these errors were encountered: