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 !
-
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).
-
-
This post is deleted!
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Home Assistant/MySensors quirks
Development • 14 days ago • OldSurferDude 14 days ago -
PJON and Minicore not working
Development • 9 days ago • Trand 9 days ago -
MQTT-Help me understand about the MQTT Gateway.
Development • 29 days ago • dpcons 18 days ago -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51