This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pypilot and Signal K
#10
tkurki,

I have been working on signalk integration and now pypilot detects signalk with zeroconf, finds the url for the websocket using http requests, then connects to the websocket.

pypilot then subscribes to signalk for wind, gps, rudder, or autopilot messages etc if it doesn't have any other higher priority input (like a direct serial connection) It unsubscribes from signalk if a higher priority source is found. This seems to be working.

This is a small annoyance since the server rejected unsubscribe requests, I have to unsubscribe from all and re subscribe to all the keys. Is this by design or just lacking implementation? Also, subscribing to a signalk key the server sends the last value even if it is days old.

So now I have produced various signalk outputs and send them down the websocket as "updates", but this is not working. On the web site localhost:3000 I see:

ws
::1 needs authentication


Is this the reason my data seems to be ignored? The current pypilot signalk integration in openplotter just sends a udp packet to a port configured as input in signalk server but I would like to avoid this for a number of reasons, and I already have the websocket connection.
Reply


Messages In This Thread
Pypilot and Signal K - by tkurki - 2020-01-25, 11:20 AM
RE: Pypilot and Signal K - by seandepagnier - 2020-01-25, 08:06 PM
RE: Pypilot and Signal K - by tkurki - 2020-01-26, 10:02 PM
RE: Pypilot and Signal K - by seandepagnier - 2020-01-26, 05:17 AM
RE: Pypilot and Signal K - by seandepagnier - 2020-01-27, 02:19 AM
RE: Pypilot and Signal K - by seandepagnier - 2020-02-01, 06:04 PM
RE: Pypilot and Signal K - by tkurki - 2020-02-02, 10:20 AM
RE: Pypilot and Signal K - by seandepagnier - 2020-02-03, 02:35 AM
RE: Pypilot and Signal K - by seandepagnier - 2020-03-13, 12:49 AM
RE: Pypilot and Signal K - by seandepagnier - 2020-05-24, 03:42 PM
RE: Pypilot and Signal K - by johnm - 2020-06-02, 09:13 PM
RE: Pypilot and Signal K - by ddelorme - 2020-06-05, 06:51 PM
RE: Pypilot and Signal K - by seandepagnier - 2020-06-06, 12:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)