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.

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

Username/Email:
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 2,391
» Latest member: hostgeek1
» Forum threads: 1,109
» Forum posts: 7,339

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 46 Guest(s)
Bing, Google

Latest Threads
Send all signalK event to...
Forum: How do I...?
Last Post: pkernevez
3 hours ago
» Replies: 4
» Views: 24
MPU9250 with ESP8266
Forum: General discussion
Last Post: ddelorme
5 hours ago
» Replies: 3
» Views: 15
5V Power Converters
Forum: General discussion
Last Post: ddelorme
5 hours ago
» Replies: 10
» Views: 43
Connecting mpu-9255 probl...
Forum: How do I...?
Last Post: seandepagnier
6 hours ago
» Replies: 1
» Views: 4
Limit switch
Forum: General discussion
Last Post: ddelorme
6 hours ago
» Replies: 2
» Views: 7
... get my own Can USB Co...
Forum: How do I...?
Last Post: first317
10 hours ago
» Replies: 2
» Views: 1,805
Passive Radar.
Forum: General discussion
Last Post: festeraeb
Today, 01:28 AM
» Replies: 3
» Views: 20
CAN-USB Availability
Forum: General discussion
Last Post: dave.ritten@gmail.com
Yesterday, 10:59 PM
» Replies: 0
» Views: 3
Problem with OpenCPN usin...
Forum: How do I...?
Last Post: Stucko65
Yesterday, 03:48 PM
» Replies: 8
» Views: 3,396
Also send I2C sensor data...
Forum: Node Red
Last Post: ddelorme
Yesterday, 03:46 PM
» Replies: 4
» Views: 29

 
  Missing Tabs
Posted by: sven98de - 12-20-2018, 12:23 PM - Forum: General discussion - Replies (5)

Hi,
I've installed openplotter 1.0.0 on a Raspberry 2 plus and it works so far, but when I compare the openplotter "TABs" in my installation with the sreenshots in the documentation, there are some differences. The following Tabs do not exsist:
USB manager, NMEA0183, Compass

I've used this documentation:
https://sailoog.gitbooks.io/openplotter-...-tabs.html

Any ideas ?

Sven


  IOB
Posted by: ddelorme - 12-18-2018, 07:25 PM - Forum: General discussion - Replies (3)

I have been working on a few projects as of late... and it got me thinking...
 Internet of boats
A system that would streamline the development and deployment of boat devices.
 Right now I have to set the sensor up, set timing of messages, internet/communication, set up who and what i am sending, and receive messages from and debugging. Not a hard job but i would rather do other things.

Openplotter, SignalK and Kplex do an awesome job of dealing with the data once i get it there.

MQTT sounds interesting but then i am still converting the data on the openplotter system. I would like to use what ever processing power that i have on my device and take the load off the openplotter device.

NMEA 2000 has a nice system simple wiring input and output devices but it is closed..

 We need some dumbish output devices. That can parse the SignalK stream and output data on a screen.
I am waiting for a small display so i can try to make a device.

A common bus if that is the right term like NMEA200  power and data lines together with the ability to tap input or output devices into it. So my RPI does not look like a multi legged monster.

I would be nice just to deal with one connector to the RPI that would supply power plus would connect it to the back bone.

Having a simple, tough, locking and waterproof 4 pin connection is a real plus.  Dealing with wires in and out of device that needs to operate in a wet environment is a big design consideration.

Any Ideas? Or is just dumb?


  i2c Sensors Breaking OpenPlotter
Posted by: happybike - 12-17-2018, 01:52 AM - Forum: How do I...? - Replies (3)

Hey All,

I got two i2c sensors I'm trying to hook up, but they keep breaking OpenPlotter after I configure them. Initially it works, but once I reboot, OpenPlotter refuses to open. When I try to launch OpenPlotter, I get an error message saying "SignalK doesn't work. OpenPlotter will exit because it wasn't able to start SignalK." I tried reinstalling the OS twice, and it keeps doing the same thing every time.

Here is the error log from the terminal. Any ideas?


Code:
Signal K starting
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
ReferenceError: suboptions is not defined
   at Object.signalKInput [as SignalK] (/home/pi/.config/signalk-server-node/providers/simple.js:166:44)
   at new Simple (/home/pi/.config/signalk-server-node/providers/simple.js:40:34)
   at createPipeElement (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:64:14)
   at result.pipeElements.providerConfig.pipeElements.reduce (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:26:23)
   at Array.reduce (native)
   at createPipedProvider (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:24:49)
   at app.config.settings.pipedProviders.reduce (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:75:23)
   at Array.reduce (native)
   at Object.startProviders [as start] (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:73:50)
   at /home/pi/.config/signalk-server-node/lib/index.js:158:56
   at createServer (/home/pi/.config/signalk-server-node/lib/index.js:206:3)
   at Promise (/home/pi/.config/signalk-server-node/lib/index.js:143:5)
   at Server.start (/home/pi/.config/signalk-server-node/lib/index.js:142:10)
   at Object.<anonymous> (/home/pi/.config/signalk-server-node/bin/signalk-server:22:8)
   at Module._compile (module.js:577:32)
   at Object.Module._extensions..js (module.js:586:10)
Signal K starting
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
ReferenceError: suboptions is not defined
   at Object.signalKInput [as SignalK] (/home/pi/.config/signalk-server-node/providers/simple.js:166:44)
   at new Simple (/home/pi/.config/signalk-server-node/providers/simple.js:40:34)
   at createPipeElement (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:64:14)
   at result.pipeElements.providerConfig.pipeElements.reduce (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:26:23)
   at Array.reduce (native)
   at createPipedProvider (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:24:49)
   at app.config.settings.pipedProviders.reduce (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:75:23)
   at Array.reduce (native)
   at Object.startProviders [as start] (/home/pi/.config/signalk-server-node/lib/pipedproviders.js:73:50)
   at /home/pi/.config/signalk-server-node/lib/index.js:158:56
   at createServer (/home/pi/.config/signalk-server-node/lib/index.js:206:3)
   at Promise (/home/pi/.config/signalk-server-node/lib/index.js:143:5)
   at Server.start (/home/pi/.config/signalk-server-node/lib/index.js:142:10)
   at Object.<anonymous> (/home/pi/.config/signalk-server-node/bin/signalk-server:22:8)
   at Module._compile (module.js:577:32)
   at Object.Module._extensions..js (module.js:586:10)
Traceback (most recent call last):
 File "/home/pi/.config/openplotter/openplotter", line 3539, in <module>
   MainFrame().Show()
 File "/home/pi/.config/openplotter/openplotter", line 224, in __init__
   self.page_sk()
 File "/home/pi/.config/openplotter/openplotter", line 2998, in page_sk
   self.close()
AttributeError: 'MainFrame' object has no attribute 'close'


  How to turn off WIFI and Bluetooth?
Posted by: Ola_H - 12-12-2018, 09:47 AM - Forum: How do I...? - Replies (3)

Hi

I would like the open plotter raspberry Pi to be completely silent, no radio transmission at al.
How do I do?
I use the RPI and the Moitessier hat

best wishes

Ola


  Nextion Displays
Posted by: abarrow - 12-10-2018, 10:58 AM - Forum: General discussion - Replies (1)

Hi all,
I just learned about Nextion Displays - LCD screens up to 7 inches (as small as 2.5 inches) that support touch and include an onboard processor to do the hard GUI work, with only four wires to the PI for control and power.

Has anyone tried one of these with OpenPlotter? They are more expensive than other displays, but they seem very nice looking for ease of use.

https://www.itead.cc/display/nextion.html

Andy


  Best way to send message to esp32 to change pin state
Posted by: ddelorme - 12-09-2018, 11:05 AM - Forum: How I did it - Replies (7)

I have a esp32 set up as a wifi device that sends Wind data from a davis 6410 to openplotter via port 10110.

I want write a routine that polls openplotter for a message to change the pin state on the esp32.

Remote control of light or lights attached to the ESP32.

In my old system I sent a message to a nano when I used a switch to set a pin high on the RPI.
This required python code to send and request data on the RPI. The nano, then base on this would set the pin High and turn the light on. I used NRF24l to transmit data.
The new system uses wifi and writes to the openplotter port directly. I don't need any code to run on the openplotter side.

My options are:
1. have the esp32 use mqqt.
2. python code to send current switch setting from pi
3. Use openplotter GPIO and have the ESP32 read the signalK value from the SignalK server.
4. Suggestions?????


Photo Speed-Data directly from Sensor
Posted by: michael.trilling@gmail.com - 12-08-2018, 02:33 PM - Forum: How I did it - Replies (5)

Hi there,

I'm a total newbie to this whole think. But now - after some weeks of learning - I've made myself a OP Sailcomputer.
The whole thing sits in a watertight case, having a step up/step down converter for power and a USB-Hub for internal
connections.

Photos here:

https://drive.google.com/open?id=1_aU9Ev...0wGgJ51YPA

https://drive.google.com/open?id=1hwZKbc...vcTAaL8unw



There is a USB-Plug, a Ethernet plug and a HDMI plug at the side of the case.
Here I have Internet conection over the Ethernet, coming from a Ubiquiti Bullet M2 and a Antenne which connects to harbor wifi.
The HDMI plugs in my monitor on board and the USB-plug is used to connect via another hub the GPS, AIS and the AP.
Cirrently I'm waiting for Jean's weather sensor and his AP-controller for steering my Simrad TP22.

Besides Monitor and Keybord at the chart table, I have a 10" tablet in the cockpit under the sprayhood with a VNC-Viewer.
Also I have a small mobile in a arm pouch, on which I have the polar data, the ideal course to the appearent wind and all tactical data.
I use sailinstruments and the nke app.

One of my problems was, how to get the data from my old speed sensor into the system. The old Bidata ST30 is working with seatalk and my first idea was to use a seatalk to nmea converter. I found some code on the internet I had to alter a bit and programmed my arduino, but it was not working out.
Then, instead of buying a converter cable for 100 bucks, I thought of getting one step deeper into the system.
The speed sensor is a hall sensor.Three wires. You put voltage and ground in and recieve a signal in the same voltage on the third line whenever the little wheel in the water spins.
Luckily I found a ready to use C-scetch for the arduino that reads this signal and makes a nmea string from it:

http://www.holdentechnology.com/2017/09/...eedometer/

Easy to install on the arduino. Only thing left was the issue of the ST30 using 12V and the arduino only working with 3,3V-5,5V. So I used a selfmade voltage devider, that gets everything from 11v to 14V and devides it down by 3.

Now I have a simple Y-split in the signal cable and the data is still on the display of the Bidata ST30 and additionaly as nmea data in the OP.
Works fine when my wife is simulating the water current and spins the wheel under the boat. ;-)) Can't wait to use it in the water and calibrate it. 

Its not my invention. All credits go to Mr Mike Holden and its code. But maybe it will help anybody here with the same problem.


Video rescue pilot
Posted by: capnkeith - 12-05-2018, 07:34 PM - Forum: General discussion - Replies (1)

Any thoughts about a custom pilot designed to intercept and retrieve a MOB with AIS transmitter?


Exclamation Opencpn and Moitessier Hat
Posted by: Albatros - 12-05-2018, 07:26 AM - Forum: How do I...? - Replies (1)

Dear All,
 
I recently set up a Raspi with openplotter, opencpn and the Moitessier Hat. It worked as it should für several days. By mistake I shut down openplotter in a rude way and obviously the opencpn config file got corrupt. Openplotter started with default settings without receiviong any data from the hat. The hat itself seems to work, I can check the date within die openplotter config pages.
 
I think that in the setup of opencpn the proper connection für receiving the hat data is missing causing a „blind“ opencpn.
 
Can someone please post the working connection setup for opencpn to receive the data?!
 
I already tried to reinstall the actual hat firmware hoping that a new entry in the config file is written, but I failed. 

Thanks for your help!

Oliver
SY Albatros


  Update 0.17 to 1.2
Posted by: Didier B - 12-05-2018, 06:13 AM - Forum: How do I...? - Replies (3)

My (backup) config is still built on OP 0.17. Is there a way to UPDATE to latest 1.2 Huh
Starting from a new downloaded 1.0 will probably kill my Oesenc chart set ... Angry