-
Notifications
You must be signed in to change notification settings - Fork 43
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
Comments
We don’t send a command on purpose, you may have other stations looking at the data.
Observing and keeping count of others is currently out-of-scope for us.
Suggestion: put a switch in the activation line feeding the RJ45 coupler.
|
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 ... ) |
It seems you're on a RPi? Why not investigate Tony's (Antipole) plugin "JavaScript " to serve this? |
I guess we could at a “stop radar on shutdown” button to the preferences, for all radars. It’s not necessary for most as they stop for themselves when we don’t ping them.
|
Let me try leaving it running and see if it stops itself after some time, maybe it is a non-issue. |
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! |
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 ...
The text was updated successfully, but these errors were encountered: