IKEA Badring water leakage sensor goes unavailable every day

I bought three IKEA Badring water leakage sensors. One is working fine, the other two go unavailable every day.

I googled and someone suggested setting up OTA, so I put this block into configuration.yaml and restarted HA:

zha:
  zigpy_config:
    ota:
      ikea_provider: true                        # Auto update Trådfri devices
      ledvance_provider: false                    # Auto update LEDVANCE/OSRAM devices
      salus_provider: false                       # Auto update SALUS/Computime devices
      inovelli_provider: false                    # Auto update INOVELLI devices
      thirdreality_provider: false                # Auto update 3REALITY devices
      #otau_directory: /path/to/your/ota/folder  # Utilize .ota files to update everything else

Seems no updates were available:

IKEA BADRING Water Leakage Sensor Firmware
36 minutes ago
Last changed:36 minutes ago
Last updated:36 minutes ago
Up-to-date
Installed version: 0x01000007
Latest version: 0x01000007

My setup:
Core: 2024.5.3
Supervisor: 2024.05.1
Operating System: 12.3
Frontend_ 20240501.1
SkyConnect v1.0


Any ideas on how to fix it? Thx

1 Like

There are no updates for the Badring at the moment.

Fair enough. Any other ideas?

I find it strange that one works and the other two have issues.

But then again, I seem to recall this is a somewhat common occurrence with IKEA products.

Did you try switching places ?

1 Like

Good point. I originally discounted that since I have another device (Aquara reed switch) at almost the exact same spot the Badring is at, which has no issues, but yea, I’m trying now.

I switched places of the one working Badring with the always unavailable one, and put the other unavailable one like 30cm next to the skyconnect.

I will report tomorrow or as soon as one becomes unavailable again.

Have you found a solution to your problem? I have the same problem with my badring sensor.

I tried switching places as suggested and realized that the sensors seem to have a pretty shitty range.

Bought some IKEA smart plugs to broaden my network and everything seems to be working fine now.

Hi, I think I figured out how to keep IKEA Badring sensor available to HA. I have made simple automation which presses “identify” button every five minutes.

Without is, if falls to unavailable mode every couple of hours. Now it’s been two days and the sensor keeps online the whole time.

alias: SENSOR 10 - Identify every five mins
description: ""
triggers:
  - trigger: time_pattern
    minutes: "0"
  - trigger: time_pattern
    minutes: "5"
  - trigger: time_pattern
    minutes: "10"
  - trigger: time_pattern
    minutes: "15"
  - trigger: time_pattern
    minutes: "20"
  - trigger: time_pattern
    minutes: "25"
  - trigger: time_pattern
    minutes: "30"
  - trigger: time_pattern
    minutes: "35"
  - trigger: time_pattern
    minutes: "40"
  - trigger: time_pattern
    minutes: "45"
  - trigger: time_pattern
    minutes: "50"
  - trigger: time_pattern
    minutes: "55"
conditions: []
actions:
  - device_id: 747a9175e9143256e8dd855abfc6bf5d
    domain: button
    entity_id: d250f2985e1036204fce08520af5a1d6
    type: press
mode: single

I like this idea @simacekjakub, going to give it a try!
Is there a reason you used device and entity ID’s?
Would this work as well?

actions:
  - action: button.press
    metadata: {}
    data: {}
    target:
      entity_id: button.ikea_of_sweden_badring_water_leakage_sensor_identify
mode: single

UPDATE: Since adding the Button press of Identify, the device has stayed online for the last 24 hours. I changed mine to every 15 minutes vs every 5 minutes as my device wasn’t going offline that quickly.

UPDATE 2: Still going offline, even after an every 5 minute button press. Re-paired it to the Ikea Air Purifier I have to see if connecting that way is better. It’s not too far away from other Zigbee devices, so not sure why it keeps disconnecting.

Have you checked the zigbee network map to see the signal strength of the device in question?

How could you add your BADring via ZHA ?

I only see
image

3 Likes

I seem to have the exact same problem as you. It gets through the interview but never gets past the configuration stage. Did you manage to solve it yet?

1 Like

Yes . It was very simple indead :face_with_peeking_eye:

When you see the above screen , press the button again and again (slow to not reset it again)

After some seconds the pairing was finished :+1:

I bought three Badrings, all have the same problem. Going offline after few hours, sometimes they wake up by themeselves after a few next hours. What wakes them up instantly is shorting sensor pins (=simulating water leakage). I have device availability enabled in Z2M if that matters.
Certainly not a signal strength issue, all have a router not further away than 2 meters in straight line (or their sensitivity is that terrible ?).

I returned all three of them and now will give a try to Sonoff water leakage sensors.

Adding them to Z2M was also a bit of a challenge because they go to suspend mode just after 3 seconds after addition to Z2M and this is usually insufficent to finish device configuration by Z2M. Yes, there is an option to extend identity timeout but you cannot change it if device did not finish configuration.

I bought one Badring as an experiment (I have lots of Aqara & Tuya). It is placed right next to an Ikea smart plug. When it is on-line, it has an LQI between 130 & 180. It comes on-line once per day for 6 hours (+/- 5 minutes).

It establishes a timing pattern for a few days - eg on-line at 6pm (roughly) and off-line at midnight (roughly). Prior to that it was on-line at 10pm and off-line at 4am for a few about 6 days, etc.

This is not random behaviour! (but it seems no-one has a solution - maybe I’ll complain to Ikea !)

Did you find a solution? My sensor has the same behavior, disconnecting regularly and waking up every day for approx. 6 hours before disconnecting again. Seems like having a pattern, that is strange.