SignalK / signalk-to-nmea0183

Signal K Node server plugin to convert Signal K to NMEA 0183
Apache License 2.0
13 stars 28 forks source link

Request: Add AIS sentences #47

Open emilecantin opened 4 years ago

emilecantin commented 4 years ago

We do the reverse in the parser module, why not here too? Also, I'd actually need it for my use-case.

sbender9 commented 4 years ago

It should be here, just need someone to implement it.

What's your source for AIS data?

emilecantin commented 4 years ago

I started looking at it, but it's a bit more complex than I anticipated, because we currently filter on the "self" values.

I'm actually getting AIS data from an NMEA0183 source (Moitessier HAT on a Raspberry Pi running OpenPlotter), but I'm sending all my data to another Raspberry Pi running OpenPlotter through SignalK. Everything works fine, except OpenCPN doesn't see any AIS data.

My end goal is to have one "headless" Pi running all my sensors, feeding another Pi acting as a chartplotter through SignalK. I'm pretty close, the only thing missing is AIS.

Of course, I could just connect directly to kplex on the other Pi to subscribe directly to the source NMEA data, but where's the fun in that?

itemir commented 4 years ago

+1 for this request. Use-case is to use the existing Signal K server on a Raspberry Pi that is pulling AIS data from a USB connected AIS transceiver for tablets and OpenCPN over WiFi port 10110.

Cool plugin btw, apparently I have had this for a while but didn't go into specifics.

tkurki commented 4 years ago

@itemir your AIS transceiver is probably already outputting nmea0183 ais data, you don’t need to do the conversion from SK.

itemir commented 4 years ago

It is but it is doing so over USB, which is feeding into Signal K. Goal is to make it available over WiFi. I can feed into Signal K and a separate wireless solution with something like gpsd but it complicates things. Would be cool to give it out from SK.

tkurki commented 4 years ago

All SK server's data from nmea0183 inputs is already available over tcp on port 10110 - it does not have to be converted first to Signal K and then back to nmea0183, if it is coming from an nmea0183 source.

itemir commented 4 years ago

As I mentioned above, AIS comes via USB and it is not showing up on port 10110.

tkurki commented 4 years ago

I don't doubt your word on ais on port 10110, but the source being USB is not the reason, trust me. But this is getting beyond this issue, care to come to Slack if you want to track this down further? Link to join is at http://signalk.org/