Sunday, 3 January 2021

SignalK switch with NodeRed and WilhelmSK

Here I'm trying to do the "ultimate" SignalK switch blog post including(no N2K)
  • Shelly 1 as the hardware switch
  • NodeRed as the function engine
  • NodeRed dashboard as input/output interface
  • WilhelmSK as input/output, check picture
  • A http endpoint as state sensing
The post is ment to be a template where you can pick the parts which are right for your setup.

Friday, 1 January 2021

Scanner GUI with NodeRed

In a former post I installed CUPS printer software for a Cannon printer. The scanning functionality is supported by the package SANE. But there is no nice GUI for the scanning function so I made one, with NodeRed(NR), which I really think is "wife" enabled.



Sunday, 27 December 2020

Homebridge, retrieve accessories information & status

Having Homebridge(HB) up and running it's simple to retrieve and visualize status or measurements from accessories.

For example I'm using the Aeotec MultiSensor 6,(AM6), via the z-way plugin, where I'm sensing the light level. Since Im living in northern Europe it's not very accurate to switch the indoor lightning by sun-rise/set. So instead I'm using the AM6 together with the EVE app to switch the lightning. 

To visualize the measured values over time I'm using NodeRed(NR) and a HomeBridge plugin

Tuesday, 15 December 2020

Free Gmail mail merge with Sheets

There are several mail merges applications where you can merge information from Google:s "Sheets"(GS), but not so may free ones that are good.

The point using mail merge is that you can personalize your outgoing mails and you will fore sure get a better response rate.  

There should also be said that if you are having a free Gmail account you are limited to 100 outgoing mails per 24 hours.

The first application, free !, handles the merge via a GS with a built in JavaScript macro and in the second application, 25 free mails per 24 hours(limit in app), the merge is done via an installed GS add-on with many nice functions.

Saturday, 5 December 2020

OpenPlotter V2, install guide

Updated 2020-12-06 !

OpenPlotter is really a nice and simple installation of
and other supporting programs for Your boat.

Please note ! I'm doing a new series of posts, using OpenCPN 5.2 +, with a more detailed information of the functions and the installations.

OP now have suport for other Linux OS  then Raspberry Pi OS !!

Wednesday, 2 December 2020

Shelly 1 quick install

Updated 2020-12-02 !

This post focus on Shelly 1(S1), a really a nice automation device with great versatility, but much of the content is also valid for some of Shellys other devices.


S1 is a WiFi switch, 16 Amps, but also a hub for temperature sensors

With a great software package pre installed You probably don't need anything more, but since it is an ESP8266 You can also flash it with Your own/other software.

The function "without Internet" + that the S1 can use a 12V DC source makes it perfect for an "use case" in a boat/mobile home.

It's compatible with Alexa, Google or HomeKit using HomeBridge or Mongoose firmware 


Friday, 27 November 2020

Speedtest LAN and Internet/WAN

Sometimes I'm a little confused if it's the local network that is the bottleneck or if the ISP, Internet Service Provider, is slow.

In a former post I used 2 applikations to get the information, from both the local LAN and Internet, but on the other hand it maybe hade been nice with a more lightweight approach. 

From this post I got inspiration and discovered a nice little application "iperf3" which is available for several OS.

There is also a free iOS app, client, which uses the same application, check picture and there seems to be some Google Play apps as well.

Monday, 23 November 2020

MySQL and NodeRed

Sometimes the syntax for the Javascript in Node-Red is a little hard to get, despite some Googling. This was evident when i tried the run the "node-red-node-mysql" node inserting data in a MySQL database.

Also timestamps in different environments are a little complicated.

So this post will cover both areas with some code examples done on a Raspberry Pi.

There are many "how to" installing MySQL but I followed this where you also get links to additional software as phpMyAdmin.

Sunday, 15 November 2020

Eniro charts using SignalK & Freeboard

Do you know about the SignalK workspace at Slack ? It's a really nice space where you could meet the developers and also get support.

If you don't are active there you can get an invite filling in your e-mail adress at

I'm following the dialog on Slack and for some weeks ago I stumbled over a post from @chris saying that you could get, with internet connection, the online charts from Eniro displayed in Freeboard. As you see in the picture it's just for the Nordic countries.

You just have to install a plugin and add the URL pointing at Eniro.

Thursday, 12 November 2020

RPi, Clone the Raspberry boot disk

Updated 2020-11-12 !

A very nice way to fix a backup is to make a copy, bootable, of the actual SD card You are using on the RPi. This will be done when the RPi is up and running !

This application can also be used to make a bootable SSD or USB drive !!

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.

Wednesday, 4 November 2020

Raspberry/Linux print server Windows/Apple

When we upgraded our WiFi to a Mesh solution, TP-link Deco M9, our old printer, WiFi connected, didn't want to "play" with us anymore. This was due to stronger encryption which wasn't supported. Since the printer just have WiFi or USB connection, no standard Ethernet, I was looking for another solution.

We have no computer running 24/7 except a Raspberry Pi, RPi, which is handling our home automation, Homebridge. So the solution was to use CUPS on that RPi.

On the web there are several posts/manuals how to install CUPS on a RPi so this post will refer to one of these and then some additional hints regarding, Apple AirPrint, Windows Network Printer, scanning....

Monday, 2 November 2020

Raspberry Pi OS with GUI, RDP, VNC, Chrome

Updated 2020-11-02 !

I like the Raspberry Pi(RPi), with Raspberry Pi OS 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. ;-)

Sunday, 1 November 2020

Raspberry Pi OS install with Mac/Windows/Linux

Updated 2020-11-01 !

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

Here You find a post with headless WiFi install.


Sunday, 25 October 2020

IKEA Bäve dimmer hack II




Updated 2020-10-25 !

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


Saturday, 24 October 2020

TP-Link Deco M9 V2 Plus software update

TP-link Deco M9 is a nice Mesh solution but it could be that the software/firmware is dated 2019. This is an old one and you really shall update ! Probably you can't update via the TP-link Deco app and therefore you have to make some extra measures updating via a Mac/Windows program.

In a former post I gave some hints and links if you are using an ethernet backhaul. 

Please also note that if you are using the Deco:s configured as access point you can, via ethernet, connect all the Deco units directly to your home modem/router/switch as you want.

Thursday, 22 October 2020

Samba, RPi as Windows file/print server

Updated 2020-10-22 !

If You want that the Raspberry Pi, RPi, shall appear in MS Explorer or Mac Finder, as a File server, the easiest way is to install Samba.

This also makes it much easier if You want to edit files on the RPi with editors from Your MS/Apple device. Or maybe moving files from/to the RPi.


Monday, 19 October 2020

HomeKit bridge with Z-Wave


Updated 2020-10-19 !

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.

Raspberry USB boot made simple ? Check link 

Monday, 12 October 2020

RuuviTag and Node-Red

Updated 2020-10-12 !

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, 11 October 2020

Raspberry Pi 2, 3, 4 USB SSD or USB drive boot

After having tested several methods creating a bootable USB SSD, or other USB drive, for Raspberry Pi(RPi) 3 and 4, I finished with this simple method
  • Create the setup you want on a ordinary SD card
  • Make a bootable backup/clone of the SD card saving it to the USB SSD
  • Remove the SD card and boot from the USB SSD
Yes, it's almost as simple as that with Raspberry Pi OS new soft and firmware updates.
 
There is a shortcut !! If you know that your RPi is setup for USB boot, just use Balena Etcher and write the RPi OS image direct to the SSD/drive. 

The tests was made with this SSD

Saturday, 10 October 2020

Raspberry and external storage/disk

There is a post, link will follow below, from the Raspberry Org site which is very informativ and handles how to connect your external hard disk, SSD, or USB stick to any of the USB ports on the Raspberry Pi(RPi), and "mount" the file system to access the data stored on it. 

So there is no need for a rewrite and this post will therefore continue with how to connect to a Windows server, (Other SMB or Samba servers will also work), both temporary and automagically at boot. 


Check this post RPi booting from an USB drive !


Friday, 9 October 2020

SDR calibrate with kalibrate-rtl

Updated 2020-10-09 !!

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

Thursday, 8 October 2020

AIS reciever for Raspberry Pi, 2 channel

Other AIS posts on this Blogg
Updated 2020-10-08 !!

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

I'm using the RTL-SDR dongle V3 with almost zero temperature drift or the even better NooElec NESDR Nano 3


AIS posts with maps
Improve receiving range? Calibrate ! Instructions in this post

Wednesday, 16 September 2020

Z-Wave on Raspberry PI

Updated 2020-09-16 !

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, 12 September 2020

Kamado gasket glue

The gasket on our Kamado Joe was falling off after a very hot pizza cooking project. After some Googling, search link here, I found several post where people, to my surprise, used 3M™ Super 77™ Multipurpose Spray Adhesive.

I'm surprised due to it's just specified to handle up to 65 °C, 150 °Fahrenheit. 

It was also not available in the nearest shops so searching a bit further I found ...


Sunday, 30 August 2020

Speedtest vs ISP and at home

Updated 2020-11-30 !

Sometimes you are doubtful about the performance of your home network, or versus the ISP, and wonder, where is the bottleneck ?

After some Googling I found some favorite applications, implemented on a cable connected Raspberry PI(RPi), which do the job so You can start measure and stop guessing.

A speedtest, 
  • checking Your ISP, with just a bash script
  • for Your home network