March 28, 2020

Raspberry LCD displays


There are many displays for Raspberry Pi and following some of the manufacturers instructions isn't always so easy.

But there are scripts available which will make it very simple.

As an example, in this post, I will install the LCD touch display from Joy-IT RB-TFT3.2-V2. The size is 3,2" with a resolution of 320 x 240, has a touch display and comes with 3 buttons.

March 02, 2020

Homebridge update installation on RPi

Updated 2023-10-27 !

! The latest information on Homebridge update is found here ! 

Start updating the Homebridge(HB) installation, after You logged on to the RPi, with;

sudo apt update && sudo apt full-upgrade -y

If You are using HOOBS or Homebridge with UX their updates can be done via respective GUI interface. HB also have a function to update Node.js. In other words, the info below is more like "nice to know".

February 26, 2020

Battery cables for cars & boats, DIY


At higher outputs, current, from the batteries I had detected an increasing voltage drop. So I decided to change and update the supply cables from the batteries, see picture, to a more correct solution. 

The solution was
  • Cable lugs on all cables
  • The lug is crimped and soldered to the cable
  • Heat shrink tubes, with glue, to cover the transition between the lug and cable
  • Battery terminals with M10 distributer

February 24, 2020

OpenPlotter V2, NMEA or SignalK data TO file

newer post on the same subject !!

If You want to capture Your data from a sailing trip there are several ways. Here I will check out these
  • SignalK delta, via plugin signalk-data-logger 
  • NMEA 0183(N1), via netcat
  • NMEA 2000(N2), via actisense-serial
If you then want to use these files as input for OpenPlotter, OpenCPN or SignalK check out this post.

February 23, 2020

OpenPlotter V2, NMEA or SignalK data FROM file

newer post on the same subject !!

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


Another way is to capture Your own data from a sailing trip, which is described here. Then You can use them instead of the supplied sample files.

February 17, 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.

January 20, 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 Raspberry Pi OS systemd

Please note that, in the later versions, the HB installation handles this !!

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 !! 

Despite this simple set up I recommend using the app " hb-service", which is installed together with "homebridge-config-ui-x"

How to install HB is found here !

November 15, 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.

Prerequisites

October 31, 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 ! 

October 28, 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

September 20, 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


August 19, 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


August 10, 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 Speedtest.net and showing the result in a graph. If the speed is under a set value it will send You an email.

New ! better version !

May 11, 2019

NMEA WiFi gateway II

My thoughts, about NMEA WiFi have finalized ? since my first post in the subject and the Yacht Devices YDWG-02N is now installed in my NMEA2000/ST/NMEA0183 network and works just fine. 

I'm already using Raymarine ST => ST NG converter but otherwise I had bought the YDNR-02 instead which should have done the same job.

Please find some thoughts from the installation below.

May 10, 2019

Mojave on unsupported Mac


Updated 2019-05-11 !

My old Mac Book Air, mid 2011, didn't support the latest MacOS, Mojave. So after some checking I found this brilliant fix which did the job.

This guy have really done a fantastic job with great instructions and even a Youtube video.

April 01, 2019

Weather34 & WeatherLink w/o cronjob

Running Weather 34, W34, using my setup, the program "cumulusdata.php" is fetching data from Davis Weatherlink(WL), and are writing the data to a file, type Cumulus. The old way was to fetch the data via a scheduled cronjob. 

Doing a small change to "windspeeddirection.php", "updater.php, and using the latest version of "cumulusdata.php", will do the update with the built in W34 refresh routine instead of cron job.

Thanks to Ken who gave me the hint.

March 18, 2019

HomeKit bridge with Telldus Live

Updated 2019-03-18 !

Do You have Telldus devices up and running and want them to be visible and used in Apples Home app ?

With some software and a Raspberry Pi(RPi) they will appear in the HomeKit environment.

Other HomeKit posts on this Blogg

February 19, 2019

IKEA Bäve dimmer hack




Dimming not dimmable LED, IKEA Bäve

Inspired by LarsWH and using a Z-Wave controller I got it working with a "standard" component.











Other HomeKit posts 
     on this Blogg        


A new version !! With an IKEA controller and HomeKit enabled is available here !!

February 16, 2019

HomeKit, Trådfri and Gledopto RGB


I bought the Gledopto RGB+CCT LED controller(GO), so I could use RGB LED strips, not just the IKEA ones.


There were some IF:s, which will be scrutinized below, but it worked.


Other HomeKit posts on this Blogg



December 11, 2018

Mac install Apache/PHP WEB-server

Updated 2019-01-07 

!! Note !! Before Monterey !! 

As a part of one of my projects, the ultimate Weather site ?? Weather34(W34), I needed a WEB-host with PHP and started to use a Raspberry Pi.

In this post You will get some short install tips on Apache with PHP on a Mac with Mojave, macOS 10.14.x, and at the end of the post the W34 installation is done.

December 01, 2018

Homekit with broadband speed measure


Updated 2019-09-02 !

If you think it's ok that the broadband speed appears as temperature in Home apps this plugin is very nice.

The plugin, used with Homebridge(HB), measures Your broadband speed at chosen intervals. If You use the free app "Eve for Homekit", besides that it shows the last measured broad band speed, it also shows the speed history in a nice graph.

Other HomeKit posts on this Blogg

November 23, 2018

Weather34 install at WEB hotel


Updated 2019-04-01 !

Prerequisites is listed in the beginning of the post for installation on Raspberry Pi(RPi)

You will find migration information, from WeatherLink 1.0 to WeatherLink 2.0, in this post


October 29, 2018

Router as WiFi extender

Extending Your WiFi via cable have the advantage, compared to extending via WFi, that You keep the bandwidth at max. Extending Your WiFi with products that use the same frequencies, as Your WiFi, will just put through 50% of the data flow.

One way to extend the WiFi is with a cheap router, or maybe an old router You don't use any more.

October 27, 2018

IKEA Trådfri gateway install & HomeKit

Updated 2019-02-05 !

Using Homebridge for a while, getting nice hardware to emulate Apples HomeKit devices, I finally decided to test IKEA:s Trådfri concept.


The actual device that I was interested in is the wireless control outlet. But they have bulbs and other stuff that is really nice priced.



This post will cover an installation of the Trådfri gateway with a HomeKit approach.  


Other HomeKit posts on this Blogg


August 26, 2018

Raspbian Jessie to Stretch upgrade

Upgrading from Jessie to Stretch can break the entire system so ALLWAYS do a backup.

There are several sites/posts with "how to" information but the Raspberry site, the Linuxconfig site and the Superuser site(where You can find more details about the upgrade), made the base for this post.