Created
January 10, 2016 16:01
-
-
Save tkurki/f7a4b3b316f7f65eae1f to your computer and use it in GitHub Desktop.
Signal K example for multiple sources/values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vessels": { | |
"urn:mrn:signalk:uuid:c0d79334-4e25-4245-8892-54e8ccc8021d": { | |
"uuid": "urn:mrn:signalk:uuid:c0d79334-4e25-4245-8892-54e8ccc8021d", | |
"navigation": { | |
"speedThroughWater": { | |
"value": 3.1361111111111106, | |
"$source": "nmea2.II", | |
"timestamp": "2016-01-10T15:58:45.224Z", | |
"values": { | |
"nmea1.II": { | |
"value": 3.1416666666666666, | |
"timestamp": "2016-01-10T15:58:44.918Z", | |
"sentence": "VHW" | |
}, | |
"nmea2.II": { | |
"value": 3.1361111111111106, | |
"timestamp": "2016-01-10T15:58:45.224Z", | |
"sentence": "VHW" | |
}, | |
"n2k1.115": { | |
"value": 3.34, | |
"timestamp": "2014-08-15-19:00:00.087", | |
"pgn": 128259 | |
}, | |
"n2k2.115": { | |
"value": 3.34, | |
"timestamp": "2014-08-15-19:00:00.087", | |
"pgn": 128259 | |
} | |
}, | |
"sentence": "VHW" | |
} | |
} | |
} | |
}, | |
"sources": { | |
"nmea1": { | |
"label": "nmea1", | |
"type": "NMEA0183", | |
"II": { | |
"talker": "II", | |
"sentences": { | |
"VHW": "2016-01-10T15:58:44.918Z", | |
"VTG": "2016-01-10T15:58:45.017Z", | |
"MWV": "2016-01-10T15:58:45.000Z", | |
"HDT": "2016-01-10T15:58:45.220Z", | |
"DBT": "2016-01-10T15:58:44.000Z", | |
"GLL": "2016-01-10T09:56:09.000Z", | |
"HDM": "2016-01-10T15:58:44.718Z" | |
} | |
} | |
}, | |
"nmea2": { | |
"label": "nmea2", | |
"type": "NMEA0183", | |
"II": { | |
"talker": "II", | |
"sentences": { | |
"VHW": "2016-01-10T15:58:45.224Z", | |
"VTG": "2016-01-10T15:58:44.620Z", | |
"MWV": "2016-01-10T15:58:44.000Z", | |
"HDT": "2016-01-10T15:58:45.122Z", | |
"DBT": "2016-01-10T15:58:44.000Z", | |
"GLL": "2016-01-10T09:56:11.000Z", | |
"HDM": "2016-01-10T15:58:45.121Z" | |
} | |
} | |
}, | |
"n2k1": { | |
"43": { | |
"src": 43, | |
"pgns": { | |
"129038": "2014-08-15-19:00:00.443", | |
"129039": "2014-08-15-19:00:00.363" | |
} | |
}, | |
"115": { | |
"src": 115, | |
"pgns": { | |
"128259": "2014-08-15-19:00:00.087", | |
"128267": "2014-08-15-19:00:00.591", | |
"128275": "2014-08-15-19:00:00.197", | |
"130306": "2014-08-15-19:00:00.514" | |
} | |
}, | |
"160": { | |
"src": 160, | |
"pgns": { | |
"126992": "2014-08-15-19:00:00.134", | |
"128259": "2014-08-15-19:00:00.240", | |
"129025": "2014-08-15-19:00:00.540", | |
"129291": "2014-08-15-19:00:00.332", | |
"130577": "2014-08-15-19:00:00.537" | |
} | |
}, | |
"label": "n2k1", | |
"type": "NMEA2000" | |
}, | |
"n2k2": { | |
"43": { | |
"src": 43, | |
"pgns": { | |
"129038": "2014-08-15-19:00:00.443", | |
"129039": "2014-08-15-19:00:00.363" | |
} | |
}, | |
"115": { | |
"src": 115, | |
"pgns": { | |
"128259": "2014-08-15-19:00:00.087", | |
"128267": "2014-08-15-19:00:00.591", | |
"128275": "2014-08-15-19:00:00.197", | |
"130306": "2014-08-15-19:00:00.514" | |
} | |
}, | |
"160": { | |
"src": 160, | |
"pgns": { | |
"126992": "2014-08-15-19:00:00.134", | |
"128259": "2014-08-15-19:00:00.240", | |
"129025": "2014-08-15-19:00:00.540", | |
"129291": "2014-08-15-19:00:00.332", | |
"130577": "2014-08-15-19:00:00.537" | |
} | |
}, | |
"label": "n2k2", | |
"type": "NMEA2000" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment