2018-10-22, 07:19 PM
(2018-10-08, 10:31 PM)Newt2u Wrote: Hi tkurki,Hi Newt2u,
thanks for the options outlined in your post, however, I now have a workaround for my situation. I am getting autopilot data from iSailor and also want to get all SK NMEA data into iSailor. However I can create multiple connections in iSailor so SK comes in on 10110 and autopilot data goes directly to opencpn on 10111, where it is filtered out onto a serial line.
I think the most elegant solution would be to to have 10110 as bidirectional and allow filtering on the serial output within SK, will add a post to github.
You seem to be one of the rare people using Openplotter with iSailor, something I’m trying to do as well. I’m trying to achieve just what you have, but I’m struggling. I get it all working, except getting the autopilot signals back from iSailor.
Here is what I have:
* Openplotter set up on RPi;
* GPS and AIS feeding openplotter over serial (from SH VHF);
* NMEA compass feeding openplotter over serial;
* Openplotter (signal K I guess) is multiplexing this and sending NMEA data to iSailor on iPad over Wi-fi (using TCP connection);
* OpenCPN is also seeing all data and plotting nicely on the RPi as well;
* The RPi is also connecting to my hotspot over Wi-fi and sharing this access to iPad (using second usb Wi-fi);
* My Autohelm (ST6002 + X-5) is hooked up to Openplotter, again by NMEA (via serial) and this is recieving COG and SOG data from Openplotter.
The missing link is that I can not get iSailor to send the XTE autopilot control signals from on the iPad, back to the Autohelm via Openplotter.
On openplotter, the TCP connection is set up as uni-directional (RPi to iPad). When I tried to set up a bi-directional UDP connection, iSailor actually lost all connections. Uni-direction UDP did work, but not when in bi-directional mode. I think I’ve also tried two separate TCP connections (which I think is what you had) on different server IP, but this didn’t seem to work either.
Any tips on what i need to do? This is the last step for me a perfect set up!
Thanks in advance.
John