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
How do I get signalk data into node red
#5
(2016-12-12, 08:56 PM)gniersma Wrote:
(2016-12-11, 06:10 AM)desolina-nz Wrote: yep, try version 0.9 alpha. I'd never used node-red or even done any java scripting before and within an hour had a bunch of dashboards running off signal K data. I found I had to use some of the delay/smoothing functions to avoid too many data points going to the charts I was using though (because I wanted charts of pressure tracking over several days).

I got node-red running again on 0.9.0 alpha. Had to throw away .node-red/flows_openplotter.

I also get a the message a lot of datapoints  ?
Can you explain why you add the delay function and how you implement smoothing functions ? 


thx G.

There is probably a better way to do this... but I first used the delay function to only output say 1 data point every 3 seconds. Then I used the smooth function to average the values over the last 200 points (giving a 10 minute average). Then I used the delay function again to only output 1 value every 10 minutes. I sent this feed to a graph to show 10 min average values, which work well for looking at wind/pressure/temperature over several days and doesn't build up too many data points.

I'm away from home for the next week, but can send you a copy of my node-red when I'm back. I would be keen to get some feedback on it! As I said, perhaps there is a better way of doing this?
Reply


Messages In This Thread
RE: How do I get signalk data into node red - by desolina-nz - 2016-12-12, 09:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)