Skip to content

Displaying Signal K API values in Node-RED #71

Closed Answered by tkurki
cybardev asked this question in Q&A
Discussion options

You must be logged in to vote

Flatten does not only give you latitude and longitude, it "flattens" data so that a single Signal K Delta message with multiple values like

{
  "context": "vessels.urn:mrn:imo:mmsi:234567890",
  "updates": [
    {
      "source": {
        "label": "N2000-01",
        "type": "NMEA2000",
        "src": "017",
        "pgn": 127488
      },
      "timestamp": "2010-01-07T07:18:44Z",
      "values": [
        {
          "path": "propulsion.0.revolutions",
          "value": 16.341667
        },
        {
          "path": "propulsion.0.boostPressure",
          "value": 45500
        }
      ]
    }
  ]
}

will result in one Node-RED message for each value.

signalk-on-delta node will give …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cybardev
Comment options

@cybardev
Comment options

@tkurki
Comment options

Answer selected by cybardev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants