Aqara water sensor doesn't show temperature in HA

Hi,

I just bought an Aqara water sensor and while it shows temperature in Phoscon (I have a Conbee 2), it’s nowhere to be found in Home Assistant.

Does anyone know anything about this or what I could do to get it to work?

Thank you!

Phoscon:


Home Assistant:
ha

Are you talking about the water leak sensor? If so, they don’t report temperature.

I don’t have one but, to support wxt9861’s statement, the zigbee2mqtt documentation for this device indicates three parameters it can report (and none of them is temperature):

binary_sensor: water_leak
sensor: battery
sensor: linkquality

@nu1mlock I have the original Conbee stick. My water sensors show the temperature as an attribute of the binary sensor in HA. Looks like this in Developer Tools - States:

You can make a template sensor to get the temperature from the attribute.

All I can say is kudos to Dresden Electronik for extracting a temperature parameter that not even Xiaomi reports as being available for this device.

So the leak sensor has a temperature sensor in it that the xiaomi hub doesn’t expose or how is deconz able to get this info? What other hidden features do xiaomi sensors have that aren’t available via their hub?

Sorry for the late reply everyone. It seems that the temperature reading that Phoscon reports hasn’t changed since I connected it, so I think we can safely dismiss the temperature reading from the water sensor.

1 Like

It’s weird, mine seem to change the temperature. But I have the problem that it’s not available in HA but it is in deConz

I have the same, did u find a solution to have the temperature in a single sensor?
Thanks
Marco

I’m not using the temperature data myself, but you can make a template sensor like this:

platform: template
sensors:
  water_sensor_temperature:
    value_template: "{{ state_attr('binary_sensor.water_sensor', 'temperature') }}"
    unit_of_measurement: '°C'

which will create a sensor called sensor.water_sensor_temperature containing just the temperature data.

I think that’s what you are asking - hope that helps :slight_smile:

3 Likes

I’ve successfully added the Aqara Water Leak sensor using the Aqara Phone app with my Aqara Hub.

I’ve also successfully added it to homeassistant and it shows on the Overview page.

When I pass water under the sensor status changes from dry to wet in the Aqara app,
but does NOT change status in the homeassistant app ?

I am successfully using Aqara Contact and Motion Sensors in the homeassistant app.

Any ideas ?

Thanks

Chas