/signalk-raymarine-autopilot

Primary LanguageJavaScriptApache License 2.0Apache-2.0

signalk-raymarine-autopilot

Greenkeeper badge

API

All messages to plugin are done as POST requests which take a map as input in the form:

{
  "action": "someAction",
  "value": 10
}

The POST should be sent to /plugins/raymarineautopilot/command

Advance Waypoint

{
  "action": "advanceWaypoint"
}

Set Autopilot State

The value can be auto, wind, route, or standby

{
  "action": "setState",
  "value": "auto"
}

Change Target Heading or Wind Angle

The value is in degrees and is the amount to change. So when in auto at a heading of 180, a value of -10 will change the target heading would be changed to 170

{
  "action": "changeHeading",
  "value": 1
}