Ezlo Controller leak_detector supported for Influx-Feed?
-
Hi
I added today a Centralite Zigbee Water Leak sensor device to my Ezlo Plus.
I created a rule in MSR for when it detects water to alert me and that is all working fine no problems.
I then wanted to add a panel in Grafana to show the leak sensor status etc.
The MSR user manual says that leak_detector is one of the default capabilities that will be exported.
In Grafana I was able to find the new Water Leak sensor device and add it to a new panel. however it always says "No data".
I tried various visualisation types and also for the field value tried mean, distinct, last etc but nothing ever appears data wise, tried Table View only and also changing the time range of the query.
I have actually tested the Water Leak Sensor by putting water down underneath it and it does trip OK.
I don't know how to directly query the InfluxDB, I only know how to add panels in Grafana to see the data.
Thanks
-
Looking in MSR in Entities for this device this is the output:
arming.state=false battery_power.level=1 battery_power.since=1643058392345 leak_detector.state=false tamper.state=false x_ezlo_device.battery_powered=true x_ezlo_device.category="security_sensor" x_ezlo_device.manufacturer="CentraLite" x_ezlo_device.model="3315-G" x_ezlo_device.parent="" x_ezlo_device.reachable=true x_ezlo_device.ready=true x_ezlo_device.room="5f4e2f8c120bab1069c13c43" x_ezlo_device.status="idle" x_ezlo_device.subcategory="leak" x_ezlo_device.type_id="CentraLite_3315-G" x_ezlo_item.battery=100 x_ezlo_item.security_threat=false x_ezlo_item.tampering_cover_alarm="no_tampering_cover" x_ezlo_item.water_leak_alarm="no_water_leak" x_ezlo_object.id="61eef16e120bab124d14462b" Capabilities: arming, battery_power, leak_detector, tamper, x_ezlo_device, x_ezlo_item, x_ezlo_object Actions: arming.arm, arming.disarm, x_ezlo_device.device_check, x_ezlo_device.set_item_value, x_ezlo_device.set_name, x_ezlo_device.set_room, x_ezlo_device.status_check
Looks like leak_detector is a listed capability of the device.
-
No worries. Also noted, you can't use
mean
with non-numeric values, and thatstate
is a boolean