Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,480
» Latest member: ellagould
» Forum threads: 720
» Forum posts: 4,362

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 36 Guest(s)

Latest Threads
OpenPlotter does not work...
Forum: General discussion
Last Post: paulg567
7 hours ago
» Replies: 7
» Views: 192
BMP180 Pressure Sensor
Forum: General discussion
Last Post: Sailoog
7 hours ago
» Replies: 1
» Views: 48
Install the second wifi
Forum: How do I...?
Last Post: Sailoog
7 hours ago
» Replies: 1
» Views: 65
Raspberry Pi 3 Hardware U...
Forum: General discussion
Last Post: verkerkbr
Today, 07:46 AM
» Replies: 5
» Views: 268
@mxtommy KIP instrument d...
Forum: General discussion
Last Post: PaddyB
03-17-2018, 10:26 AM
» Replies: 26
» Views: 1,721
RPI, OpenCPN and buzzer
Forum: General discussion
Last Post: Douz
03-17-2018, 08:18 AM
» Replies: 20
» Views: 505
Installing Charts
Forum: How do I...?
Last Post: Luckbert
03-17-2018, 05:31 AM
» Replies: 1
» Views: 42
action alert on pressure ...
Forum: How do I...?
Last Post: all1p
03-16-2018, 11:15 AM
» Replies: 5
» Views: 73
UDP Issues - UDP message ...
Forum: How do I...?
Last Post: PaddyB
03-16-2018, 10:19 AM
» Replies: 2
» Views: 151
Openplotter and iKommunic...
Forum: How do I...?
Last Post: holgerw
03-16-2018, 09:48 AM
» Replies: 1
» Views: 46

  Test my signal K python code?
Posted by: Lucas_A - 02-21-2018, 10:37 AM - Forum: How do I...? - Replies (2)


I have been struggling for few days to understand how everything works.

Good news is, I know a little bit how it is supposed to work now. Bad news is, I am stuck with some piece of code and I do not understand why. I hope you can help me on this.

This idea was simply to set "navigation.speedOverGround" with a short Python code and to check the result in localhost:3000/@signalk/instrumentpanel/

I used partly the code given here: https://github.com/olewsaa/Yacht-compute...lK-test.py

And the rest from SK-simulator.py

With the SK-simulator, the instrument panel is updated, with my code, nothing happens...

Any idea why??

Thanks a lot.


#!/usr/bin/env python

import time, socket

# Initiate socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
# socket.AF_INET is  Internet
# socket.SOCK_DGRAM) is  UDP

while True:

   SignalK='{"updates": [{"$source": "OPsimulation","values":[ {"path":"navigation.speedOverGround","value":"1"+}]}]}'

   sock.sendto(SignalK, ('', 55557))

  How to use signalk stream in more then one dashboard tab?
Posted by: Alpenskipper - 02-20-2018, 11:46 AM - Forum: Node Red - Replies (4)


To clean up my node mess in node red, I want to split instrument and sensor nodes on two tabs in the node red dashboard. (picture)

As soon as I use the signalkweb socket listener node (ws://localhost:3000/signalk/v1/stream ) on more then one tab, no data is transfered. When I delete the scond the signalkweb socket listener node, the data is streames again.

Is there a solution to use the same signalk data stream on several tabs?



  Beaglebone Support?
Posted by: ninjaneer - 02-19-2018, 01:37 AM - Forum: General discussion - Replies (10)

Hi guys,

I'm thinking of jumping into the OpenPlotter world, and have been looking around at different sensor options, shields, etc.  In my searching, I came across the Beaglebone Black Enhanced. In addition to the more numerous and useful IO's (and CANbus support) of the typical Beaglebone Black, it has built in wifi, more usb ports, barometer and temp sensor, and the best of all: a 6-axis accel/gyro.  This eliminates the need for several additional sensors needed for the Rpi or original BBB.  With a CAN cape, it seems like this would be an ideal base for an OpenPlotter build.

So my question is: What type of trouble would one likely run into trying to get OpenPlotter to work on a BBB running Debian?

  Viewing logged data
Posted by: PaddyB - 02-18-2018, 11:34 AM - Forum: General discussion - No Replies

I've had node red saving lots of signalk into a sqlite3 database for a while now and finally got round to looking at some way to view it - python bokeh library seems very capable! The mouse zoom works well, zoom over the x or y axis to just zoom in one direcrion & click on the legends to show/hide them. 

Data is great!  Cool


That's a 6meg file so be warned, and the web space is slow so might take a fair while to load, not too fast on the web either but hopefully gives an idea of what a little python code can do. Much faster on your local drive.

Python code - 

# import modules
from bokeh.plotting import figure, output_file, show
import sqlite3
import pandas as pd
from bokeh.io import output_notebook
import numpy as np
from bokeh.models import ColumnDataSource, CheckboxGroup, RadioGroup, Toggle
from bokeh.layouts import row

conn = sqlite3.connect('boatdata.db')
df = pd.read_sql_query("select timestamp , eng, alt, exh from engine;", conn, parse_dates=['timestamp']) #load dataframe with sql results - temperature data
df2 = pd.read_sql_query("select timestamp , SOG, COG  from navdata;", conn, parse_dates=['timestamp']) #df2 dataframe is nav data
df3 = pd.read_sql_query("select timestamp , main_batt / 1000  from LX;", conn, parse_dates=['timestamp']) #df3 battery voltage
source = ColumnDataSource(df) # create the sources for p.line
source1 = ColumnDataSource(df2)
source2 = ColumnDataSource(df3)

# output to static HTML file

# create a new plot with a title and axis labels
p = figure(title="Boat Database", x_axis_label='Time',plot_width=1200,
          plot_height=600, tools="pan, wheel_zoom,  box_zoom,hover, reset", x_axis_type='datetime')

# add a line renderer with legend and line thickness

p.line(x='timestamp', y='SOG', legend="Speed", source=source1, line_width=2, visible = False, color='red')
#p.line(x='timestamp', y='COG', legend="COG", source=source1, line_width=2, visible = False, color='red')
p.line(x='timestamp', y='main_batt / 1000', legend="Battery Voltage", source=source2, line_width=2, color='red')
p.line(x='timestamp', y='exh', legend="Exhaust Temperature", source=source, line_width=2, visible = False, color='green')
p.line(x='timestamp', y='eng', legend="Engine Temperature", source=source, line_width=2, visible = False, color='orange')
p.line(x='timestamp', y='alt', legend="Alt Temperature", source=source, line_width=2, visible = False, color='yellow')
# show the results


  beginner videos
Posted by: jim321 - 02-15-2018, 04:26 PM - Forum: Node Red - No Replies

some good node-red beginner videos.




  GPS Sticky
Posted by: abarrow - 02-14-2018, 10:56 AM - Forum: General discussion - Replies (8)

Hi all,
When I turn on OpenCPN after a few hours of inactivity, the GPS icon in the upper right says there isn't GPS NMEA data coming in. A check in of the NMEA debug confirms this.

If I start OpenPlotter and do diagnostics on the GPS USB port, I can see the data streaming from the device. I then close the diagnostic window, and the data starts appearing in OpenCPN. 

Any thoughts on how I might get the GPS data to be more consistent?

Posted by: abarrow - 02-12-2018, 09:40 AM - Forum: General discussion - No Replies

I notice that wifi-server.py doesn't make any entries for wlan1 in the interfaces file. I'm trying to configure my system as a repeater. Is it possible this is part of the problem?

Sent from my LG-K580 using Tapatalk

  sharing smartphone GPS
Posted by: topodom - 02-10-2018, 05:27 PM - Forum: How do I...? - Replies (2)

Hi everyone,

My USB GPS broke down. Fortunatly i am still working on openplotter in my house Smile.
While waiting the new device i am working on a backup solution.
I have installed the "share GPS" application on my android cellphone: that is a gpsd server.

Using the tcp protocol, the phone IP and the right port i can get the gps signal in OpenCPN

But it's not working with openPlotter.

Any idea ?

  Connecting nasa target wind sensor
Posted by: GrumpyCy - 02-10-2018, 06:01 AM - Forum: How do I...? - Replies (3)

Good morning

I'm new to all this and only used openplotter to send AIS data to my laptop so far.

I'm more trying to get data from my wind sensor but looking at the wiring I don't think it's NMEA, although my understanding is very limited so I may be wrong.

The unit is wired as follows...

Red = +5v
White = speed
Blue = direction
Black = direction also
Screen = -ve

Is there any way I can get this unit to talk to openplotter?

Any help or suggestions would be very appreciated.

Thank you


Sent from my Swift 2 using Tapatalk

Sorry, I forgot to state..

I'm using

RPi 3
OP v0.8


Sent from my Swift 2 using Tapatalk

  installing tinypilot
Posted by: seandepagnier - 02-07-2018, 01:15 PM - Forum: General discussion - Replies (2)

(02-07-2018, 10:39 AM)kabudu Wrote: Hello Sean

Thank You very much for sharing Your free Autopilot
I bought the necessary parts and am trying to figure out how to install and connect things

How do You install tinypilot ?

I tried in various ways, copying the files into the tce folder but it seems not working.

kind regards

Tinypilot is a separate linux distribution based on tinycore linux. It does not have the features of openplotter.

pypilot can run on tinypilot, openplotter, raspbian or any operating system supporting python.

Tinypilot is intended to run the autopilot and other services with more reliability as it runs completely from ram, less power consumption, and works well on pizero or pizero-w, but can run on any raspberry pi.

The tinypilot repository is here:

It contains only build scripts. You would need to execute the build scripts to build the tcz packages. I will be uploading tinypilot images in the near future.