0.0.4 • Published 5 years ago
node-red-contrib-nmea v0.0.4
node-red-contrib-nmea
A Node-RED node to decode NMEA format messages.
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm i node-red-contrib-nmeaUsage
A node that parses NMEA sentences into a JavaScript objects containing the data.
Specify the input property containing an NMEA sentence (default msg.payload).
Latitude and longitude values will be parsed into decimal degrees. If the NMEA sentence contains a date and timestamp, the property dateTime will be a JavaScript Date object representation of the date and time.
Example output object for a RMC sentence (as JSON):
{
"sentence":"RMC",
"type":"nav-info",
"timestamp":"163948.00",
"status":"valid",
"lat":44.617677,
"latPole":"N",
"lon":-87.93293367,
"lonPole":"W",
"speedKnots":7.143,
"trackTrue":31.54,
"date":"111020",
"variation":0,
"variationPole":"",
"talker_id":"GP",
"dateTime":"2020-10-11T16:39:48.000Z"
}