mdegat01 / addon-amr2mqtt

HA Addon which runs rtlamr to read IDM power meter data and send to MQTT broker
MIT License
33 stars 15 forks source link

add sensors for other meter fields #79

Closed craftyguy closed 1 year ago

craftyguy commented 2 years ago

rtlamr reports several useful fields for the r900, like "leakNow" when there's an active leak detected by a water meter. having this be something like a binary sensor would be really useful because then I could make a HA alert trigger on it, for example.

I'm not sure if other meters / protocols have similarly useful fields besides the consumption value, but it might be useful to also report those too as new sensors?

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

craftyguy commented 1 year ago

bad auto-close bot, bad! (obviously this is still relevant since it's an unfulfilled request...)

band8266 commented 1 year ago

It looks like those sensors do get exposed to home assistant, but they are disabled by default. Go into the devices and Leak and Leak Now are under diagnostic section as disabled. Just enabled them from there.

craftyguy commented 1 year ago

@band8266 hey thanks for the pointer! I went to Settings->Devices & Services->Devices (tab), and clicked on AMR2MQTT. I don't see any "diagnostic" section or anything that lists these missing sensors... am I looking in the wrong place?

band8266 commented 1 year ago

It should be an MQTT device. Settings > Devices & Services > Devices (tab) > ( Water Meter ) Screen Shot 2022-11-08 at 3 56 47 PM

craftyguy commented 1 year ago

ah, found it, thanks a lot!