2024-03-26, 04:59 PM
(2024-03-26, 04:28 PM)ironman Wrote: Agreeing to disagree, then I would do it like this:
Code:pi@openplotter:~ $ sudo systemctl stop gpsd
Warning: Stopping gpsd.service, but it can still be activated by:
gpsd.socket
pi@openplotter:~ $ sudo systemctl disable gpsd
Removed /etc/systemd/system/sockets.target.wants/gpsd.socket.
Doesn't work. There's gpsd.socket as well which will start up gpsd and gpsdctl@.service which will start it as well and can't be disabled using systemctl.
Seems stable now, been running for a while. Can't see the point of pypilot being in charge of the gps then sending it to signalk to send out on 10110. Makes no difference now if pypilot is running or not, everything still gets GPS.
Pypilot now looks like it gets position over tcp from signalk same as wind data.
Code:
server setup has 6 pipes
sensor found gps tcp GPsocket0 Tue Mar 26 11:59:58 2024
ICM-20948 init complete
sensor found wind tcp IIsocket0 Tue Mar 26 11:59:58 2024
Seems to work fine so far...