Originally Posted by sailwing
Hi, I am not sure if this is the right place to post a specific question but I am using OpenPlotter. I have setup Signal K and Node-Red. In the node-red dashboard, I wanted a chart to plot a history
of the last day and it turned out to be a lot of data points (e.g., temperature). I want to reduce the amount of data points, how do I do it? E.g., instead of reading a datapoint every second, I want to change it to every minute. Where do I change the setting? I went through the Signal K setting page, nothing was there fore it.
Thank you in advance.
much better way than node-red is to write all the data to a influxdb database.
If your on openpotter 2 it's easy as the sources are set up, in a terminal cut and paste 'sudo apt-get update && sudo apt-get install influxdb chronograf' & hit return. This loads the programs onto the Pi.
Then again in a terminal paste 'sudo systemctl enable influxdb chronograf'.
This means next reboot they will run automatically.
Then 'sudo systemctl start influxdb chronograf' to run now rather than reboot.
Then look in the signalk appstore for the plugin 'signalk-to-influxdb'
To set that up you need to go into chronograf , on a web browser go into 10.10.10.1:8888 and set up a connection -
Defaults should be OK. And create a database >
Back in openplotter server/plugin config put the database name you just created and should be pretty much u and running.
then in chronograf view away
Thats all from memory so might have missed something, but longer to type than to do!
One more thing in influxdb settings to keep the cpu/memory use=age down >https://github.com/influxdata/influx...ment-375773775
influxdb settings are in /etc/influxdb
So much better than trying to plot in node-red.