Apollon77 / ioBroker.smartmeter

ioBroker-Adapter to read out Smart-Meter using protocols like SML, D0 and such
MIT License
36 stars 17 forks source link

Provide values without unit #401

Closed ITServ-DE closed 3 months ago

ITServ-DE commented 3 months ago

Describe the solution you'd like At the moment, most values reported to the IO-Broker have units (Hz, kWh, ...). This makes it hard to do calculations with them using scripts.

I'd like to suggest a "raw values" checkbox in the adapter config screen which, when checked (for compatibility, default: off), fills the paramters with the unit-less values. For example, 50 instead of 50 Hz or 123,34 instead of 123,34 kWh.

This makes it easy to do calculations with them (for example, hourly energy consumption by substracting a recent counter value from the current.

ITServ-DE commented 3 months ago

Please close - my fault, the values are already without a unit.

ITServ-DE commented 3 months ago

not required, as the values in iobroker are already without a unit