(2020-05-22, 07:20 PM)affinite Wrote: OK end of the road for me.
For anyone who may be interested. I set up a fresh instal of the OP2 Image including SignalK
I allowed the Pi to instal updates
I then installed the SKSim plugin.
I also installed a physical USB GPS and setup an SK connection for it.
With GPS connection enabled I got SK paths in the dashboard and I also got NMEA into OpenCPN on port 10110
With SKSim running I saw SK paths in the dashboard but no NMEA sentences into OpenCPN
Seems to me its a SignalK issue
I dont know how SK paths are translated into NMEA 0183 but it seems that although SK will route incoming NMEA from a serial port and concurrently create SK paths , it will not create an NMEA sentence from a SK path generated by a simulator or route an NMEA sentence if its sent over TCP.
If anyone has any evidence to contradict then Im all ears otherwise. I give up
What file were you playing back from navmon? Struggling with a lack of understanding of how tcp clients/servers work in node red & signalk - can't get any data through, udp works OK with nmea messages send to a udp connection in sigK getting echoes out tcp port 10110.
SkSim doesn't produce any nmea sentences, only signlk data so to get nmea from that you need the siigk - nmea app running and some sentences selected. works fine on my Rpi.
Surprised you get sigk created from incoming nmea but it doesn't get echoed..
also - a quick way to check what's being sent on tcp is in a terminal, < /dev/tcp/10.10.10.1/10110
This is from SkSim through the sigK-nmea converter>>
pi@openplotter:~/.signalk $ cat < /dev/tcp/10.10.10.1/10110
$IIHDT,156.4,T*24
$GPGGA,052443,3659.9077,N,00800.0214,W,1,4,1.605,0,M,0,M,,*5D
$GPRMC,,A,3659.9077,N,00800.0214,W,4.7,156.4,,,E*40
$IIMWV,53.67,R,4.07,M,A*0A
Another thing I found from lots of fiddling and looking at pi@openplotter:~ $ cat .signalk/settings.json
To set the port and server address in a server connection, first set it up as a client with the port and IP , save, then change the type to a server and save again. Not immediately obvious...