Seeing some debug logs with debut logging disabled. I had a quick look at the code, but cannot find any apparent cause... Though I am not a developer, so what would be apparent to some is not to me.
Is there a way to disable these?
Driver version:
Xiaomi Aqara Mijia Sensors and Switches v0.13
Hhmmm. That's strange.
I'm using this driver for a few devices and I'm not seeing this.
Maybe try enabling, refresh/configure, then disable and refresh/configure for device 4393.
@chirpy
Question about moisture sensors. I have quite a few Aqara but when they stop reporting the driver remains stuck on "present" so the Device Activity app never reports anything wrong. Is the just a quirk or a known issue?
Here's an example, still present today as are others that haven't had events in over 3 weeks.
That would suggest that the scheduled job is missing. If you look at the device page there ought to be a " Scheduled Jobs" entry at the bottom for "presenceTracker". If it is not there, it's been removed somehow. To resurrect the presence check, hit "Configure" and then refresh the page and you should see the job scheduled at the bottom of the page.
Edit: The only thing I can think of at the moment as to why that job might be missing is if it was scheduled during recent day time savings.
I have re-associated all of them and hit Config. We'll see what happens.
There are no scheduled jobs on any of the devices. It's set to the default 12 hours.
I set one to 24 hours and a job appeared but it says "once"
Improvements to Presence detection - You should check each device and hit
Configure to ensure each device has the presenceTracker job schedules
Changed from BETA to RELEASE
Thank you @chirpy for providing this driver to HE community, great work!
I am happy to share that this driver works also with a brightness/illuminance sensor produced by different Chinese companies as "Powered By TUYA" . It is also referred to as ' Tuya ZigBee Smart Light Sensor Wireless Brightness Sensor Intelligent Lighting Detector' in AliExpress.
I had an issue with some of my Xiaomi sensors not reporting present when they were actually present (they would report the status correctly while stating “not present”)
I did a configure / refresh on those sensors yesterday and still today they incorrectly reported the “not present” when the state changes would be reflected.
To resolve this, I found that disabling “Enable Presence Detection”, saving and then enabling “Enable Presence Detection” and saving preferences worked. After doing this, the sensors reported “Present” once the state changed.
I also did find that one of my sensors reported “Present” but wouldn’t report state changes... I did the same on that one after I re-discovered it on the network. Not sure if it will make a difference or not though - time will tell!