signalk / signalk-autopilot Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello,
I'm not sure, if this is due to my mistake or a kinf of bug.
System: SignalK version 2.3; autopilot plugin :latest version with Raymarine seatalk 1 AP and wilhelmSK and freeboard.
Issue: When I set WSK to auto works, set to wind works, set to standby works, but when set to Track, my autopilot controller st-6001 gives error of :"NO DATA" and alarm beeps, even if with freeboard "navigate to here" point activated and data shown for courseApi and course-provider. ( That is valid for autopilot web application also)
$PSMDST,86,11,03,FC*05 seems a seatalk1 command but not starting with $STALK at serial streams, maybe related?
Any comments, appreciated?
Some log data:
for autopilot plugin:
Oct 31 15:19:15 2023-10-31T12:19:15.773Z @signalk/signalk-autopilot datagram: 86,11,03,FC
Oct 31 15:19:15 ::ffff:10.10.10.16 - - [31/Oct/2023:12:19:15 +0000] "PUT /signalk/v1/api/vessels/self/steering/autopilot/state HTTP/1.1" 200 177 "-" "WilhelmSK/133 CFNetwork/978.0.7 Darwin/18.7.0"
Oct 31 15:19:15 ::ffff:10.10.10.16 - - [31/Oct/2023:12:19:15 +0000] "GET /signalk/v1/api/vessels/self/steering/autopilot/state HTTP/1.1" 200 138 "-" "WilhelmSK/133 CFNetwork/978.0.7 Darwin/18.7.0"
for streams-seria:
Oct 31 15:36:55 2023-10-31T12:36:55.393Z signalk:streams:serialport Writing:$STALK,54,31,93,0C3B
Oct 31 15:36:55 2023-10-31T12:36:55.396Z signalk:streams:serialport Writing:$STALK,56,A1,1F,1743
Oct 31 15:36:57 2023-10-31T12:36:57.144Z signalk:streams:serialport Writing:$STALK,50,02,28,C1,1615
Oct 31 15:36:57 2023-10-31T12:36:57.146Z signalk:streams:serialport Writing:$STALK,51,02,1D,DC,8011
Oct 31 15:36:57 2023-10-31T12:36:57.169Z signalk:streams:serialport Writing:$STALK,52,01,00,0047
Oct 31 15:36:57 2023-10-31T12:36:57.654Z signalk:streams:serialport Writing:$STALK,85,06,00,0B,74,00,96,00,6917
Oct 31 15:36:57 2023-10-31T12:36:57.657Z signalk:streams:serialport Writing:$STALK,85,06,00,0B,74,00,96,00,6917
Oct 31 15:36:57 2023-10-31T12:36:57.659Z signalk:streams:serialport Writing:$STALK,85,06,00,0B,74,00,96,00,6917
Oct 31 15:36:59 2023-10-31T12:36:59.627Z signalk:streams:serialport Writing:$STALK,86,11,03,FC49
Oct 31 15:36:59 2023-10-31T12:36:59.629Z signalk:streams:serialport Writing:**$PSMDST,86,11,03,FC05**
Oct 31 15:36:59 ::ffff:10.10.10.16 - - [31/Oct/2023:12:36:59 +0000] "PUT /signalk/v1/api/vessels/self/steering/autopilot/state HTTP/1.1" 200 177 "-" "WilhelmSK/133 CFNetwork/978.0.7 Darwin/18.7.0"
Oct 31 15:36:59 ::ffff:10.10.10.16 - - [31/Oct/2023:12:36:59 +0000] "GET /signalk/v1/api/vessels/self/steering/autopilot/state HTTP/1.1" 200 138 "-" "WilhelmSK/133 CFNetwork/978.0.7 Darwin/18.7.0"l
I'm using a B&G Vulcan, Simrad TP-32 and SignalK to the same N2K network. I'm able to remotely adjust the TP32 from the B&G Vulcan via the N2K network, so there is N2K support on the TP32.
Would you be interested in adding Simrad TP-22/32 support to your autopilot module? And if so, how can I help?
Situation:
RaspBerry with SignalK -- WiFi -- ShipModul -- ST1 to RayMarine ST7000+
Problem:
The buttons in the GUI do put the AP into 'Auto' and back to 'Standby' but the display only shows "No Pilot". And the four steering-buttons do not work at all.
I noticed the plugin sends $PSMDST which is "Proprietary ShipModul", so I was hoping this plugin supports the ShipModul. That is also what is in the plugin's readme.
Using this $PSMDST is why my AP goes into 'Auto' just fine, but why does the GUI stay on "No Pilot"? I guess it is waiting for the status? How should that sentence look like? Or what else do I need to configure to get the status updated?
Set Autopilot State
The value can be auto, wind, route, or standby
There needs to be other states possible
PUT http://localhost:3000/signalk/v1/api/vessels/self/steering/autopilot/actions/adjustHeading
I suggest you don't do incremental heading changes. It is better the commanded heading set absolute.
Target Heading
Target Wind Angle
These are redundant from above.
pypilot already defines everything needed in a tree form you could use the same paths and it would be compatible already with the smallest translation layer, but maybe Is the intention for this only to work with n2k autopilots?
Hello,
I try to use the plugin with a Raymarine SPX 30, NMEA2000 compatible ( I choose NMEA2000 in the plugin's config).
When I push AUTO, or STBY, or WIND or TRACK. Nothing happens but I can see the heading showed by the AP.
If I put the AP into AUTO (directly with the autopilot display) I'm able to change the heading, or wind angle with the pugin (using +1, +10, ...)
What should I try to make it fully work?
Nicolas
Wow...first, what you guys have built is simply out of this world! I am stunned. I decided I'd put my spare time and passion for tech and sailing to use and contribute around using a Pi as a chart table instrument package instead of the traditional marine hardware displays. My ultimate goal is operating my autopilot from the cabin and NOT buying a second control head (p70s).
FYI - I am really new to this, all aspects of it: TS, Node, SignalK, git, you name it, so please bare with me a bit.
I've decided on Kip Dashboard; added a theme, added new gauges, and reached out to repo owner and figure out Git what-is/how-to (commit/push/pull and such) as a learning process. Now tackling step 2 - autopilot.
Goal
Build a Kip AP GUI widget. Keep it simple.
Questions
Advice on the best approach will be much appreciated!
Hi All,
I have connected an Shipmodul-3-N2K connected through usb to signalK. This part is working fine. However if i connect the evo1 compss and a n2k raymarine autopilot the autopilot is not detected to the gui. How can i troubleshoot this or do i need extra components like an i70?
thanks in advance,
Patrick
Hi, I've installed the module on my Raspberry, but now when I switch on my Autopilot St6001+, it ask me the CODE to enter, I've tried 0000 1234 ecc but nothing....
Anyone can help me?
Is there a code to unlock the Autopilot or reset it?
Many thanks.
Hi, I have my Raymarine (Autohelm )ST7000 autopilot connected to SignalK with NMEA2000 through a Seatalk/SeatalkNG converter.
I believe the autopilots Seatalk messages is translated to NMEA2000 using program 126720. Is this the same program used to communicate with Raymarine SeatalkNG autopilots?
/Magnus
Hi there!
I connect with success my raymarine Autohelm st4000+ to signalk and i can see the status in the api and via socket. I don't understand why, however, when I try to do a PUT (with authenticated user) I get this answer:
PUT http://localhost:3000/signalk/v1/api/vessels/self/steering/autopilot/state
{
"value": "auto"
}
I receive a 405:
{
"state": "COMPLETED",
"requestId": "622a7e3b-e263-4581-a552-3b55bf1fb80a",
"statusCode": 405,
"message": "PUT not supported for steering.autopilot.state",
"href": "/signalk/v1/requests/622a7e3b-e263-4581-a552-3b55bf1fb80a",
"user": "1234-45653-3434533"
}
Thank you very much for all the amazing work that you are doing!
T
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.