zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

IKEA Badring E2202 not reporting water leak correctly

Open francisp2 opened this issue 10 months ago • 9 comments

What happened?

Bought 2 Badring water sensors, they pair, say supported, but stay like this afbeelding

So it made one a little wet, it said 'Leaking', but 36 hours later, it still said 'Leaking'. I removed it, paired again, back to water leak : Null

Related to IKEA Badring E2202 not reporting water leak correctly #21794 but that one is closed.

What did you expect to happen?

I expected it to return to 'Not leaking' or something after it dried

How to reproduce it (minimal and precise)

make it a little bit wet, and let it dry

Zigbee2MQTT version

1.36.1 commit: ffc2ff1d

Adapter firmware version

20230507

Adapter

2020 model of TubeZB non POE Ethernet coordinator

Setup

bare metal (npm install) , happens both on proxmox vm or bare metal on pi 4, both running dietpi bookworm

Debug log

log.txt

francisp2 avatar Apr 11 '24 15:04 francisp2

What happens in the logs while you test the sensor? The whole file is very long and not very informative. Can you make a controlled test of the sensor and copy the relevant results out of the log file?

mrskycriper avatar Apr 11 '24 17:04 mrskycriper

Can't reproduce the issue on 1.36.1-dev commit: [f774753] with SLZB-06 CC2652P fw 20230507. One difference is that mine doesn't expose Low Battery. Some pictures and logs attached.

Screenshot 2024-04-11 at 21 46 20

zigbee2mqtt_logs_badring.txt

. .

LE: I can reproduce it on 1.36.1 commit: [ffc2ff1] with ember. After some time it remains stuck on Leaking.

Screenshot 2024-04-11 at 21 57 26 [zigbee2mqtt_efr32_logs_badring.txt](https://github.com/Koenkk/zigbee2mqtt/files/14950286/zigbee2mqtt_efr32_logs_badring.txt)

aurelmarius avatar Apr 11 '24 18:04 aurelmarius

Same with a Zigstar V4

afbeelding

Herdsman debug log: error.txt Zigbee2MQTT debug log: out.txt

francisp2 avatar Apr 12 '24 15:04 francisp2

12 hours later, Zigbee network just consist of the Zigstar v4 and the Badring, still 'leaking' error.txt

francisp2 avatar Apr 13 '24 04:04 francisp2

@francisp2 upgrade to dev branch, mine is working ok on dev.

aurelmarius avatar Apr 13 '24 07:04 aurelmarius

No. Installed dev, still 'Leaking', Exposes screen changed, but that is all. afbeelding afbeelding out.txt

francisp2 avatar Apr 14 '24 03:04 francisp2

I've found that if I short out (via screwdriver) the underside pins to trigger the alarm / wet (leaking) event(s); then once the short has been removed the device will then reset to display clear and (appears to) then stay persistent. Prior to that the device had stuck in a flashing leaking state as per the other posts above (in my case I left it overnight).

Not on a dev branch, running Sonoff Dongle-P. Uncertain how long this might now remain displaying correctly or if it'll revert to leaking over an extended period.

image

UPDATE It seems that my device continues to work OK and I'd tested it periodically and it has always reverted back to Dry and not given any issues - albeit not a full long term test period as yet.

Great-Chart avatar Apr 16 '24 09:04 Great-Chart

I think there are some problems with the devices, I have 2 Badrings, one working ok, other getting stuck verry often. Maybe a firmware update will fix it.

aurelmarius avatar Apr 16 '24 09:04 aurelmarius

still the case on 1.37.1

francisp2 avatar May 13 '24 05:05 francisp2

still the case on 1.38

francisp2 avatar Jun 01 '24 16:06 francisp2

I can confirm the behaviour with 2 devices. With one the haning leak state cleared after using the fingers to shortcut the sensor. The second (same Firmware 1.0.7) does not clear and still shows a leak. Updated to: Zigbee2MQTT version 1.38.0-dev (commit #6c123c2)

dg7pc avatar Jun 03 '24 15:06 dg7pc

Same here with 2x BADRIG sensors and Z2M 1.37.1, both sensor stuck on wet. If I shurtcut pins with the fingers mutliple times, then the sensors go back to dry, very unreliable.

Mark-64 avatar Jun 04 '24 05:06 Mark-64

I have the same issue with 2 Badring sensors. I found that if you short the contacts for a very short period of time (it varies but <3 beeps seems to reproduce the issue reliably) it often stays stuck in wet. Another short and it reverts to dry. I use ZHA so the issue may be related to the firmware of the device more than Zigbee2MQTT or ZHA.

alexruffell avatar Jun 24 '24 20:06 alexruffell

It's the same for me. IKEA Badring gets stuck on wet while working through Zigbee2MQTT 1.39.0. Did anyone manage to resolve this somehow?

where-is-s avatar Jul 29 '24 22:07 where-is-s

It's the same for me. IKEA Badring gets stuck on wet while working through Zigbee2MQTT 1.39.0. Did anyone manage to resolve this somehow?

Just shorting the contacts again resets it. It definitely looks like a firmware issue, rather than a Z2M or ZHA one, as the behaviour is the same in either, and also on-device (it does keep on beeping)

vasileio avatar Jul 30 '24 09:07 vasileio

Another person who is finding the Badring gets stuck showing leaking after moisture activation. And shorting the terminals also results in a leaking output, but it then resets back to normal within a few seconds.

Elephantoplasty avatar Aug 09 '24 23:08 Elephantoplasty

Just shorting the contacts again resets it. It definitely looks like a firmware issue, rather than a Z2M or ZHA one, as the behaviour is the same in either, and also on-device (it does keep on beeping)

Yeah, that works of course. But in my case device stops beeping correctly, only Zigbee reporting is broken. I have to short contacts 1-3 times in order to reset device's state back to "dry". It is highly inconvenient because I have big anti-leakage scenarios connected to the sensor and it is important to me that the sensor reports that it is wet only while it is actually wet. I thought maybe there is some kind of workaround that could make it work without having to manually short contacts.

where-is-s avatar Aug 12 '24 08:08 where-is-s