mdegat01 / addon-amr2mqtt

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

Add config option force_update to allow derivative integration to work properly. #83

Closed elmigbot closed 1 year ago

elmigbot commented 1 year ago

Background: I use HA's derivative integration to calculate flow rates from the meters. The problem is that the derivative flatlines instead of going to zero when the meter stops updating HA, due to zero consumption.

Suggestion: There is an mqtt option called force_update that will always update HA even when consumption has not changed, which in turn should correct the derivative behavior. Documentation here

It would be nice to expose this mqtt option as a config option for this addon.

Thanks!

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!