SignalK / signalk-server

An implementation of a Signal K central server for boats.
http://signalk.org
Apache License 2.0
298 stars 150 forks source link

How to provide unit to delta update for custom value. #1761

Closed DrStS closed 1 week ago

DrStS commented 1 week ago

Hello all, I would like to provide a unit to a custom value:

Here is an example: {"updates": [ {"$source": "IMUSender","values": [ {"path":"imu.eulerAngle.x","value": 12} ] } ] }

how to add to the above REST call a unit?

Thanks a lot!

Best Stefan

EdKok commented 1 week ago

Does this help: https://github.com/SignalK/signalk-server/wiki/FAQ:-Frequently-Asked-Questions#how-to-add-missing-units-and-static-data-eg-displayname

Op 19-06-2024 12:59 CEST schreef Stefan Sicklinger @.***>:

Hello all, I would like to provide a unit to a custom value:

Here is an example: {"updates": [ {"$source": "IMUSender","values": [ {"path":"imu.eulerAngle.x","value": 12} ] } ] }

how to add to the above REST call a unit?

Thanks a lot!

Best Stefan

— Reply to this email directly, view it on GitHub https://github.com/SignalK/signalk-server/issues/1761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGMCSEEE4C4WMWB454ML23ZIFQC5AVCNFSM6AAAAABJR2FY6WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DEMBVGY2TAMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

tkurki commented 1 week ago

Thanks Ed, I updated the FAQ with information about the metadata editing feature available since version 2.8.0.