modpoll icon indicating copy to clipboard operation
modpoll copied to clipboard

Data transformation

Open dakhnod opened this issue 1 year ago • 3 comments

Thanks for your great work!

I am reading some registers that need a factor and an offset to be applied to the register value. Is there any way to achieve this through modpoll in the configuration?

dakhnod avatar Sep 11 '24 12:09 dakhnod

Hi Daniel, current version only support applying a ratio but not offset.

However, if you use MQTT as interface, I would recommend you to process data by subscribing on raw data topic and publish processed data to new topics. By doing this way, you always keep the first hand raw data and have the flexibility to apply different algorithms or even chain them as a pipeline.

gavinying avatar Sep 12 '24 16:09 gavinying

Node-RED is great for this!

njh avatar Nov 06 '24 21:11 njh

Here's how I've done simular on a Mbus-Meter with NodeRed

mircsicz avatar Jan 06 '25 23:01 mircsicz