Apollon77 / smartmeter-obis

This library supports the reading and parsing of smartmeter protocols that follow the OBIS number logic to make their data available.
MIT License
53 stars 20 forks source link

Multiplier for received values #248

Closed Alpini1980 closed 1 month ago

Alpini1980 commented 1 month ago

Hello,

we are using an Iskra MT631 meter with a measurement-transformer ("Wandlermessung" in German). In our case the values received from this smart meter require being multiplied by 50 to get the real values.

Would it be possible to include a multiplication factor directly in the adapter-instance settings. With this small change it wouldn't be required to do the multiplication for example in the visualization.

Regards, Stefan

Apollon77 commented 1 month ago

Ok, this is the library and not the ioBroker adapter ... but I am not sure because in fact the adapter would not know which values to multiply and which not (e.g. a numeric serialnumber likely not .. but differentiation is difficult). SO said this ... please use aliases in iobroker to convert the values and log these

Alpini1980 commented 1 month ago

I understand and you are right. Just tried the aliases and they work well for me - thank you very much.