I’ve got an Aqara Motion Sensor paired with ZHA and I’ve modded it to send motion every 5 seconds instead of 2 minutes with this guide: SmartThings Community – 19 Oct 18 Making Xiaomi Motion Sensor a Super Motion Sensor Usually Xiaomi motion sensor is detected every two minutes. But with a little work, you can change that time to 5 seconds Step 1 Remove bottom battery cover. Step 2 I used a Stanley knife to open around the edges of the piece keeping the sensor in place. Please refer to the photo's I uploaded. Step 3 The 05/07/ · Aqara motion sensor hacked - needs a little change in the driver · Issue # · TedTolboom/blogger.com-mi-zigbee · GitHub Public Issues 8 Closed Piotr-Grochowski opened 11/10/ · I used the python script to set the sensor state in home assistant to ‘off’. This worked, but after 5 seconds, the sensor state in home assistant will not turn to ‘on’ again even ( Results) Results for aqara motion sensor hack The aqara motion sensor hack is a hightech smart wireless product that can realize the control of a water lamp, and it is widely ... read more
After a lot of testing I found a way to get this working for my setup by making changes in the source code for the motion sensor. First, I changed the reset interval of the sensor to 10 seconds in this line. Unfortunately this did not work. Then I used the python script as mentioned above in my automation to manually reset the sensor state.
This seems to work. But unfortunately no motion was recognized for the next 2 - 3 minutes. Then, after a lot of logging, i found this line which seems to control if my automation gets triggered or not. I changed the return value to True. Now in combination with the python script everything works as expected. is use the aqara motion sensor hack within Deconz. Is ZHA also useable with this hack? are there people who did this within ZHA?
I tried last year ZHA but i had issues with the motion sensors that they made false triggers. dont know if that is already solved?? Basically the solution is to reset the state in ZHA, not in HA. This is the yaml to change the state replace IEEE with the sensor address :. No more ghost triggers even using a 5s reset delay! I will have to abandon the script and use the default behavior of the sensor.
I think there is just no hardware solution, setting the state of a binary sensor does nothing with the hardware itself…. The state script is no longer available. I would very much appreciated if you could share your node red flow. I still use the automation. yaml solution wich resets it every 15 seconds. However some sensors have experienced false positive trigger suddenly lately… I noticed it triggers ever minutes exactly by the minute a false positive…. Aqara Motion Sensor Hack for 5 sec Configuration Zigbee.
Unable to set sensor entity state, aqara motion sensor hack. Motion Sensor, turn lights off. py L I modified it aqara motion sensor hack 5 seconds and it works, but the problem is that I have to change it every time I update Home Assistant. Hi all, i use hassio version 0. Or works this solution furthermore? py and init.
py file in hassio. thank your very much. This is exactly what I wanted. I run hassio 0. Thanks that did the trick. Everything working as aqara motion sensor hack now. set inputEntity, inputState, inputAttributesObject. Yes, this may not be the best way to do this but it certainly is the easiest solution as of now. First you need to acquire an API key. You can find a guide on how to do this HERE on their Wiki page.
Rather go HERE and download their Standalone version. You can now use a PUT request to set the duration to something lower, like in the above case to 7 seconds.
However I think that 7 seconds is a good value to set to give the Motion Sensor some time to reset itself too, you can always set this higher if you encounter problems of course. As you can see it worked! What we have to do now is to create a cURL request which sends this value every other second. Easily done on Linux! However, once you log off the script will stop, so we have to run it as a service on startup.
Replace the path to the. sh file below.
by EpicLPer · However you hacked that sensor to report values every 5 seconds yet deCONZ simply ignores new values for the default 90 seconds and stores the last motion event for that period. We actually have to use the deCONZ API to set this. There is no other, easier way as of writing this to set and store this value which honestly sucks but whatever… they made a lot of other, rather questionable decisions while writing that software but this is out of the scope of this blog entry ;.
So how can we fix this somewhat easily? Well, the way I chose to do it is: cURL. Yes, this may not be the best way to do this but it certainly is the easiest solution as of now.
First you need to acquire an API key. You can find a guide on how to do this HERE on their Wiki page. Rather go HERE and download their Standalone version. You can now use a PUT request to set the duration to something lower, like in the above case to 7 seconds. However I think that 7 seconds is a good value to set to give the Motion Sensor some time to reset itself too, you can always set this higher if you encounter problems of course.
As you can see it worked! What we have to do now is to create a cURL request which sends this value every other second. Easily done on Linux! However, once you log off the script will stop, so we have to run it as a service on startup.
Replace the path to the. sh file below. The service should now automatically be running on startup and loop every 5 seconds. The output below shows you if the cURL command has been sent successfully. by EpicLPer · Published For the reference of anyone else looking for this information, a fix was recently implemented in deCONZ version V2. Your email address will not be published. By using this form you agree with the storage and handling of your data by this website.
This site uses Akismet to reduce spam. Learn how your comment data is processed. QuickTip: deCONZ workaround for hacked Aqara Motion Sensor by EpicLPer · There is no other, easier way as of writing this to set and store this value which honestly sucks but whatever… they made a lot of other, rather questionable decisions while writing that software but this is out of the scope of this blog entry ; So how can we fix this somewhat easily?
Solution First you need to acquire an API key. Internet Explorer 8 — List with ALL Languages directly from Microsoft QuickTip: Netzwerk in Windows 10 priorisieren QuickTip: Fix SuperSU not being detected by some apps Nate says:. Leave a Reply Cancel reply Your email address will not be published. Twitter Tweets von EpicLPer. Recent Posts QuickTip: deCONZ workaround for hacked Aqara Motion Sensor
09/03/ · Xiaomi motion sensor hack Lounge SmartHomePrimer March 9, , am #1 This hardware hack reposted by @veeceeoh changes the Xiaomi motion sensor hardware I’ve got an Aqara Motion Sensor paired with ZHA and I’ve modded it to send motion every 5 seconds instead of 2 minutes with this guide: SmartThings Community – 19 Oct 18 Making Xiaomi Motion Sensor a Super Motion Sensor Usually Xiaomi motion sensor is detected every two minutes. But with a little work, you can change that time to 5 seconds 11/10/ · I used the python script to set the sensor state in home assistant to ‘off’. This worked, but after 5 seconds, the sensor state in home assistant will not turn to ‘on’ again even 15/08/ · This hardware motion sensor hack allows motion to be detected every 5 seconds, however it still takes seconds to reset the state to off. This app will motions sensor state 14/07/ · 09/03/ · This hardware hack reposted by @veeceeoh changes the Xiaomi motion sensor hardware response time from 60 seconds between the end of the last motion event, to Step 1 Remove bottom battery cover. Step 2 I used a Stanley knife to open around the edges of the piece keeping the sensor in place. Please refer to the photo's I uploaded. Step 3 The ... read more
However you hacked that sensor to report values every 5 seconds yet deCONZ simply ignores new values for the default 90 seconds and stores the last motion event for that period. All the boxes I received said Aqara on them. Topics home-automation home-assistant homeassistant appdaemon hacs appdaemon-apps. But, yes, I've added an expert setting overriding the minimum time in v0. To get around this you can rename either of the two integrations to e.
You are right about majority of users that will use standard, non-hacked sensor. Thanks for the info, aqara motion sensor hack, a year sounds good, I will try with one tomorrow. I'll probably leave it from now until I get back from Oregon in mid April. However some sensors have experienced false positive trigger suddenly lately… I noticed it triggers ever minutes exactly by the minute a false positive…. I suppose this is for Aqara motion sensor hack, not Aqara, correct? HTTPS GitHub CLI. Code Issues Pull requests Actions Projects Security Insights.