Thanks for tip but not working like a charm in my case. It turns inactive after XY sec but than not detects any motion (for some time, probably for default 60sec).
@markus ... Is this the inner attribute of the device? So you cannot operate with inactivity in your driver?
The Xiaomi/Aqara/Sonoff motion sensors will only report motion every 60 seconds. They do not actually report inactive, I'm led to believe, it's the driver that changes the device state to inactive. So you can in theory set the reset to inactive time to anything between 5 and 60 seconds but the device will not report active again until 60 seconds after it initially reported motion. (When they are first paired they can report every 5 seconds but this stops after a period of time. I've seen this when the device is paired to the Mi Home hub).
There is a hack that people have done on the Xiaomi and Aqara sensors where you can solder a wire between two points which will cause the device to report every 5 seconds. Someone even mentioned that drawing a line between the two points on the circuit board with a lead pencil will do the trick.
I've never bothered trying either. The thread is on here somewhere that gives a description of what to do.
1:
2:
Thanks for clearing this up guys. Already checked Xiaomi faster activity reporting and that hack, just didnt understand that Sonoff is the same issue.
It is not, only the hue motion sensor (to my knowledge) implements an adjustable timeout.
Markus is no longer on this forum.
To talk to him go here:
If you are doing your own motion rules in RM you can use a âwait for eventsâ of the sensor going inactive before you start your countdown timer.
I have several door contacts and have 100% reliability, at the cost of them, its cheap enough to buy one a test it!
Hi all, im testing some of the SNZB-02 Humidity sensors, They seem to report every 5 minutes or so, is there a way to get them to report on changes in the humidity? by the time they report the change the shower is over and done with!
I bought four to test and haven't been real pleased with them. They'll report in as soon as five minutes IF there is significant change. So, not really what I needed for the bathrooms/showers. I'm still looking for something in a standard zigbee flavor that reports as fast as my Aqara ones.
I bought a five pack off AliExpress and have them on my network now for a couple of weeks. I havenât put one in the bathroom yet to see response time but good to note what you guys are seeing.
Also they donât seem to report temp very often either. Maybe because the temp doesnât fluctuate enough. I donât know.
As far as i can see from the logs, they report both readings every 5 minutes. Thats ok for general monitoring but for automations its not much use at all.
Really need something that reports change rather than time
The guy that wrote the driver is no longer on here, so ive asked the question over in the smartly forum where he now resides!
yeah I know markus is not here anymore.
I am using the built in drivers since Mike added them a few updates ago ... maybe i should try these drivers instead.
And i am definitely only getting humidity on a regular basis.
Sorry Steve , which drivers?
To be fair, I think a lot depends on the automations.
I use one of SNZB-02's to monitor the humidity in my Basement Utility. If it hits a certain threshold, the dehumidifier comes on -- so 5 minutes one way or the other is largely irrelevant. In a bathroom...yeah that would be a problem. In my case, the unit seems very reliable, and doesn't generate a lot of unnecessary traffic on my network, so it's perfect.
I like the motion sensors as well, although I wish the reset time was adjustable.
S.
Sonoff drivers for zigbee buttons, contact sensor, and temp/humidity were added either in 2.2.4 or 2.2.5. I canât remember which without going back to check.
Edit. Just found it. They were included in 2.2.4
As Far as i can see, there are 2 kinds of automations, Time based and change based. Time based obviously have no need for a sensor, where as changed based will always need one.
To develop and market a sensor which delays reporting change for 5 minutes is severely limiting its use, imagine what people would say if the motion sensor didnt report change in activity for 5 minutes???
Obviously some people may not need it to report small changes to avoid overhead and thats always a trade of i suppose. im not a dev but how hard could it be to have driver settings for this?
OK Turns out i was using the HE drivers, not those that this thread is about DOH!
Ive tried these for 24hrs and they are, as far as my trials go, less reliable than the HE ones.
Ive messaged Marcus over at OHLA and am waiting a response and im going to message support about the HE ones.
Ive messaged support about the HE ones
I had an idea, dont know if its achievable so im going to research it, but maybe someone following this will know the answer?
is it possible to set up a rule that will ask HE to ask the sensor to refresh values under certain variables? is it called polling??
say for instance something like:
if the shower room light comes on or motion detected.
wait some time say 2 mins.
If the light is still on, then
poll the sensor every 15 seconds until
The fan comes on of the lights go off.
then stop polling
is that possible?
Honestly, I don't think it'll work, as I think the problem is in how and how often the sensor generates a humidity update. But heck, its worth a shot.
Good luck. Note I think you'd have to write a polling loop, as Hubitats polling is set up for old non + devices, not Zwave + devices.
S
I am not a 100% sure on this but this is my understanding.
These devices sleep and only wake up and report when some internal config triggers a wake up, so polling the device is not possible.
If the device doesnât expose the configuration registers the driver can not configure it and you get what you get.
I have an inovelli 4in1 and you can configure it to report if the temp changes buy x or configure it to report every n minutes.
These devices may have these registers and the driver just doesnât have that feature support yet, or maybe the registers are not R/W, or they might not even be readable.
I have these Sonoff temp/humidity sitting right beside a couple Aqara temp/humidity. The Aqara ones report everything on a regular basis. The Sonoff only report humidity.
Ok Guys,
Ive done a little more experimentation with theses sensors and Markus's drivers.
i uninstalled the sensor and removed the battery for 10 minutes. I re added the sensor and it installed itself with Markus's driver automatically. if it doesnt then i suggest you change the driver before you start playing with it.
There seems to be no set time for reporting see below. it reports changes in both Humidity and Temp when it senses changes.
if you look at the events below youll see the difference in time reporting which can be as little as one minute and as many as 14.
For instance if you look at line 12 it reports 41.7 @ 16.44hrs and then 14 minutes later @ 16.58 42.8 on line 10.
What was really interesting is that on line 8 it reports 54 and then 100% a minute later. This was when i blew my hot fetid breath through the sensor and it reported within seconds of my blowing through it.
I have replicated this several times now.
Try doing what i did, remove them and re add, let me know how you get on.