Posts: 15
Threads: 0
Joined: Sep 2021
Reputation:
1
Yeah ethernet makes sense. Didn't think of that.
My issue with wifi is that my rpi4 running openmarine will be serving wifi VNC connection to my android tablet. Yes I could run an additional usb wifi connection but not a big fan of that.
I'm probably over complicating things TBH and probably should just use the pypilot from my openmarine/openCPN to run the motor controller I bought from you but I love the redundancy idea of being able to use the tinypilot if more convenient or tough conditions make it a better choice than running tablet to openmarine autopilot control.
Posts: 2,220
Threads: 20
Joined: Jun 2016
Reputation:
68
the pypilot computer can act as a wifi client instead. This may be a better solution, but a 3rd device cannot access it without the access point (openplotter in this case)
The latest version supports tinypilot being ap/client at the same time to avoid this. Another way is to make the openplotter pi4 ap and client at the same time.. You dont need an extra usb wifi to have "2" wifi devices.
Posts: 2,220
Threads: 20
Joined: Jun 2016
Reputation:
68
If you run openplotter, configure the network as a client.
With tinypilot, visit the web, eg: 192.168.14.1/wifi and change the settings
Posts: 15
Threads: 0
Joined: Sep 2021
Reputation:
1
Ok I can get it mostly working now. I'm running Openplotter (OP) on RPi4 and have set that as access point (AP). I have my Tinypilot (TP) as a client with static connection into the OP AP. I can get the OpenCPN Pypilot plugin to access and control the TP and I can get heading data from TP into OpenCPN via a Signal K connection over NMEA 0183 - all good to this point!
What I can't get is the heel and pitch data from TP into my OpenCPN or Signal K. I read up on marcobergman's (Ironman on this forum?) brilliant wiki on pypilot about the 3 ways to get pypilot into Signal K... with the zeroconf way being the best and the limitations with getting heel and pitch from NMEA. Is there a zeroconf way to get TP data (HDG, Heel and Pitch) into Signal K or some other way please?
Thanks
Posts: 2,220
Threads: 20
Joined: Jun 2016
Reputation:
68
pypilot outputs the heel/pitch data over nmea0183 or signalk
If you are converting nmea0183 into signalkcce it may lose this? Can you open the signalk control panel and grant pypilot read/write access then disable the nmea0183->signalk conversion as it isnt needed .
Posts: 15
Threads: 0
Joined: Sep 2021
Reputation:
1
My bad, I hadn't granted access in Signal K. Such a simple stuff up that had me trying all sorts of more complicated things!
I've deleted my manual NMEA connection to pypilot in signal K and have the pitch, roll and heading data from tinypilot all coming through into OpenCPN on my rpi4 openplotter installation.
Thanks Sean.