signalk server - ronzeiller/kbox-firmware GitHub Wiki
How to interface the KBox and signalk-server-node?
-
Make sure
canboat
is installed on your linux host.$ analyzer INFO 2017-09-01T03:22:35.813Z [analyzer] N2K packet analyzer (C) 2009-2015 Keversoft B.V., Harlingen, The Netherlands For more information see https://github.com/canboat/canboat This file is part of CANboat.
-
Configure signalk-server-node json configuration file in
settings/my_little_boat.json
(see example below) -
Start signalk-server-node!
./bin/my_little_boat
Troubleshooting
If you need to troubleshoot your setup, you can get signalk debug data by exporting a DEBUG environment variable before starting signalk:
export DEBUG=signalk-provider-tcp
Or if you want more info:
export DEBUG=*
Configuration file
Example configuration file to enable receiving NMEA and NMEA2000 sentences from KBox:
{
"vessel": {
"name" : "Hotel Catalina",
"brand" : "Catalina",
"type" : "36",
"uuid" : "urn:mrn:signalk:uuid:c0d79334-4e25-4245-8892-54e8ccc8021d"
},
"interfaces": {
"rest": true,
"ws": true,
"bower": true
},
"pipedProviders": [{
"id": "nmeaFromTCP",
"pipeElements": [
{
"type": "providers/tcp",
"options": {
"host": "192.168.32.10",
"port": "10110"
}
},
{
"type": "providers/liner"
},
{
"type": "providers/n2kAnalyzer"
},
{
"type": "providers/n2k-signalk"
}
]
}]
}
Credit
Page contributed by ludo. Thanks a lot!