You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Digital power meters measure in fractions of Watts but relevant for invoicing are kWh.
Therefore the "scale" parameter is provided in configuration but unfortunately the current examples don't show its usage.
I guess adding "scale" would apply to Example 2: SCPM-S6 Power Meter.
but because I can't test it, providing a tested PR is not feasible for me.
Could you please take care of this proposal?
The text was updated successfully, but these errors were encountered:
You are right that we provide "scale" parameter in Modpoll config file, the main purpose is to conform with vendor's Modbus protocol, as we know, some device vendors will apply a "scale" or "gain" on to their raw output so that they could use integer number to output float values.
For example, HUAWEI_SUN2000_245KTL28KTL_MODBUS_Interface defines the PV voltages like below,
there is a "gain" (same as "scale") value 10 applied to each PV voltage output, meaning if you got raw data 2405, the actual output is 2405/10 = 240.5 (V).
And this is what Modpoll tool actually do via the config file defined,
Although it is not limited to use "scale" for your purpose, but the design principle is to output data according to vendor's specs and leave the data processing stage to the other user preferred programs/tools.
Thank you so much for this great tool!
Digital power meters measure in fractions of Watts but relevant for invoicing are kWh.
Therefore the "scale" parameter is provided in configuration but unfortunately the current examples don't show its usage.
I guess adding "scale" would apply to Example 2: SCPM-S6 Power Meter.
but because I can't test it, providing a tested PR is not feasible for me.
Could you please take care of this proposal?
The text was updated successfully, but these errors were encountered: