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
Save the data detected by the openplotter to avoid losing it at every reboot
#11
(2018-09-13, 06:50 PM)kste Wrote: Shy
Great, you made me discover the dashboard of chronogrf, really interesting to be able to quickly create graphs and store them.

However, my interest in resolving the visualization on the node-red graph remains...

With signalk apps & chronograf my node red has very little workload these days Smile
Reply
#12
It works!
After a few sleepless nights, I succeeded!
It takes a query that returns x and y:
SELECT "time" AS "x", value AS y FROM volt WHERE time > now() - 6h;

then the function node to correctly format the array:

var chart1 = [{"series": ["A"],
"data": [
  msg.payload
],

"labels": [""]
}];
msg.payload = chart1;
return msg;
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)