Sunday, 23 February 2020

OpenPlotter V2, NMEA data FROM file

The easiest way to test Your OpenPlotter, OpenCPN or SignalK(SK) applications is to use the supplied test files.

There are to files
  • plaka.log a NMEA 0183(N1) file
  • a NMEA 2000(N2) file

Monday, 17 February 2020

Node-Red & Mosquitto quick install

A fantastic way to distribute data between devices is using MQTT. In this post I will do a quick and simple setup with Node-Red(NR) and the Mosquitto(MQ) broker on a Raspberry Pi.

Very short, the Broker, installed on a server, handles incoming Publishing and Subscriptions from clients. Every published Message is "linked" to a Topic. All Subscribers use a Topic to "link" to the right Message.

How to install Node-Red(NR) is found here and the MQ manual here.

Sunday, 16 February 2020

OpenPlotter, Stable V2, install guide

                    Updated 2020-02-21 !

OpenPlotter is now released as stable. It's really a nice and simple installation of
  • OpenPlotter Basic(OP)
  • OpenCPN(OC)
  • SignalK(SK)
and other supporting programs for Your boat. It works on Raspberry Pi 4, Buster.

In the Roadmap, You can check which applications that are available.

Thursday, 13 February 2020

Homebridge made simple, HOOBS

                 Updated 2020-02-13 !

I have written several post about the HomeKit Bridge, Homebridge, but if You want a simple way to handle the server and plugins the guys at HOOBS have done a nice software package with a browser interface.

They even created an image with Buster, for use with Raspberry Pi(RPi) and the HOOBS V3 package, which You can download here.

Monday, 20 January 2020

Homebridge, autostart made simple

There have been some questions about how to handle Homebridge, (HB), autostart at power on and restart at failure using Raspbians systemd

I have written a post how to manually set it up but now in this post I will present a script which handles it automagically !! 

How to install HB is found here !

Thursday, 9 January 2020

Node-Red quick install

                           Updated 2020-01-09 !
Node-Red(NR) is Flow-based programming for the Internet of Things

This post isn't made as a complete install guide, there are several, just some links to the best information I have found.

The best thing is that even if You don't are a skilled programmer, but like logic flows, You can make really advanced things. It's pre-installed on some Raspberry Pi(RPi) distributions.

Saturday, 4 January 2020

Install Weather34 with WeatherLink

                        Updated 2020-01-04 !!

If You want Your Private Weather Station(PWS) Davis Vantage Pro2, or other Davis products that use WeatherLink, to provide data for the template we use at Domstens Båtklubb just follow the instructions below. 

This is made without additional software such as Cumulus, Weather display or the Meteobridge product.

Monday, 9 December 2019

RPi, Clone the Raspberry boot disk

             Updated 2019-12-09

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 and 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.

Tuesday, 3 December 2019

Raspbian install with Mac/Windows/Linux

Updated 2019-12-03 !

When starting up a new project with Raspberry Pi I like to start up fresh and with a minimal OS. Therefore i allways use Raspbian Lite. Doing it right You don't have to use an external display, keybord and mouse, just a ssh client.

Connect the card reader, with the SD card inserted, to Your client and format the card with SD Formatter and use the "Owerwrite Formate" option. This will also check that the SD card is OK.

Here You find a post with headless WiFi install.

Friday, 15 November 2019

HomeKit bridge with Ring

With HomeBridge installed on a Raspberry Pi, (RPi), You just install the homebridge-ring plugin and the Ring accessories will appear in Apple HomeKit

This post will cover the Ring video doorbell but is a guide for other Ring products.


Friday, 1 November 2019

AIS dispatcher, stand alone

It seems that the "aisdispatcher", (AISD) from almost have been a "de facto" standard. 

The dispatcher receives NMEA 0183 VDM/VDO messages, (NAIS) via an UDP/TCP connection or serial interface and forwards it to one or several destinations as UDP streams.

Thursday, 31 October 2019

OpenPlotter, V1, quick install guide

Updated 2020-01-13 !

OpenPlotter is;
  • A complete boat navigation system
  • Includes OpenCPN, Chart plotter navigation
  • OpenSource, so it's free !
  • Running on Raspberry Pi(RPi)
  • Its hardware is cheap
  • Running on Unix, so its reliable
I really don't recommend this old OP 1, instead check out OP V2, stable, which works very well ! 

Monday, 28 October 2019

Razberry backup and restore

There are two ways to take a backup of Your Raspberry Pi:s, (RPi) Razberry(RZ) configuration;

  • Clone the Raspberry boot disk
  • Backup just the Razberry configuration
The first way is a described in this post and here we will use the built in function in the Razberry GUI

Sunday, 27 October 2019

AIS receiver with OpenSeaMap

The AIS posts on this blog have been very popular so this post will be a follow up which will enable You to show AIS targets, including AtoN:s, on OpenSeaMap, (OSM), together with buoys and beacons.

The application showing the map is SignalK, (SK) a OpenSource project for marine use. 

Need an AIS-dispatcher ? Forwarding the AIS data somewhere. 

Thursday, 17 October 2019

RuuviTag and Node-Red

For a new project I needed a small wireless temperature sensor, there You don't have to change battery so often, and this gave the RuuviTag.

Having used Node-Red on Raspberry Pi before, the first application was this dashboard.

Sunday, 13 October 2019

Bluetooth and Node-Red

There are some Node-Red nodes, (NRN), that are dependent on the old Noble package which don't work on Node > v8. 

One nice and simple NRN is the node-red-contrib-noble which have the same problem. I picked up the freshest source, dependent on @abandonware/noble, forked it and added install instructions. It works with Node <= v12. 

Saturday, 12 October 2019

Bluetooth Beacon and Raspberry

The latest models of Rasberry Pi, (RPi), comes with built in Bluetooth, (BT), so how to receive data from Your Bluetooth devices ?

A Bluetooth Beacon, could be a RuuvuTag, is a device that You don't have to pair with, You just scan and receive the data that they are transmitting.

Start with checking that Your BT interface is working, in a terminal windowtyping


Friday, 20 September 2019

HomeKit bridge with IKEA Trådfri, Blinds

         Updated 2019-09-20 !

This Blogpost was initially made before the IKEA outlets was enabled in the Apple Home app. They could then just be reached via a Tradfri Homebridge plugin

Since a while blinds are supported by this plugin but not by the IKEA Gateway and app so maybe its time again to install it ?

Another post covers the installation of the Trådfri gateway with a HomeKit approach. (Without Homebridge)

Other HomeKit posts on this Blogg

Friday, 13 September 2019

IKEA Bäve dimmer hack II

Dimming not dimmable LED, IKEA Bäve

In former post I used a Fibaro Z-Wave RGBW controller but in this post I will use an IKEA original !

Other HomeKit posts                  on this Blogg

Tuesday, 3 September 2019

HomeKit, Z-Wave, Telldus Live, and...

HomeKit posts on this Blogg
Updated 2019-09-03 !

You can use one  Raspberry Pi to
  • Make Your home automation devices appear in the Apple Home App
  • Being the Z-Wave controller with the Razberry Daughter Card
  • HomeKit enable Your Z-Wave devices
  • HomeKit enable Your devices registered at Telldus Live
  • HomeKit enable IKEA Trådfri devices 
  • Homekit enable temperature with sensor  DS18B20
  • HomeKit enable Broadband speed 
or If You have other products there are more than 1900 plugins available

Tuesday, 20 August 2019

HomeKit bridge with Z-Wave

Other HomeKit posts on this Blogg
           Updated 2019-08-20 !

These devices are available for Apples HomeKit. The devices are Bluetooth, BLE, or WiFi connected so it could be a limited range in Your house.

The Z-Wave solution have a smarter setup running on a type of network called a "mesh network". One Z-Wave product will pass the signal along to another (“hop”) until the final destination is reached. Every device, not battery charged, in your home acts as a messenger; the more devices you have, the more powerful and strong your network is.

Monday, 19 August 2019

HomeKit bridge with Z-Wave II

In a former post I used Homebridge on a Raspberry Pi, to make Z-wave devices appear in the Apple Home app, but there is a simpler and faster, way.

Start with the install of the Razberry card or upgrade to Z-way V3.0.0

           Other HomeKit posts on this Blogg

Friday, 16 August 2019

Z-Wave on Raspberry PI

     Updated 2019-10-22 !

Installing a Z-Wave controller on Raspberry Pi is much easier than You think.

The only add on You need is the Razberry Daughter Card and free software from the same site

Saturday, 10 August 2019

Internet speed measure

             Updated 2019-08-10 !

New to Node-Red(NR) and maybe start with a simple application You can benefit direct from ?

This application is measuring Your Internet connection at chosen intervals using and showing the result in a graph. If the speed is under a set value it will send You an email.

Friday, 9 August 2019

SDR calibrate with kalibrate-rtl

To optimize the reception with SDR:s, Software Defined Radios, it is important to receive on the proper frequency. Due to variations in production there could be deviations.

The calibration could be done against standard GSM transmitters which are providing a stable reference frequency.

Other AIS posts on this Blogg