How did you pair your door/window sensor? Did you manually add the device with its Device/Network ID?
Mine showed 3% with a brand new battery, and then went to 0% moments after, even though the battery is brand new (over 3V), and the sensor itself keeps working. I tried with a second battery, and it did the same thing (started out at 3%, then 0%…)/
I’ve just recently got my first two Aqara sensors.
One was added via the Catchall and it’s working fine, although reports 1% battery (are they often supplied with EOL batteries or is the reading wrong?)
The other one I’ve tried three times now and haven’t had any updates once added. When I change the DT to the Xiaomi Motion Sensor is reports in with “Motion” but then doesn’t change from that. If I Reset Motion it reports “No Motion” and then doesn’t change. After a few hours it appears as unavailable.
You’re looking in the logs (under My Hub, Event List) for something labelled “Catchall” followed by a string of numbers and letters.
Mine was: catchall: 0104 0000 01 01 0100 00 B014 00 04 115F 0A 01 01FFF4...
The key bit here is B014, that is the group of 4 characters after the 0100 00
Create a new Device from the My Devices page with that value as the Network ID, and the correct Device Type Handler, and hopefully it’ll work.
I’ve got a 50% success rate at the moment with my motion sensors.
Yeah I ordered 2 from ebay after reading these posts, still waiting for them to arrived (they are cheapest button I have found @ ~ $7)
The one @madCow_uk posted is also interesting looking, not sure it will work with the existing DH though, it also looks like it has 2 rockers/push buttons?
Yeah, it’s a twin wall switch. They appear to do three versions: 1 battery powered ‘stick-on’ version, and two which are designed to replace an existing switch:
1 Live and Neutral (switching up to 2.5KW), 1 Live only (only switches 800W) - a UK-compliant Zigbee switch with no Neutral requirement? Surely not!
NB: The translations I’ve seen refer to “Fire and Zero wire”, which is my new favourite phrase.
I tested the Aqara body sensor DH and I cannot get luminance value. I see the following error:
f2c58735-6705-46f2-ab70-a2b4f1f3e620 12:35:49 AM: error org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object ‘Aqara body sensor Light was 24.0’ with class ‘java.lang.String’ to class ‘java.util.Map’ @ line 110
f2c58735-6705-46f2-ab70-a2b4f1f3e620 12:35:49 AM: debug Aqara body sensor Parsing: illuminance: 24
I am trying to fix the battery % reporting issue with the Xiaomi Door/Window sensor device handler, and I need your help. Reply to me either on this thread or PM me. For now, I am only targeting to fix the Door/Window sensor. If I can get it, I will move on to other sensors.
I need the following information especially from users who thinks their device is reporting battery % correctly:
On the IDE website, go to “My Devices”, and click on your Window/Door Sensor.
Scroll down to Events, and hit List Events
Scroll down until you find the first battery event, this is the last battery info reported by your sensor. Click on this event’s timestamp on the left side of the table
Please report to me the following from the event details page:
“value”. It is the second from the last on that page. This is the decoded value of your battery percentage
“rawDescription”. This is the fifth item from the bottom of the page. This line will start with “cathcall”, and should be a long string of Hex numbers.
Thanks in advance! I hope I can contribute to the community.
Haven’t got them yet. Somewhere in the North China ocean at the moment, I imagine!
I’m hoping they’ll just register as switches. It’s difficult to tell, but I think they’re just single action momentary rather than on/off. If they work in a wall socket without Neutral however, that’s very exciting.
We have the opposite behavior. I have motion, but no battery or luminance. Did you checked the live logging to check if you are receiving any info from motion, or any error?
I don’t believe the battery level is right.
Nothing in the logs. It’s definitely not reporting movement.
I’m not seeing any reference to Luminance in the DTH I’m using (this one from @a4refillpad) - are you using a different one?
The dth before this update to the dth was reporting battery %, I looked at my log about 3 weeks ago and that was the last time battery was reporting a %, not displaying since then. I’d like to revert back to that dth. Where is that version, I only see the latest dth
On github, you can always go back and see the changelog, and find a file at any point (here’s the history for the Motion Sensor), so I guess the easiest method would be to install the earlier version from Code with a slightly altered name, switch over to the old one and see if your % comes back.