AIS integration & Displays

I did get SignalK a few months ago but did not yet have the time to fiddle around with it. Are you using it in any applications on your boat?

Main ones day to day are the KIP dashboard and the Influxdb plugin. KIP just works and looks lovely -

heDzSzg.png


Saving to a database and viewing so easily is gold dust for things like the batteries >
28ykN9I.png


My setup is a little more complex than just a Pi as it ended up actually easier to route the sensors back to a ESP8266 board then wifi the data as signalk to the Pi, 3 DS18B20 thermometers on the engine/alt/exhaust, BMP280 barometer, ADS1115 4 channel voltmeter and INA219 piggy backed across the battery monitor shunt for current. All very accurate.
Also a great addition was a hifiberry hifi amp which piggy backs onto the Pi for music/streaming radio/podcasts etc. All controllable form anywhere onboard with a tablet/laptop/phone. Works great. :cool:
 
Main ones day to day are the KIP dashboard and the Influxdb plugin. KIP just works and looks lovely -

heDzSzg.png


Saving to a database and viewing so easily is gold dust for things like the batteries >
28ykN9I.png


My setup is a little more complex than just a Pi as it ended up actually easier to route the sensors back to a ESP8266 board then wifi the data as signalk to the Pi, 3 DS18B20 thermometers on the engine/alt/exhaust, BMP280 barometer, ADS1115 4 channel voltmeter and INA219 piggy backed across the battery monitor shunt for current. All very accurate.
Also a great addition was a hifiberry hifi amp which piggy backs onto the Pi for music/streaming radio/podcasts etc. All controllable form anywhere onboard with a tablet/laptop/phone. Works great. :cool:


Yeah, I like that setup. I was thinking of routing it all to a small monitor mounted on a technical panel. I’m already designing an instrument panel for Oddity and I’d like to see what I can find as solutions for the sensor array inside the boat. I like that monitoring overtime especially for the batteries and some other crucial applications that exert high demands on the power.
 
Hi,
I really appreciate this post as this is exactly what i am trying to do (boat monitoring). Does any of you has the patience to help me to get open plotter connected to InfluxDB? first i presume that i need to install it? but i cannot find a way to install it on my Raspberry Pi 3B+?
Thanks in advance for your help
 
Hi,
I really appreciate this post as this is exactly what i am trying to do (boat monitoring). Does any of you has the patience to help me to get open plotter connected to InfluxDB? first i presume that i need to install it? but i cannot find a way to install it on my Raspberry Pi 3B+?
Thanks in advance for your help

Not that hard, doing it right now on a fresh openplotter install on a Rpi3B+

https://www.influxdata.com/blog/running-the-tick-stack-on-a-raspberry-pi/

So open a terminal (accessories menu) then copy & paste these one line at a time & hit return each time >
Code:
sudo apt-get update
sudo apt-get upgrade #(might not actually need this one but good idea to get all the software up to date)
sudo apt-get install curl
sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update
sudo apt-get install influxdb
sudo apt-get install chronograf
Hopefully you should not get any errors. Then in a browser go to http://10.10.10.1:8888 (assuming you're on the Pi or logged on to the openplotter AP) and you should be in chronograf which is a tasty viewer/plot creator for your all your lovely data :cool:

Get that up and running then we can set up signalk.

Edit - there is a change you need to do in the config file up otherwise it eats CPU time so.terminal again >.
sudo nano /etc/influxdb/influxdb.conf

This opens a basic word processor called nano, so arrow or page down (no mouse) and find the lines
Code:
[COLOR=#24292E][FONT=SFMono-Regular][monitor]
[/FONT][/COLOR][COLOR=#24292E][FONT=SFMono-Regular]   store-enabled = true[/FONT][/COLOR]
then change true to false. The press the 'x' key to exit, it will ask if you want to save so press 'y' then enter to exit.


https://github.com/influxdata/influxdb/issues/9475#issuecomment-375773775
 
Last edited:
Not that hard, doing it right now on a fresh openplotter install on a Rpi3B+

https://www.influxdata.com/blog/running-the-tick-stack-on-a-raspberry-pi/

So open a terminal (accessories menu) then copy & paste these one line at a time & hit return each time >
Code:
sudo apt-get update
sudo apt-get upgrade #(might not actually need this one but good idea to get all the software up to date)
sudo apt-get install curl
sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update
sudo apt-get install influxdb
sudo apt-get install chronograf
Hopefully you should not get any errors. Then in a browser go to http://10.10.10.1:8888 (assuming you're on the Pi or logged on to the openplotter AP) and you should be in chronograf which is a tasty viewer/plot creator for your all your lovely data :cool:

Get that up and running then we can set up signalk.

Edit - there is a change you need to do in the config file up otherwise it eats CPU time so.terminal again >.
sudo nano /etc/influxdb/influxdb.conf

This opens a basic word processor called nano, so arrow or page down (no mouse) and find the lines
Code:
[COLOR=#24292E][FONT=SFMono-Regular][monitor]
[/FONT][/COLOR][COLOR=#24292E][FONT=SFMono-Regular]   store-enabled = true[/FONT][/COLOR]
then change true to false. The press the 'x' key to exit, it will ask if you want to save so press 'y' then enter to exit.


https://github.com/influxdata/influxdb/issues/9475#issuecomment-375773775

Can't wait to start "playing" with it.
 
And top tip none of us need reminding of........

in accessories menu - sd card backup

Just lost a few hours work from last night doing a system upgrade which crashed without backing up beforehand.....

DOH

Oh well :)
 
And another top linux tip, the man pages for the bash commands aren't exactly obvious when starting out, try this >

https://tldr.sh/

Install in a terminal with > sudo npm install -g tldr

Then tldr and the command, so tldr apt-get >
Debian and Ubuntu package management utility. Search for packages using apt-cache.


- Update the list of available packages and versions (it's recommended to run this before other apt-get commands):
apt-get update


- Install a package, or update it to the latest available version:
apt-get install package


- Remove a package:
apt-get remove package


- Upgrade all installed packages to their newest available versions:
apt-get upgrade


- Remove all packages that are no longer needed:
apt-get autoremove


- Upgrade installed packages (like upgrade), but remove obsolete packages and install additional packages to meet new dependencies:
apt-get dist-upgrade




See also: apt-cache

Very :cool:
 
If you go offshore short handed you must have AIS. Good thinking so far. I single hand a lot. Last summer to the Azores and back. Ten days each way. I had already spent real money to get a chart plotter for coastal work and put this in the cockpit. Now my true nature came out and I bought a cheapo fire tablet 10 for the chart table to remotely control the chart plotter (because I’m not going outside to faff about with navigation when I can sit at the chart table). Then I bought a QUARK AIS because it’s cheap and so am I. Worked brilliantly for ten days each way in rain and shine. The cheap tablet was a better screen than the £££ plotter. Conclusion. Get a cheaper plotter than I did. Other conclusion: get a transponder AIS not a receiver only. Full report see www.lesweatheritt.com
 
If you go offshore short handed you must have AIS. Good thinking so far. I single hand a lot. Last summer to the Azores and back. Ten days each way. I had already spent real money to get a chart plotter for coastal work and put this in the cockpit. Now my true nature came out and I bought a cheapo fire tablet 10 for the chart table to remotely control the chart plotter (because I’m not going outside to faff about with navigation when I can sit at the chart table). Then I bought a QUARK AIS because it’s cheap and so am I. Worked brilliantly for ten days each way in rain and shine. The cheap tablet was a better screen than the £££ plotter. Conclusion. Get a cheaper plotter than I did. Other conclusion: get a transponder AIS not a receiver only. Full report see www.lesweatheritt.com

Yeah most of us here are the same, were cheap and Geeky. No plotter here. Laptop on cabin and tablet with Navionics, but that’s going to change for OpenCPN with AIS overlay and Google Earth imaging.
 
Yeah most of us here are the same, were cheap and Geeky. No plotter here. Laptop on cabin and tablet with Navionics, but that’s going to change for OpenCPN with AIS overlay and Google Earth imaging.[/QUOTE]

You're going to run those on an android tablet in the cockpit ?
 
Top