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 !


  • Admin

    @pit007

    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).



  • Here is a screenshot of the visualizing of all node types (not all sensor types)

    index.png


  • Admin

    This post is deleted!

Log in to reply
 

Suggested Topics

  • 1
  • 2
  • 2
  • 2
  • 5
  • 1

1
Online

11.2k
Users

11.1k
Topics

112.5k
Posts