2020-03-25, 04:17 PM
(2020-03-25, 04:07 PM)SailorMacSailface Wrote: Hello and thanks for all the answers.
Maybe I was not clear with my question.
I am not looking for a hardware button or a desktop item etc.
What I would like to add is an item within the OpenCPN GUI preferrably in the toolbar that would handle the system shutdown.
Can such an item be added?
(2020-03-23, 01:41 PM)PaddyB Wrote: I use a node red dashboard. Closes opencpn then shuts down the Pi. Works well, from mobile or tablet, whatever is to hand. Press a button on screen and that's it, though you still need to kill the power afterwards. Unfortunately can't get the flow right now, away from the boat.
That seems to be close to what I am looking for.
Have to check what node red dashboard is though
I use Launcher OpenCPN plugin for that.
Code:
[PlugIns/LAUNCHER]
Labels=Shutdown;Reboot
Commands=sudo shutdown -P now;sudo reboot
HideOnBtn=1
Width=200
Height=150
PosX=256
PosY=100
Thanks,
--MG
Download BBN Marine OS for raspberry pi
https://bareboat-necessities.github.io/m...at-os.html
Video of actual installation:
https://www.youtube.com/watch?v=3zMjUs2X3qU
https://bareboat-necessities.github.io/m...at-os.html
Video of actual installation:
https://www.youtube.com/watch?v=3zMjUs2X3qU