2022-08-18, 12:03 PM
Still learning.. but was wondering.
(All this is on a "test bed" on my desk at home, so no "real" data is available yet.)
I have OpenCPN connected to a Signal K server.
Is it possible to put "some" JSON in the "Data Fiddler" of Signal K and move the location of my boat in OpenCPN?
I have setup my boats MMSI and Call Sign.
If it's possible, does anyone have any sample JSON?
I have tried the following JSON but with no success... I have replaced the MMSI at the top for my MMSI....
{
"context": "atons.urn:mrn:imo:mmsi:232018231",
"updates": [
{
"values": [
{
"path": "navigation.position.longitude",
"value": -3.17
},
{
"path": "navigation.position.latitude",
"value": 51.48
},
{
"path": "name",
"value": "BeaconPy"
},
{
"path": "virtual",
"value": "true"
},
{
"path": "atonType.name",
"value": "BLE Beacon Py"
}
]
}
]
}
(All this is on a "test bed" on my desk at home, so no "real" data is available yet.)
I have OpenCPN connected to a Signal K server.
Is it possible to put "some" JSON in the "Data Fiddler" of Signal K and move the location of my boat in OpenCPN?
I have setup my boats MMSI and Call Sign.
If it's possible, does anyone have any sample JSON?
I have tried the following JSON but with no success... I have replaced the MMSI at the top for my MMSI....
{
"context": "atons.urn:mrn:imo:mmsi:232018231",
"updates": [
{
"values": [
{
"path": "navigation.position.longitude",
"value": -3.17
},
{
"path": "navigation.position.latitude",
"value": 51.48
},
{
"path": "name",
"value": "BeaconPy"
},
{
"path": "virtual",
"value": "true"
},
{
"path": "atonType.name",
"value": "BLE Beacon Py"
}
]
}
]
}