antipole2 / WhoGoesThere

For WhoGoesThere JavaScript
GNU General Public License v3.0
0 stars 0 forks source link

Decoding Signal K not supported #5

Closed torrmundi closed 2 months ago

torrmundi commented 4 months ago

No support for Signal K messages. whogoesthere-ikommsk

antipole2 commented 4 months ago

True.

I do not have SignalK so would need a collaborator to work with me on that. Might that be you?

antipole2 commented 4 months ago

@torrmundi please run the following script and let me have the output. It listens and reports on 10 SignalK messages. You can change that number if you think it necessary.

// Listen out for SignalK messages and display
count = 10; // number of messages to listen for
OCPNonMessageName(received, "OCPN_CORE_SIGNALK");

function received(message){
    signalK = JSON.parse(message);
    print(JSON.stringify(signalK, null, "\t"), "\n\n");     // pretty-print message
    if (--count > 0) OCPNonMessageName(received, "OCPN_CORE_SIGNALK");
    }
torrmundi commented 4 months ago

Yes, I can collaborate. I’m already working with Rick on the manuals. I just arrive in Marsh Harbor, so we’re off to do errands now. I’ll run the script tonight. FYI, OC 5.9 beta pretty much disallows bidirectional UDP or even two UDP ports with the same port number and opposite directions. TCP I+O is ok, I think. Dunno about SK, but I saw leamas’ post that plugins can’t do output unless they’re nmea0183. Did I read that correctly?

antipole2 commented 4 months ago

I saw leamas’ post that plugins can’t do output unless they’re nmea0183. Did I read that correctly?

Seen here for attempts to write SignalK from the JavaScript plugin.

torrmundi commented 4 months ago

Here's a log of 100 messages, plus one that I got upon iKommunicate startup. Note: src 037 seems to be sending some bad speed values, or iKommunicate is not ignoring invalid values properly.

{ "timestamp": "2010-04-03T03:54:13.272Z", "name": "iKommunicate", "version": "2018060100", "self": "urn:mrn:imo:mmsi:367623010", "roles": [ "master", "main" ] } //... break ....

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.512Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.631902 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.513Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 5.134704 }, { "path": "navigation.speedOverGround", "value": 0.1 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.514Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.221968 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.515Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.647502 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.546Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.562Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.564Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.216837 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.565Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.647102 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.597Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.609Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.25021 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.610Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.631902 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.613Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.20479 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.614Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.646702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.646Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.661Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.663Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.201405 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.664Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.646402 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.696Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130306, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.708Z", "values": [ { "path": "environment.wind.speedTrue", "value": 655.349976 }, { "path": "environment.wind.angleTrueGround", "value": 6.553506 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127258, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.711Z", "values": [ { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.712Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.259146 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.713Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.196638 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.714Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.646002 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.717Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.718Z", "values": [ { "path": "environment.outside.temperature", "value": 299.75 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130312, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.721Z", "values": [ { "path": "environment.outside.temperature", "value": 299.75 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.722Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.630102 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.731Z", "values": [ { "path": "environment.water.temperature", "value": 304.079987 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.746Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 127258, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.762Z", "values": [ { "path": "navigation.magneticVariation", "value": -0.1604 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "017", "label": "N2000-01", "pgn": 127258, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.764Z", "values": [ { "path": "navigation.magneticVariation", "value": -0.1604 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.766Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.244447 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.768Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.645702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "011", "label": "N2000-01", "pgn": 128267, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.770Z", "values": [ { "path": "environment.depth.belowKeel", "value": 0.909 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "035", "label": "N2000-01", "pgn": 128267, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.772Z", "values": [ { "path": "environment.depth.belowKeel", "value": 1.039 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129029, "type": "NMEA2000" }, "timestamp": "2024-05-29T00:58:25Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056007 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.796Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.808Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.258587 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.810Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.628402 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.813Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.217169 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.814Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.645302 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.841Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.843Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 4.895604 }, { "path": "navigation.speedOverGround", "value": 0.15 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.847Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.863Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.22291 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.864Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.644902 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.896Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.909Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.293773 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.910Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.912Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.630102 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.913Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "011", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.913Z", "values": [ { "path": "environment.water.temperature", "value": 286.910004 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.915Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.231719 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.916Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.644502 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.946Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0252 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130306, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.958Z", "values": [ { "path": "environment.wind.speedApparent", "value": 4.68 }, { "path": "environment.wind.angleApparent", "value": 0.1256 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.963Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.219429 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.964Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.644102 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.996Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0252 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.009Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.25747 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.010Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.630102 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.012Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.013Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.207826 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.014Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.643702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.046Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 128267, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.058Z", "values": [ { "path": "environment.depth.belowKeel", "value": 0.99 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 128259, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.060Z", "values": [ { "path": "navigation.speedThroughWater", "value": 0 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.061Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 0 }, { "path": "navigation.speedOverGround", "value": 0.1 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.063Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.203572 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.064Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.643402 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 128275, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.082Z", "values": [ { "path": "navigation.logTrip", "value": 4458431 }, { "path": "navigation.log", "value": 4458431 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.095Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0252 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.108Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.264731 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.109Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.111Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.628402 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.113Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.113Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.217129 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.114Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.643002 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.145Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.162Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.215366 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.164Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.642702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.196Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130306, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.208Z", "values": [ { "path": "environment.wind.speedTrue", "value": 655.349976 }, { "path": "environment.wind.angleTrueGround", "value": 6.553506 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.210Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.253561 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.212Z", "values": [ { "path": "environment.outside.temperature", "value": 299.75 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.216Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.628402 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.219Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.16523 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.220Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.642302 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.230Z", "values": [ { "path": "environment.water.temperature", "value": 304.079987 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.245Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.261Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056007 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.263Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.219808 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.264Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.642002 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.295Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.308Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.228987 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.309Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.311Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.626602 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.312Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 0 }, { "path": "navigation.speedOverGround", "value": 0.05 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.314Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.203282 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.315Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.641702 } ] } ] }

result: undefined

On Tue, May 28, 2024 at 4:58 PM Tony @.***> wrote:

I saw leamas’ post that plugins can’t do output unless they’re nmea0183. Did I read that correctly?

Seen here for attempts to write SignalK from the JavaScript plugin. https://github.com/antipole2/JavaScript_pi/issues/78

— Reply to this email directly, view it on GitHub https://github.com/antipole2/WhoGoesThere/issues/5#issuecomment-2136093118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU7AEMAJZ6SG2K4KCUJJ6SLZETVYRAVCNFSM6AAAAABINGTPC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGA4TGMJRHA . You are receiving this because you were mentioned.Message ID: @.***>

torrmundi commented 4 months ago

[QUOTE=Antipole] Thanks for that John.

I see the last one timed out. I have increased the time allowed (in next update).

I also note there were no 126996 responses. This implies that PGN 126996 was not sent out. Is your NMEA2000 port configured for both input and output?[/QUOTE]

Yes it is, but I don't think "pgnToSend = 59904;" went out.

The OC port is in/out, communicating over WiFi to a Yacht Devices YDWG-02 device. That is setup with Server #1 as TCP, RAW, port 1457, Both (directions).

So it should go out, but obviously is not. Maybe because of Leamas' observation that only NMEA0183 will go out??

On Tue, May 28, 2024 at 9:18 PM John Morfit @.***> wrote:

Here's a log of 100 messages, plus one that I got upon iKommunicate startup. Note: src 037 seems to be sending some bad speed values, or iKommunicate is not ignoring invalid values properly.

  • the devices is an Airmar 220WX Weatherstation, an ultrasonic wind measuring device with GPS.
  • no such data shows up on the B&G Zeus 2 chartplotter.
  • Actisense NGT-1 shows alternating reports of reasonable values, like 5m/s wind speed, and "Data not available". The latter might be the source of wildly wrong wind speeds.

{ "timestamp": "2010-04-03T03:54:13.272Z", "name": "iKommunicate", "version": "2018060100", "self": "urn:mrn:imo:mmsi:367623010", "roles": [ "master", "main" ] } //... break ....

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.512Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.631902 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.513Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 5.134704 }, { "path": "navigation.speedOverGround", "value": 0.1 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.514Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.221968 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.515Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.647502 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.546Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.562Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.564Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.216837 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.565Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.647102 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.597Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.609Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.25021 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.610Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.631902 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.613Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.20479 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.614Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.646702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.646Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.661Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.663Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.201405 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.664Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.646402 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.696Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130306, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.708Z", "values": [ { "path": "environment.wind.speedTrue", "value": 655.349976 }, { "path": "environment.wind.angleTrueGround", "value": 6.553506 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127258, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.711Z", "values": [ { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.712Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.259146 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.713Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.196638 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.714Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.646002 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.717Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.718Z", "values": [ { "path": "environment.outside.temperature", "value": 299.75 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130312, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.721Z", "values": [ { "path": "environment.outside.temperature", "value": 299.75 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.722Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.630102 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.731Z", "values": [ { "path": "environment.water.temperature", "value": 304.079987 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.746Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 127258, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.762Z", "values": [ { "path": "navigation.magneticVariation", "value": -0.1604 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "017", "label": "N2000-01", "pgn": 127258, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.764Z", "values": [ { "path": "navigation.magneticVariation", "value": -0.1604 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.766Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.244447 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.768Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.645702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "011", "label": "N2000-01", "pgn": 128267, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.770Z", "values": [ { "path": "environment.depth.belowKeel", "value": 0.909 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "035", "label": "N2000-01", "pgn": 128267, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.772Z", "values": [ { "path": "environment.depth.belowKeel", "value": 1.039 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129029, "type": "NMEA2000" }, "timestamp": "2024-05-29T00:58:25Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056007 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.796Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.808Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.258587 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.810Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.628402 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.813Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.217169 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.814Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.645302 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.841Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.843Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 4.895604 }, { "path": "navigation.speedOverGround", "value": 0.15 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.847Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.863Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.22291 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.864Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.644902 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.896Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.909Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.293773 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.910Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.912Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.630102 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.913Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "011", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.913Z", "values": [ { "path": "environment.water.temperature", "value": 286.910004 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.915Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.231719 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.916Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.644502 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.946Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0252 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130306, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.958Z", "values": [ { "path": "environment.wind.speedApparent", "value": 4.68 }, { "path": "environment.wind.angleApparent", "value": 0.1256 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.963Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.219429 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.964Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.644102 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:24.996Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0252 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.009Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.25747 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.010Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.630102 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.012Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.013Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.207826 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.014Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.643702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.046Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 128267, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.058Z", "values": [ { "path": "environment.depth.belowKeel", "value": 0.99 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 128259, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.060Z", "values": [ { "path": "navigation.speedThroughWater", "value": 0 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.061Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 0 }, { "path": "navigation.speedOverGround", "value": 0.1 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.063Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.203572 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.064Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.643402 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 128275, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.082Z", "values": [ { "path": "navigation.logTrip", "value": 4458431 }, { "path": "navigation.log", "value": 4458431 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.095Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0252 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.108Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.264731 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.109Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.111Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.628402 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.113Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056015 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.113Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.217129 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.114Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.643002 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.145Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.162Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.215366 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.164Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.642702 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.196Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130306, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.208Z", "values": [ { "path": "environment.wind.speedTrue", "value": 655.349976 }, { "path": "environment.wind.angleTrueGround", "value": 6.553506 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.210Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.253561 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.212Z", "values": [ { "path": "environment.outside.temperature", "value": 299.75 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.216Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.628402 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.219Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.16523 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.220Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.642302 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "036", "label": "N2000-01", "pgn": 130311, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.230Z", "values": [ { "path": "environment.water.temperature", "value": 304.079987 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.245Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129025, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.261Z", "values": [ { "path": "navigation.position", "value": { "latitude": 26.547499, "longitude": -77.056007 } } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.263Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.219808 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.264Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.642002 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "020", "label": "N2000-01", "pgn": 127245, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.295Z", "values": [ { "path": "steering.rudderAngle", "value": 0.0255 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.308Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.228987 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.309Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 6.553506 }, { "path": "navigation.speedOverGround", "value": 655.349976 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "037", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.311Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.626602 }, { "path": "navigation.magneticVariation", "value": -0.1204 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "014", "label": "N2000-01", "pgn": 129026, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.312Z", "values": [ { "path": "navigation.courseOverGroundTrue", "value": 0 }, { "path": "navigation.speedOverGround", "value": 0.05 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127251, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.314Z", "values": [ { "path": "navigation.rateOfTurn", "value": -0.203282 } ] } ] }

{ "context": "vessels.urn:mrn:imo:mmsi:367623010", "updates": [ { "source": { "src": "012", "label": "N2000-01", "pgn": 127250, "type": "NMEA2000" }, "timestamp": "2010-04-03T04:08:25.315Z", "values": [ { "path": "navigation.headingMagnetic", "value": 2.641702 } ] } ] }

result: undefined

On Tue, May 28, 2024 at 4:58 PM Tony @.***> wrote:

I saw leamas’ post that plugins can’t do output unless they’re nmea0183. Did I read that correctly?

Seen here for attempts to write SignalK from the JavaScript plugin. https://github.com/antipole2/JavaScript_pi/issues/78

— Reply to this email directly, view it on GitHub https://github.com/antipole2/WhoGoesThere/issues/5#issuecomment-2136093118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU7AEMAJZ6SG2K4KCUJJ6SLZETVYRAVCNFSM6AAAAABINGTPC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGA4TGMJRHA . You are receiving this because you were mentioned.Message ID: @.***>

antipole2 commented 4 months ago

Thanks. Am sailing next few days so expect delays before I can work on this.

TwoCanPlugIn commented 4 months ago

You can transmit stuff from a plugin using both NMEA 0183 and NMEA 2000.

I've only successfully transmitted NMEA 2000 using socketCAN as I don't own any of the supported gateway devices (Actisense NGT-1, Yacht Devices YDEN-2 etc.)

At least for Actisense NGT-1 you must call RegisterTXPGNs prior to transmitting stuff. Eg.

std::vector<int> pgnList{ 59904 };
CommDriverResult result;
result = RegisterTXPGNs(driverHandleN2K, pgnList);

I guess that this is a NOP for non Actisense interfaces, certainly SocketCAN which has no notion of a permitted Tx list. I have no idea whether a permitted Tx list is required on other Actisense gateways or on Yacht Devices gateways.

However a quick perusal of the Yacht Devices YDWG-2 manual, on Page 41, Table 1. Messages Supported by Device, indicates it does not transit PGN 59904, so assuming I'm reading that correctly, you might be rather screwed.

antipole2 commented 4 months ago

v0.2 available for testing here: https://raw.githubusercontent.com/antipole2/WhoGoesThere/v0.2/whogoesthere.js

Adds sampling of SignalK. As I do not have SignalK I have not been able to test it widely, so feedback please.

If you set skDump = true; the full SignalK sample message will be displayed.

If posting long logs, please zip to avoid very long comments.

torrmundi commented 4 months ago

v0.2 output with connection (Network, Input, Signal K, 192.168.1.35, 80) to iKommunicate device. Decoding is working now.

Note some invalid values from iKommunicate here: [{"path":"navigation.courseOverGroundTrue","value":6.553506},{"path":"navigation.speedOverGround","value":655.349976}]

Also, much improved columns, thanks!

Active connections SignalK!@!Signal K:192.168.1.35:80 {"protocol":"SignalK"} No NMEA2000 connection

Listening for 10 seconds.........

OpenCPN messages received since plugin started OCPN_CORE_SIGNALK OCPN_OPENGL_CONFIG OpenCPN Config WMM_VARIATION_BOAT

NMEA0183 samples (None)

SignalK samples Counts Source Data 1 {"src":"004","label":"N2000-01","pgn":127258,"type":"NMEA2000"} [{"path":"navigation.magneticVariation","value":-0.1566}] 20 {"src":"011","label":"N2000-01","pgn":130311,"type":"NMEA2000"} [{"path":"environment.water.temperature","value":287.25}] 5 {"src":"011","label":"N2000-01","pgn":130312,"type":"NMEA2000"} [{"path":"environment.water.temperature","value":287.25}] 200 {"src":"012","label":"N2000-01","pgn":127250,"type":"NMEA2000"} [{"path":"navigation.headingMagnetic","value":0.2958}] 200 {"src":"012","label":"N2000-01","pgn":127251,"type":"NMEA2000"} [{"path":"navigation.rateOfTurn","value":-0.070029}] 10 {"src":"014","label":"N2000-01","pgn":127258,"type":"NMEA2000"} [{"path":"navigation.magneticVariation","value":-0.1584}] 87 {"src":"014","label":"N2000-01","pgn":129025,"type":"NMEA2000"} [{"path":"navigation.position","value":{"latitude":26.759113,"longitude":-77.322708}}] 36 {"src":"014","label":"N2000-01","pgn":129026,"type":"NMEA2000"} [{"path":"navigation.courseOverGroundTrue","value":3.344003},{"path":"navigation.speedOverGround","value":0.15}] 10 {"src":"014","label":"N2000-01","pgn":129029,"type":"NMEA2000"} [{"path":"navigation.position","value":{"latitude":26.759113,"longitude":-77.322708}}] 10 {"src":"017","label":"N2000-01","pgn":127258,"type":"NMEA2000"} [{"path":"navigation.magneticVariation","value":-0.1584}] 199 {"src":"020","label":"N2000-01","pgn":127245,"type":"NMEA2000"} [{"path":"steering.rudderAngle","value":-0.1495}] 10 {"src":"021","label":"N2000-01","pgn":127258,"type":"NMEA2000"} [{"path":"navigation.magneticVariation","value":-0.1585}] 10 {"src":"022","label":"N2000-01","pgn":127258,"type":"NMEA2000"} [{"path":"navigation.magneticVariation","value":-0.1585}] 10 {"src":"035","label":"N2000-01","pgn":128267,"type":"NMEA2000"} [{"path":"environment.depth.belowKeel","value":2.709}] 10 {"src":"036","label":"N2000-01","pgn":128259,"type":"NMEA2000"} [{"path":"navigation.speedThroughWater","value":0}] 10 {"src":"036","label":"N2000-01","pgn":128267,"type":"NMEA2000"} [{"path":"environment.depth.belowKeel","value":2.66}] 10 {"src":"036","label":"N2000-01","pgn":128275,"type":"NMEA2000"} [{"path":"navigation.logTrip","value":4501612},{"path":"navigation.log","value":4501612}] 20 {"src":"036","label":"N2000-01","pgn":130311,"type":"NMEA2000"} [{"path":"environment.water.temperature","value":304.26001}] 100 {"src":"037","label":"N2000-01","pgn":127250,"type":"NMEA2000"} [{"path":"navigation.headingMagnetic","value":0.2914},{"path":"navigation.magneticVariation","value":-0.1204}] 100 {"src":"037","label":"N2000-01","pgn":127251,"type":"NMEA2000"} [{"path":"navigation.rateOfTurn","value":-0.101647}] 10 {"src":"037","label":"N2000-01","pgn":127258,"type":"NMEA2000"} [{"path":"navigation.magneticVariation","value":-0.1204}] 50 {"src":"037","label":"N2000-01","pgn":129026,"type":"NMEA2000"} [{"path":"navigation.courseOverGroundTrue","value":6.553506},{"path":"navigation.speedOverGround","value":655.349976}] 1 {"src":"037","label":"N2000-01","pgn":129044,"type":"NMEA2000"} [{"path":"navigation.datum.deltaLatitude","value":0},{"path":"navigation.datum.deltaLongitude","value":0},{"path":"navigation.datum.deltaAltitude","value":0},{"path":"navigation.datum.reference","value":"W84"},{"path":"navigation.datum.local","value":"W84"}] 41 {"src":"037","label":"N2000-01","pgn":130306,"type":"NMEA2000"} [{"path":"environment.wind.speedApparent","value":6.12},{"path":"environment.wind.angleApparent","value":6.234205}] 20 {"src":"037","label":"N2000-01","pgn":130311,"type":"NMEA2000"} [{"path":"environment.outside.temperature","value":299.649994}] 5 {"src":"037","label":"N2000-01","pgn":130312,"type":"NMEA2000"} [{"path":"environment.outside.temperature","value":299.649994}] result: End of report

TwoCanPlugIn commented 4 months ago

They're not invalid values, it just means that no data is available.

In general NMEA 2000 uses the maximum value of a variable to indicate data not available. (maximum value - 1 indicates error and maximum value -2 is reserved)

For example for PGN 129026, the course over ground units are radians using a scale factor of 10000 and is represented as an unsigned short. If there is no data available, the transducer will transmit (0xFFFF) 65535 as the value, which seems to be what you are seeing above.

A feature to contemplate in the future would be to recognize valid data values and to convert the SI units used by NMEA 2000 & consequently by SignalK into the units selected by the user in OpenCPN.

antipole2 commented 4 months ago

A feature to contemplate in the future would be to recognize valid data values and to convert the SI units used by NMEA 2000 & consequently by SignalK into the units selected by the user in OpenCPN.

I looked at that when I was creating the NMEA2000 decoder. As far as I am aware, there is no way for a plugin to learn of the user selected units?

TwoCanPlugIn commented 4 months ago

You can get the speed, distance & temperature units, plus there are some conversion functions.

From ocpn_plugin.h

double toUsrDistance_Plugin(double nm_distance, int unit = -1);
double fromUsrDistance_Plugin(double usr_distance, int unit = -1);
double toUsrSpeed_Plugin(double kts_speed, int unit = -1);
double fromUsrSpeed_Plugin(double usr_speed, int unit = -1);
double toUsrTemp_Plugin(double cel_temp, int unit = -1);
double fromUsrTemp_Plugin(double usr_temp, int unit = -1);
wxString getUsrDistanceUnit_Plugin(int unit = -1);
wxString getUsrSpeedUnit_Plugin(int unit = -1);
wxString getUsrTempUnit_Plugin(int unit = -1);

Something for next winter.....

antipole2 commented 2 months ago

@torrmundi Can we close this one now?