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.
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 of50 Hz
or123,34
instead of123,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.