Tuesday, 26 June 2018

AIS reciever for Raspberry Pi

This post covers the setup for a AIS, dual channel, receiver for Raspberry with systemd autostart.

This setup is used in the NMEA WiFi project.

I'm using the RTL-SDR dongle V3 with almost zero temperature drift

If You want to start with a fresh Raspberry installation here is a post using Mac.

The actual AIS software is RTL-AIS which connects to the dongle and outputs NMEA0183(N1) VDM sentences.

Tuesday, 19 June 2018

Davis WeatherLink upgrade to 2.0

During summer 2018 Davis are updating WeatherLink to 2.0 (WL2). So if You have registered devices before 2017-11-28 You must migrate.

This update is changing their website, as shown in picture, and API.

Their API documentation is found here

The following information is sent out in 2018-06 to users who still haven't upgraded to WL2

Monday, 30 April 2018

OpenPlotter, updating SignalK Node server


Updated 2018-06-07!

The SignalK server(SK), the engine in OpenPlotter(OP) is coming with new releases pretty often and if You want to update, having used OpenPlotter RPI V0.10.0 NOOBS, the following instructions will help You.

I really recommend to start all over with a new fresh installation with the new OP V1.x.x.

The upgrade info is picked from here and here.


Upgrade the RPi OS in a terminal window or via ssh

Wednesday, 18 April 2018

TP-Link Deco install with ethernet

TP-Link Deco is a smart Mesh system that extends Your WiFi.

It is pretty easy to install but there is no direct information in the install app, Apple or Android, about how to interconnect the Decos with ethernet. 

Especially if You must keep the old Router.

Connecting via ethernet is faster and more stable and also necessary if the Decos WiFi cant reach each other.

Here is additional information how to set it up with a ethernet backhaul and if You must keep the existing router. Since it creates a separate network with the first installed Deco unit as a NEW router all the additional Decos must be connected to this first Deco. 
Nothing else !!

Tuesday, 17 April 2018

Boat navigation network


In a former post a I presented our approach to mix a modern NMEA 2000(N2) network with the older Raymarine ST 1 network, installed 2006.

During the Years it has grown and been added with new functions. The pictures to the right is the actual layout.

The first add on was a N2 GPS described here.

Saturday, 24 March 2018

NMEA WiFi gateway

The WilhelmSK app
I have searched for a solution transmitting the NMEA data, from the navigation network, via WiFi, to for example iSailor or other Tablet applications.

One way is OpenPlotter and another way could be SignalK(SK). Both applications use the Raspberry Pi(RPi).

Both also uses SK as the "engine", but using just SK will give You the stripped version without additional software.

If You want to buy a complete and ready hardware the iKommunicate(iK) will do the same job. It's also ships with both NMEA0183(N1) and NMEA2000(N2) interfaces and is N2 Certified.

The admin user interface for setup of SK has really improved in the last time so it is pretty easy to setup.

Wednesday, 7 March 2018

Weather34, the production version

I have got some questions which version we are using for the moment at the site vader.domsten.nu 

The version is from 2017-11-28 and You can get the whole site code from here.

Please note that I have done some modifications so if You want the original code please rename 


menu.php
homeindoor.php
rainfall.php
forecast/forecast10.php

to something and then rename 

menu_bup.php => menu.php
homeindoor_bup.php => homeindoor.php
rainfall_bup.php => rainfall.php
forecast/forecast10_bup.php => forecast/forecast10.php

Update "cumulusdata.php" with Your credentials for Weather link and setup with URL http://pws01/pws/easyweathersetup.php 

For details check this post

Monday, 22 January 2018

ViewSonic SC-T25 and certificates

ViewSonic SC-T25, VS, handles certificates, cert, for different applications in Base64-encoded DER format.

If You open the certificate file, with a simple text editor, it shall begin with "---- BEGIN CERTIFICATE ----" and end with "---- END CERTIFICATE ----" if it is the right format.

The most simple way to load the cert, is to use "Method 1".
Please note that You log in with the CLIENT, PC/Mac, user/password.

Another method is "Method 3". In this example I will load Citrix Intermediate Certs to the SC-T25 from a USB stick.

Wednesday, 17 January 2018

ViewSonic SC-T25 upgrade VTOS

This cost effective Thin Client is based on Raspberry Pi 3 and together with Stratodesk OS it is very versatile

If You bought, or got, the thin ViewSonic client, VT, produced before date 2017-07, You can upgrade to the better Stratodesk NoTouch OS with out any cost. This OS  is the "standard" OS for new devices.

To get the software follow this link

Here is the upgrade instructions. In Windows just follow the instructions in the link, but with Mac (or Linux) follow the instructions below.

Tuesday, 21 November 2017

RPi, Clone the Raspberry boot disk

             Updated 2018-02-03

A very nice way to fix a backup is to make a copy, bootable, of the actual SD card You are using in the RPi and this when the RPi is up an running. 

You clone from the command line so You don't need the standard GUI, Pixel, and the SD card copy function.

It is also possible to set up a cronjob, explained later, which for example makes a clone every night at 1 o'clock.

You just need a USB SD card reader, with a SD Card, which You initialize with the SD Formatter.

Then You plug the SD Card in to a free USB port on the RPi.

Monday, 13 November 2017

Raspbian Lite with GUI, RDP, VNC

I like the Raspberry Pi, RPi, with Raspbian Lite (no Desktop is included), headless operation, and then adding the software You need. Until now I haven't had a use case where I needed a Desktop but now was time. 

You maybe wonder, why don't use the Raspbian with Desktop ?? In that package there is a lot of software I don't need and I really want to optimize the RPi. I think that the less software You install the happier RPi will be. ;-)

So after some Googling inspired from this guide I came up with the following setup.

Sunday, 29 October 2017

Qubino flush dimmer 1-10 V

We bought a nice LED lamp, Nemo Ellisse Pendant Double, which was said to be dimmable, but when receiving it there was a big IF  !!! 

The lamp was not "standard" dimmable, instead it was dimmable with 1-10 VDC or 100 Kohm potentiometer.

The 1-10 VDC control is common in big installations, in public environment, since it can control a lot of lamps with one dimmer.

Checking the lamp I found that the AC/DC LED driver was a Mean Well LPF-90D and in the drivers specification the second IF was found !!

The lowest control level didn't switch of the lamp

Sunday, 22 October 2017

Volvo Penta D4/D6 water pump leak

The sea water pump, labeled 3589907 and replaced by 21380890, was leaking a little so a change of seal was necessary. Numbers below refers to the explode view.
  • Detach the generator belt from the pump pulley and the 2 hoses from the pump.
  • Unscrew the water pump, 4 scews, from the engine block.
  • Remove the cover, 7, from the pump.
  • Pull out the impeller, 6.
  • Remove the cam, 4, by unscrewing screw 18.
  • Remove the washer, 22.
  • Remove the lock ring 14 and washer 21.
  • With a pliers remove the seal 8.
  • If You don't manage to remove the seal, 8, You have to remove the shaft from pump housing. The seal will stay in the housing and can be pushed out from the ball bearing side.
  • Install a new seal, 3583609, and assemble the other parts in reverse order.

Friday, 11 August 2017

OpenPlotter, NMEA data TO file

             Updated 2017-08-14

Sometimes You want to "take home" Your latest trip on sea and "replay" it or replay it doing some changes in the settings for the OpenPlotter or OpenCPN applikation and se the result direct.

One way is to create log files with the the "raw" NMEA data and then use them at home with tips from this post.

Creating log files from NMEA 2000 bus, N2K, is the most straightforward.

Check what name Your CAN usb interface have. One way doing it is reading the log from auto setup found in "OP=> Tools => Auto Setup"

Open Terminal and just type the following with Your CAN usb name

actisense-serial -r /dev/ttyUSB0 > N2K_2017-08-08.txt