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
Getting wind data into Pypilot
#25
I just found out that coexisting of a nmea tcp/20220 and a signalk tcp/3000 connection to pypilot is that data (e.g., SOG) that you put into pypilot through nmea:20220 comes back through signalk:3000. This becomes visible as two sources for the same path in signalk's data browser *):

[Image: 185943500-b639634d-ba4f-48d1-9a76-9033ad62fcb2.png]

At first sight this only seems to have the drawback of source data ambiguity. This can be solved by using the signalk Source Priorities feature. But invisible in the UI, there might also be some infinite loop created by this. As it is not visible, it scares me, and without knowing for sure, I am inclined to attribute past problems with signalk's node process going through the roof, and some wifi issues, to this effect.

To prevent or solve this, I have now made the pypilot client device in signalk (Security->Devices) read/only. This way, pypilot might still benefit from any data that becomes available in signalk, but there is no risk of a loop being created.

Of course, this is a temporary solution, only to bridge the time until the pypilot signalk connection is debugged. But some prudence in making the signalk connection read-write might still be advised.

*) note that in this chosen example, the original wind speed is practically 0; pypilot merely seems to round the figure.
Reply


Messages In This Thread
Getting wind data into Pypilot - by kniven - 2022-08-12, 07:53 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-15, 02:52 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-13, 10:40 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-15, 04:38 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-15, 07:42 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-15, 11:44 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-16, 08:49 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 09:45 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-16, 05:39 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 06:21 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-16, 11:38 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-19, 06:32 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-17, 07:29 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-19, 08:10 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-20, 06:52 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 07:56 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 09:47 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-22, 12:57 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-22, 01:53 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-22, 03:31 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-23, 07:47 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-23, 10:44 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-27, 11:15 AM
RE: Getting wind data into Pypilot - by ironman - 2022-08-28, 01:29 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-27, 06:32 PM
RE: Getting wind data into Pypilot - by kniven - 2022-08-28, 05:42 PM
RE: Getting wind data into Pypilot - by ironman - 2022-08-29, 12:32 AM
RE: Getting wind data into Pypilot - by kniven - 2022-08-29, 06:30 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 05:32 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 06:08 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 07:55 PM
RE: Getting wind data into Pypilot - by stelian - 2022-09-04, 09:09 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)