Data type , Data unit , decade/exponent
-
Hello !
If I receive a MySensors telegram - how can I know the correct data unit (i.e. °C or F) and exponent (mV / V or cm/meter/km)?
i.e I get :
1)
presentation sub-type: S_POWER
set sub-type: V_VOLTAGE
payload:4482
-> OK, its Volt - but where I get the mili [mV] info?The S_POWER and the V_VOLTAGE are IMO redundant info !?
Aside from S_ARDUINO_NODE and S_ARDUINO_RELAY all other types exists double.presentation sub-type: S_TEMP
set sub-type: V_TEMP
payload:4482
-> Where can I get the info for the unit (°C or F) from the GW/Controler sight?Best thx, Pit !
-
Hello !
If I receive a MySensors telegram - how can I know the correct data unit (i.e. °C or F) and exponent (mV / V or cm/meter/km)?
i.e I get :
1)
presentation sub-type: S_POWER
set sub-type: V_VOLTAGE
payload:4482
-> OK, its Volt - but where I get the mili [mV] info?The S_POWER and the V_VOLTAGE are IMO redundant info !?
Aside from S_ARDUINO_NODE and S_ARDUINO_RELAY all other types exists double.presentation sub-type: S_TEMP
set sub-type: V_TEMP
payload:4482
-> Where can I get the info for the unit (°C or F) from the GW/Controler sight?Best thx, Pit !
Right now the controller is responsible to for this configuration. Nodes request the format at startup. They then send in data in the preferred unit.
This will probably change in the future (2.0) and all sensors sends their data in a pre-set SI unit and controller takes care of conversion if necessary.
-
Right now the controller is responsible to for this configuration. Nodes request the format at startup. They then send in data in the preferred unit.
This will probably change in the future (2.0) and all sensors sends their data in a pre-set SI unit and controller takes care of conversion if necessary.
@hek Hi, this sounds well. Waiting for 2.0! Is there a timeline ?
On the controller side is enough power to make all conversations. Also, if a node send a non-si value. Normally needed is the type, the value, the unit and the possibility to readonly / readwrite (i.e. dimm level).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
