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
Signal K filter
#1
Lightbulb 
I’d love some help to understand how the SignalK filter should be set up.
 
My Pi gets clogged up, probably because there is too much data coming in, from the USB GPS and Canbus/SeatalkNG. So I want to filter out all unnecessary Signal K keys and only let through the useful data, such as position, SOG, etc.
Should I use filter or priority to achieve this? I guess filter, right?
 
For example, I want to filter out all Signal K keys starting with navigation.gnss, except for navigation.gnss.position.latitude and .longitude.
 
Is that possible using wildcards?
How does the “replacement *” setting work?
 
Could someone please show me an example of how to setup the filter?
Reply
#2
(2022-06-22, 08:51 AM)robbie Wrote: I’d love some help to understand how the SignalK filter should be set up.
 
My Pi gets clogged up, probably because there is too much data coming in, from the USB GPS and Canbus/SeatalkNG. So I want to filter out all unnecessary Signal K keys and only let through the useful data, such as position, SOG, etc.
Should I use filter or priority to achieve this? I guess filter, right?
 
For example, I want to filter out all Signal K keys starting with navigation.gnss, except for navigation.gnss.position.latitude and .longitude.
 
Is that possible using wildcards?
How does the “replacement *” setting work?
 
Could someone please show me an example of how to setup the filter?

For the usb gps you can just allow through the sentences you want, check the data browser to see which ones have the data you want. Not so sure about nmea2000.
[Image: VhMOUpk.png]
Reply
#3
Aha, fantastic, that's a great start! Thanks!

I'd also like to use the filter/priority. Anyone with an example please? (I've read the docs...).
How should I use the wildcard/replacement setting?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)