signalk-generic-pgn-parser
v1.4.0
Published
Allows users to parse PGNs that are not directly supported by SignalK.
Downloads
63
Readme
signalk-generic-pgn-parser
Allows users to parse PGNs that are not directly supported by SignalK.
Getting started
1.) Use the SignalK Appstore to install the signalk-generic-pgn-parser plugin. 2.) Browse to Server => Plugin => Generic PGN Parser and enable it. 3.) Restart SignalK
Configuration - Basic
At the basic level each PGN is required to have the PGN and the path you want to map it. The path is a template that you can specify any data field value or device instance for use in the path. The field value you want to use in the template should be surrounded by {} brackets.
For example if I want to include the instance in the PGN 65005, then I could use a path of electrical.ac.utility.{Instance}.total
Configuration - Proprietary
If the PGN you wish to use is proprietary to a manufacturer, then you need to provide the manufacturer name as used in pgn.h.
If I wanted to add Maretron Slave Response PGN 126720, I would go to pgn.h and search for the PGN. Within the PGN I would look for the Manufacturer Code and enter it into the PGN config in the plugin.
Configuration - Advanced
Some PGNs may have additional data that we do not want to import or may be used for source identification in the path.
You may also specify multiple fields using a comma seperated list.