Bram - Is it possible to show two vallues in on...
Is it possible to show two values in one cell? I would like to have vhfdata.nearest.0.name (a string) and vhfdata.nearest.0.channel in one cell (and if possible also vhfdata.nearest.0.distance to which i need to add a metric, like m)? I looked at the Generic String type but if i understand it correctly it requires a fixed title (instead of data from a sk path).
29 Replies
Something like this (from Freeboard)

This is what the data looks like

Ok. So channel is a string.
The Generic String gauge should work for those. It does get its value from a sk path
There’s nothing that shows two values
You could use two gauges and turn off the borders
Thx will give that a try.
Why would i turn the border off? Do you mean: one larger cell with borders, and than one smaller in that larger cell which has the title?
Yeah, you could do that. Or if there are other gauges around them, then you don’t need any borders.
Cool, wasn't aware this could be customized this far. Is there a sort of "repository" to share layouts?
There isn’t, but I should probably create one…
The nearest property is very different in the data browser than in the gauge (-1325 vs -76710). Is there a conversion taking place?
sorry, i see, have to select the right field
Can i add something at the end (an m of meters in this case?)
I don’t see that in the data browser screenshot?

No its not specified in the data. I also don't think there is meta data attached to that field. So was wondering if i could add it.
You can add it in the Data Browser. (Make sure you have the latest version of the server)
Which gauge did you use for that?
Generic Number (but Generic String would also work)
Try the DTW gauge, it expects the data to be in meters. And it will show an m
And make sure you have your distance units preference set
There should not no be any conversion with the Generic Number gauge
Ah right. It doesn't work. Maybe because the number is provided as a negative?
Hmm. I’ll have to try that out here…
Otherwise i might check if there is a plugin that allows to make some transformations to the data.
You could definitely use node-red for that
Can you also add meta data with the data browser? I now see that i can edit existing fields, but not all fields show up.
Ah yes node-red would be handy
But I’ll fix WilhelmSK if the negative is an issue

There’s a little plus button to add new fields
Click the pencil
It looks like only .name and .url fields show up.
It only changes .name not .distance for example.
There’s a fix for that in the very latest server version
ah, i updated yesterday, but now see that there is a minor newer release, will update.
I won’t have time to look at this until tomorrow. If you want to send me your Apple ID, I can add you to TestFlight so you can try it out.
Yes, that would be nice (i am not in a hurry though). My apple id is [email protected]
actually, it is another one i think [email protected]
I was able to add the unit, but it still doesn't come up. I tried sending some fake data with fiddler. But i think i am not sending the right object to it.
Just sending something like won't do it (also says its an unknown json format). Guess i need to add a ship id or so.
Try the XTE gauge. It works fine with negative numbers
Great works like a charm