(2024-05-23, 02:42 PM)tjm Wrote: Did some digging and found this page in github.com/SignalK/instrumentpanel:
http://demo.signalk.org/@signalk/instrumentpanel
That demo is able to show trip data in nautical miles, but it uses different path than my system, that is "navigation.trip.log"
In my system SignalK creates a path "navigation.trip" from the ST1 data, and my widget do not show option to change the unit (see picture).
The document signalk.pdf seems to differ the path "navigation.trip" and "navigation.trip.log" (the document defines also the path "navigation.trip.lastReset").
This begins to feel more and more like a bug...
dazed and confused,
tjm
It sounds more like the ST data isn't sending any meta data so signalk doesn't know anything about the units used.
https://signalk.org/specification/1.7.0/...adata.html
Try clicking the metadata switch in the data browser, if there is any it should show up there.
If I send this by hand in the data fiddler
![[Image: 0Sgermd.png]](https://i.imgur.com/0Sgermd.png)
it appears in as metadata in the data browser >
![[Image: SBQ4T2a.png]](https://i.imgur.com/SBQ4T2a.png)
And in the instrument panel.
Try pasting this into the server data fiddler then click send to server
Code:
{
"updates": [
{
"meta": [
{
"path": "navigation.trip",
"value": {
"units": "m",
"description": "test",
"displayName": "more test",
"shortName": "log"
}
}
]
}
]
}