Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Allow lat/long to be input by pasting data copied from opencpn #32

Open
boatybits opened this issue Oct 24, 2023 · 3 comments

Comments

@boatybits
Copy link

I use an opencpn waypoint to monitor boat position when anchored, it would be very useful to be able to copy the anchor position waypoint lat/lon & paste the position into the anchoralarm plugin in signalk plugin config. Data from opencpn is formatted like this >
"28° 51.6568' N 013° 49.7503' W"
thnx.

@JDaviso1
Copy link

JDaviso1 commented Mar 20, 2024

Something similar would be helpful for me, too. I drop a pin on my chartplotter while I drop my anchor. I later set the anchor's position based on the pin's lat/lon. I would love a REST call to set the lat/lon. Perhaps something like:

curl -X POST -H "Content-Type: application/json" -d '{"latitude": 18.0942, "longitude": -65.4409}' http://localhost:3000/plugins/anchoralarm/setAnchorPosition

@dsc03GIT
Copy link

This feature would also help me. I have built an anchor couter from an esp32 and it is integrated into my Home Assistant - SignalK - node-red smart boat. The anchor counter feeds the lat-lon, chain lenght, etc into the system so they are available for automation. The REST call that JDaviso1 suggests above would be perfect.
Thanks for the great plugin

@dsc03GIT
Copy link

Also I note that calling "setManualAnchor" returns a limit that needs to be formatted to 0ne decimal place similar to the Distance value. Right now it blows up the map values inset. Requires another call to setRadius with a trimmed value to clean up the display
Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants