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,189
» Latest member: sitesurfer
» Forum threads: 1,054
» Forum posts: 6,998

Full Statistics

Online Users
There are currently 64 online users.
» 2 Member(s) | 60 Guest(s)
Bing, Google, Glennfo, snowboarder

Latest Threads
Kindle Paperwhite as KIP ...
Forum: General discussion
Last Post: chech
5 hours ago
» Replies: 18
» Views: 89
FloatHub
Forum: General discussion
Last Post: tkurki
Yesterday, 02:26 PM
» Replies: 3
» Views: 21
12 Volt GPS to Raspberry ...
Forum: How do I...?
Last Post: e-sailing
Yesterday, 09:56 AM
» Replies: 1
» Views: 7
MDNS for Signal K
Forum: Feature Requests
Last Post: e-sailing
11-15-2018, 06:09 PM
» Replies: 1
» Views: 6
Am I dreaming or is this ...
Forum: General discussion
Last Post: tkurki
11-15-2018, 02:37 PM
» Replies: 2
» Views: 22
vnh20sp30
Forum: General discussion
Last Post: jim321
11-15-2018, 01:07 PM
» Replies: 8
» Views: 29
Install the second wifi
Forum: How do I...?
Last Post: JeanRCA
11-15-2018, 02:50 AM
» Replies: 10
» Views: 1,272
New Case: Geekworm X820 H...
Forum: General discussion
Last Post: abarrow
11-14-2018, 09:48 AM
» Replies: 4
» Views: 11
Hooking Up An MPU Sensor
Forum: How do I...?
Last Post: happybike
11-13-2018, 11:07 PM
» Replies: 0
» Views: 2
Hooking Up an MPU Sensor
Forum: How do I...?
Last Post: happybike
11-13-2018, 10:57 PM
» Replies: 0
» Views: 2

 
  12 Volt GPS to Raspberry pi
Posted by: jodi001 - Yesterday, 07:48 AM - Forum: How do I...? - Replies (1)

I have an old GPS antenna installed on my boat that I have got some readnings from to my VHF, but only when it is supplied with 12 volts. The antenna is a Navman 1220a.

I have tried power the antenna with 5 volts from a USB to serial adapter and get the readings to Raspberry pi and opencpn with no luck. I also tried to supply the antenna with 12 volts and via a voltage divider connect the NMEA out to my USB adapter, but no readnings. 

Are there a way to get my old antenna that seems to need 12 volts to operate to communicate with my Raspberry pi and opencpn or do I have to get a USB GPS?

Regards,

Joakim


  FloatHub
Posted by: Havnjero - 11-14-2018, 03:34 PM - Forum: General discussion - Replies (3)

has anyone successfully uploaded content to AIShub, MarineTraffic, or FloatHub through Kplex or anything else on an openplotter rpi?


  Am I dreaming or is this really possible?
Posted by: gary.cantigneaux - 11-14-2018, 12:28 PM - Forum: General discussion - Replies (2)

Dear All,

I hope that I am posting this message to the right forum, I am basically trying to understand if open plotter can do the following without too much difficulties (I already use the raspberry for some domotics at home)

1) archive and display on a Web page temperature and humidity data from some sort of sensors, if yes which One?
2) import and send nmea1083 and 2000 to an ipad for Inavx?
3) send aïs data with the moitessier hat?
4) I presume that I will need some sort of double wifi antenna if I want to emit to a remote server but also send data to devices onboard such as an ipad?

Thanks in advance but I have difficulties to see if I can do all of this with this package

Gary




Envoyé de mon iPad en utilisant Tapatalk


  Hooking Up An MPU Sensor
Posted by: happybike - 11-13-2018, 11:07 PM - Forum: How do I...? - No Replies

Running OpenPlotter 0.17.1 stable. Is this the latest version?

I have a BME-280 and an MPU-9265. Running the i2cdetect command detects them on addresses 76 and 68 respectively. OpenPlotter detects them on those addresses as well. However it detects the MPU as a MPU-9255. It also detects a random MS-5611 that I'm trying to figure out why. I can add the BME with the "add/update sensor" dropdown menu, but the MPU is not listed under the dropdown. Is there a way to manually add it? Thanks!


  Hooking Up an MPU Sensor
Posted by: happybike - 11-13-2018, 10:57 PM - Forum: How do I...? - No Replies

I have a BME-280 and an MPU-9265. Running the i2cdetect command detects the BME at address 76 and the MPU at address 68. OpenPlotter detects a BME-280 and a MS5611 at address 76, and a MPU-9255 at address 68. I can successfully add the BME with the "add/update sensor" dropdown, but the MPU is not listed in the dropdown as one of the sensors. Is there a way to manually add it?


  MDNS for Signal K
Posted by: sbender - 11-13-2018, 11:10 AM - Forum: Feature Requests - Replies (1)

It would be great if you installed the needed software so that MDNS can be used to discover the Signal K server.



apt-get install libnss-mdns avahi-utils libavahi-compat-libdnssd-dev

-=Scott


  signalk-node-red on openplotter 1.2.0 alpha
Posted by: theshade - 11-12-2018, 06:50 PM - Forum: Node Red - Replies (6)

Dear All,

Sorry again for the newbie question. Following my failed attempts to send reliably a single action/trigger to mqtt.. (see my other post thread) I have installed signalk-node-red and node-red-embedded.

Both seem to have worked well and I can see the tool palette and start building my flows.

Unfortunately this is what happens and the node red server keeps on crashing and restarting:

12 Nov 23:01:26 - [info] Starting flows
12 Nov 23:01:27 - [error] [signalk-on-delta:a8191a23.a5dd58] TypeError: Cannot read property 'on' of undefined
   ---- this comes from the delta node 
12 Nov 23:01:27 - [info] Started flows
12 Nov 23:01:27 - [info] [mqtt-broker:OPmqtt] Connected to broker: mqtt://10.10.10.1:1883
12 Nov 23:01:32 - [red] Uncaught Exception:
12 Nov 23:01:32 - TypeError: Cannot read property 'subscribe' of undefined
    ---- this is from the suscribe node
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Unit entered failed state.
nodered.service: Failed with result 'exit-code'.
nodered.service: Service hold-off time over, scheduling restart.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.

I tried them individually and only the suscription crashes node-red entirely the other just fails at sending anything...

Node-red itself seems to work fine because the ping results is sent to mqtt no problem.

but as soon as I deploy any of the nodered signalk tools I get errors.

going to the signalK plugin config I turned on node-red to active as well as logging (but don't know where the log file is...)

In the signalk-suscribe node I simply put the path as: navigation.datetime but what ever I put it's failing.

But I don't really know if it's running:

http://localhost:3000/plugins/signalk-node-red/redApi/ui/
returns
Cannot GET /plugins/signalk-node-red/redApi/ui/

http://192.168.178.121:3000/plugins/signalk-node-red/
returns:
{"enabled":true,"id":"signalk-node-red","name":"Node Red","version":"2.8.0"}


12 Nov 23:22:20 - [info] Node-RED version: v0.19.4
12 Nov 23:22:20 - [info] Node.js  version: v8.12.0
12 Nov 23:22:20 - [info] Linux 4.14.70-v7+ arm LE
12 Nov 23:22:22 - [info] Loading palette nodes
12 Nov 23:22:29 - [info] Dashboard version 2.9.3 started at /ui
12 Nov 23:22:31 - [warn] ------------------------------------------------------
12 Nov 23:22:31 - [warn] [node-red-node-pi-sense-hat/sensehat] Error: Can't find Sense HAT python libraries. Run sudo apt-get install sense-hat
12 Nov 23:22:31 - [warn] ------------------------------------------------------
12 Nov 23:22:31 - [info] Settings file  : /home/pi/.node-red/settings.js
12 Nov 23:22:31 - [info] Context store  : 'default' [module=memory]
12 Nov 23:22:31 - [info] User directory : /home/pi/.node-red
12 Nov 23:22:31 - [warn] Projects disabled : editorTheme.projects.enabled=false
12 Nov 23:22:31 - [info] Flows file     : /home/pi/.node-red/flows_openplotter.json
12 Nov 23:22:31 - [info] Server now running at http://127.0.0.1:1880/
12 Nov 23:22:31 - [warn]


I tired to uninstall the plugins and reinstall them from inside SignalK dashboard but can't find the option do deinstall plugins..
So I tried to [color=rgba(0, 0, 0, 0.8)]npm i [/color][color=rgba(0, 0, 0, 0.8)]@signalk/signalk-node-red [/color]but that didn't do much... also git cloned it  and tried a few other things at my level of understanding with no success... still no signalk in mqtt...

Any hint will be greatly appreciated !


  Option to set ttl for outgoing packets when connection shared
Posted by: stripydog - 11-11-2018, 12:16 PM - Forum: Feature Requests - No Replies

In a recent discussion on the PBO forum a couple of users suggested that openplotter's access point wouldn't work in marinas which actively detected and denied connection sharing. Neither knew how this was done and it's not something I've personally encountered but all I can think of is that the places they were talking about blocked packets with a ttl of less than 64 on the assumption that they had passed through a router.

So I don't know if this is even a good idea or if anyone wants it (I don't) but just in case someone asks in future this should be able to implement this by adding an appropriate option and then conditionally (if the option set) appending to the iptables config in wifi_server.py:
iptables -t mangle -A POSTROUTING -o share -j TTL --ttl-set 64
(or make the ttl value the parameter the user supplies)

This sets outgoing packets to have a ttl of 64 which should mean that next hop devices won't be able to distinguish packets sent out by the pi itself and those routed through it.

If I thought this was a great idea I would have submitted a pull request but I include it here only in case anyone ever asks


  New Case: Geekworm X820 Hard Disk interface and case
Posted by: abarrow - 11-11-2018, 09:40 AM - Forum: General discussion - Replies (4)

For me, enclosures are the most frustrating part of building electronic projects. I've been searching for a commercially made case that will take my PI, and SSD. 

I just got this from Amazon:
https://www.amazon.com/gp/product/B073CGQD9C
https://www.amazon.com/gp/product/B07GRZRW7J

It's a nice metal case and matching board that provides power and a SATA interface for a standard hard disk or SSD. So far, I'm really impressed - it's very solid, provides a nice independently-powered hard disk interface, and gives access to all the ports, including the provision of an additional USB 5V power port. It has an integral power switch that will power the entire system down if pressed for 2 seconds. I'm thinking there might be a way to hack the power board to also provide a shutdown of the RPI as well. The power for the entire system is 5V on a barrel connector, which I much prefer over the micro-USB connector on the PI. Internally in the case, the PI is powered by pins 4 and 6 on the GPIO connector. The SATA interface is capable of USB 3.0 when disconnected from the PI and connected via an included separate USB cable. Useful when loading large amounts of data to the disk.

I tried putting my dAISy AIS hat on the PI, and it does fit in the case if the case fan is removed. I'm looking at ways I might re-mount the case fan somewhere else in the case. I also think I might be able to drill another hole in the case to bring out the antenna connector for AIS, making a nice, compact package.

What I have lost from my previous case is the ability to power the system with 12V, and since the case is metal, I can no longer mount my I2C accelerometer inside. Still, I think I prefer this case, as it's smaller, cooler, and perhaps a bit more rugged than my previous configuration.


  Solar panel monitor
Posted by: Bojayne@yahoo.com - 11-11-2018, 05:31 AM - Forum: Feature Requests - No Replies

I have a victron smart solar with VEdirect to USB cable.  I found a script that is supposed to be used on the Raspberry but I am completely new to this system and cannot figure out how to integrate it.  I would like to use it for remote monitoring of battery state. There are several alternatives listed in Victron Open source page.
https://github.com/SignalK/vedirect-serial-usb