mirror of
https://github.com/sbender9/signalk-raymarine-autopilot.git
synced 2020-11-18 19:37:28 -08:00
signalk-raymarine-autopilot
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
}
Description
Languages
JavaScript
66.9%
CSS
22.6%
HTML
10.5%