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

Garmin xHDnot shutting down on OpenCPN close #256

Open
rszemeti opened this issue Jan 17, 2024 · 6 comments
Open

Garmin xHDnot shutting down on OpenCPN close #256

rszemeti opened this issue Jan 17, 2024 · 6 comments

Comments

@rszemeti
Copy link

I am running OpenCPN 5.8.4, radar 5.5.0 ... with a Garmin GMR 18HD+ selected as xHD type.

If the radar is on and active, when I close OpenCPN it does not send a stop command and the radar keeps on spinning ...

@keesverruijt
Copy link
Contributor

keesverruijt commented Jan 17, 2024 via email

@rszemeti
Copy link
Author

I don't have any other stations looking at data, I suspect 99% of installations are a single station.

Would it not be possible to have a "stop radar on close" checkbox .. or better still use a GPIO to close the switch when the radar plugin is active?

Adding manual switches to do things is fine, but when we have a computer that can do it for us (and not forget to do it ... which is what happens when you give the job to a human ... )

@Hakansv
Copy link
Collaborator

Hakansv commented Jan 17, 2024

It seems you're on a RPi? Why not investigate Tony's (Antipole) plugin "JavaScript " to serve this?

@keesverruijt
Copy link
Contributor

keesverruijt commented Jan 17, 2024 via email

@rszemeti
Copy link
Author

Let me try leaving it running and see if it stops itself after some time, maybe it is a non-issue.

@rszemeti
Copy link
Author

Well, it's still whirring away an hour later, so let's put that down as a "nope" then.

I've had a look at the Javascript plugin, but struggling to work out how to get it a) trigger on application close, b) keep the application alive until it has finsihed doing whatever it needs to do and c) call the appropriate method in the radar plugin!

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