Cruisers Forum
 


Join CruisersForum Today

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 18-11-2019, 04:40   #1051
Registered User

Join Date: Aug 2016
Location: ABC's
Boat: Prout Snowgoose 35
Posts: 1,611
Re: OpenPlotter project

Quote:
Originally Posted by Jubilee39 View Post
I am trying to set up remote monitoring on the boat and build on the openplotter. Victron has software that will read their Smart solar controller on a Pi so they say but several things I don't understand. The instructions have you downloading and unzipping to an SD card for the Pi. I want to just put it as an additional program on the Pi and still have open plotter, Can I get pointed to instruction on how to do this? Secondly the link shows many files https://updates.victronenergy.com/fe.../raspberrypi2/ . How can I determine which file is needed
It's an operating system in itself, you cannot run it from within your current Pi installation unless you use a virtual machine which I don't think would work well on a Pi.

It's like trying to run MacOS inside of Microsoft Windows.
__________________

mikedefieslife is offline   Reply With Quote
Old 26-11-2019, 11:11   #1052
Registered User

Join Date: Jun 2018
Posts: 6
Re: OpenPlotter project

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.
__________________

sailwing is offline   Reply With Quote
Old 26-11-2019, 12:40   #1053
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,031
Re: OpenPlotter project

Quote:
Originally Posted by sailwing View Post
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.

HTH
conachair is offline   Reply With Quote
Old 26-11-2019, 15:41   #1054
Registered User

Join Date: Jun 2018
Posts: 6
Re: OpenPlotter project

Thank you Conachair. I will certainly investigate.

However, is there a way to reduce sampling frequency?
sailwing is offline   Reply With Quote
Old 26-11-2019, 17:20   #1055
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,031
Re: OpenPlotter project

Quote:
Originally Posted by sailwing View Post
However, is there a way to reduce sampling frequency?
In the signalk app, also you can set the database to just save for a week or whatever so it doesn't completely fill the hard drive.

plotting is great, see trends you'd never hope to spot just looking at the numbers.

conachair is offline   Reply With Quote
Old 04-12-2019, 04:34   #1056
Registered User

Join Date: Jun 2010
Location: On board in Corfu for now
Boat: Corbin Ketch 39ft
Posts: 234
Re: OpenPlotter project

Are the SPI tabs disabled? I am trying to set up an MCP3008 Analog to digital converter and cannot seem to make it work after two different ways of wiring. I want to interface a 5 channel hall effect board to monitor charging sources
__________________
Joe Bayne
Jubilee
Mediteranean
Jubilee39 is offline   Reply With Quote
Old 05-12-2019, 00:41   #1057
Registered User

Join Date: May 2013
Location: Somewhere between Thailand, UK, Portugal
Boat: 78ft ex racing catamaran
Posts: 99
Re: OpenPlotter project

Quote:
Originally Posted by sailwing View Post
Thank you Conachair. I will certainly investigate.

However, is there a way to reduce sampling frequency?

Although the solution proposed by Conachair looks pretty neat - it is super simple to reduce the sampling frequency in Node-Red. If an Inject node is triggering reading the value from the GPIO for example then alter the frequency in the Inject node. Another method is to insert a Delay node (from the function list) into the message flow and set the delay to whatever frequency is required and ensure 'drop intermediate messages' is checked.
__________________

damianham is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want To Buy: Project Boat: Engineless 35'ish blue water cruiser project Max Sail Classifieds Archive 52 24-03-2013 12:27
Greetings + my project Marco Meets & Greets 8 27-02-2009 17:28
Major Project: What is the best way to organize our discussions? Andy R Forum Tech Support & Site Help 6 04-04-2006 14:21
Our ongoing project - Offshore 41 By Invitation Construction, Maintenance & Refit 7 04-12-2005 07:42
Portal sailing website project CaptainTom Meets & Greets 2 20-03-2003 07:50

Advertise Here


All times are GMT -7. The time now is 02:37.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.