Wednesday, 27 July 2022

RS-232 with displays & AV equipment

The use case for this post is that a got a request from a customer where a commercial displays brightness, used for digital signage, should be put at a minimum when there is no people in the surroundings.

After some checking I found that on most displays, even on our own TV set, there is a
 connector for the RS - 232 protocol that accepts commands similar to the commands sent by the remote control.

A nice explanation on how it works is found here.

Wednesday, 20 July 2022

RuuviTag and Node-Red

Updated 2022-07-20 ! OK with Bullseye 64 bit and NR 3

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(NR) on Raspberry Pi before, the first application was this dashboard. 
Tested and works with with Node.js V14 and V16 !

Saturday, 9 July 2022

Davis PWS linked to

If you are using Davis Personal/Professional weather stations(PWS) you will get a nice dashboard when you link your PWS to the Davis weatherlink(WL) site.

What you probably really miss is a forecast displayed together with your PWS data. The picture is showing a part of the dashboard at after you have linked your PWS to the site.

An add on is that you via API:s can get both the current weather, forecast and other data free of charge, via the site.

This post will handle the setup and also a Node-Red dashboard interfacing the aeris API.

Tuesday, 5 July 2022

Homebridge made simple, Homebridge

Updated 2022-07-05 !

HomeBridge(HB) is the software where You make Your home automation devices appear in the Apple Home App as native products. In this post a Raspberry Pi is used as the HB server.

There has really been big improvements in the installation process and I think the HB version is better/easier than HOOBS.

Migrate from HOOBS ?! Link

Monday, 4 July 2022

Node-Red multiple instances, RPi

Updated 2022-07-04 !

n the same server/hardware you can have
  • a test environment for Node-Red(NR), separated from production
  • separated instances for different applications
Setup will follow for a Raspberry Pi(RPi) including how to auto start at power on.

A post for NR quick install.

Sunday, 19 June 2022

OpenPlotter V3 Beta, install guide

Updated 2022-06-19 !

Since you are here you know what's it's all about ! 😉

But if you don't like Betas go to the latest stable.

I tested the application with a Raspberry Pi 4(RPi), 2 GB, and used the 64 bit Raspberry Pi OS, Bullseye, installed on a SSD.

It's running very nice !

Saturday, 18 June 2022

macOS Monterey on unsupported Mac

Updated 2022-06-18 !

In a former post I went trough how to update an old MacBook Air 4.2, (mid 2011, SSD, 4 Gb memory) to Big Sur and in this post I will update the Mac to Monterey with the same patcher !! 

This is despite that max OS for the Mac is High Sierra. This is done, among other things, due to that the patcher handles Macs with graphic cards from 2008 - 2011 which Monterey doesn't do natively.

Since my former upgrade, to Big Sur, included a format of the SSD disk I here used the patcher to do an upgrade from Big Sur to Monterey.

Awesome !!!

Sunday, 12 June 2022

NMEA 2000 temperature sensor, wet exhaust

In former posts I used the temperatur sensor DS18B20, in several applications, but now it was time for the boats exhaust temperature and checking out YDTC-13 from Yacht Devices(YDTC). (But please note that the YDTC can be used in any temperature application.)

When you are boating, using the engine, it's very important that the cooling water always is present otherwise major damages can follow. In "wet exhaust" systems it's easy to get the temperature which I posted here.

Friday, 3 June 2022

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

Updated 2022-06-03 !

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
Having a RPi 4 ? Use this post on how to write the OS direct to the SSD.

If you already have a SD card with working applications and you want to "transfer" them to a bootable SSD use this post.

Thursday, 2 June 2022

Speedtest LAN and Internet/WAN, iperf3

Updated 2022-06-02 !

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.

Wednesday, 1 June 2022

Teltonika router RUT 240 quick setup

Updated 2022-06-01 !

My old boat/travel WiFi router didn't behave so I was forced to look for a new one with these must functions;

    Built in SIM 4G/LTE capabilities
    WAN failover
    Powered with 12V DC
    Bridge public WiFi:s, or my phone, to LAN

I did a lot of Googling and ended up with Teletonika RUT 240(TR).....

This post will cover a setup summary for the RUT 240 model, but it's useable for other Teltonika models too since they have a common firmware.
New nice firmware "RUT2_R_00.07.02" release date 2022-05-23

Sunday, 29 May 2022

Clone the Raspberry boot disk

Updated 2022-05-29 !

A very nice way to fix a backup is to make a copy, bootable, of the actual SD card You are using on the Raspberry Pi(RPi). This will be done even 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 copier
" function.

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

Tuesday, 24 May 2022

Waveshare CAN hat with Signal K & OpenPlotter

To get information from the NMEA 2000(N2K) network, to the RPi, I have been using Actisense NGT-1, for a long time, and later also the Yacht Devices YDWG 02 but now it was time for a Raspberry Pi(RPi) CAN hat(CH) from Waveshare(WS). WS have 3 different models but I picked the 2 channel isolated one.

It's recommended to use an isolated one which also is demanded for those interfaces which will be approved by the N2K group.

Saturday, 14 May 2022

Victron monitoring solution, Venus, on Raspberry

Updated 2022-05-14 !

Victron have a state-of-the-art monitoring solution used by the GX products. It can monitor their other system components such as inverter/chargers, solar chargers, shunts, and batteries both local and remote all over the world.

If you have a smaller Victron solution it is nice to know that the same software, Venus OS(VOS), can run on a Raspberry Pi(RPi) instead of the more expensive and versatile GX products.

Friday, 13 May 2022

NMEA WiFi gateway


Updated 2022-05-13 !

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

Most of these applications just accepts NMEA0183(N1) but many boats are also using SeaTalk 1(ST1) and NMEA2000(N2K).

This post will cover, kept compact, my best findings covering both a DIY and a commercial approach to handle the different protocols.

Tuesday, 10 May 2022

Wine, Windows apps on Linux, Raspberry

What is Wine

The OpenSource project, themselves, explains it as; 

Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD

So why ? In my case, I'm just running macOS and Linux, I had and old gadget where I had to change the settings and this could only be made with a windows program.

Friday, 29 April 2022

Shelly PLUS 1 quick install

In a former post I made a writing about Shelly 1(S1) and this post will handle about the successor Shelly PLUS 1(SP1) but much of the content is also valid for some of Shellys other devices which uses the same software/API.

To keep it simple, SP1 is a WiFi switch, 16 Amps, with dry contacts but compared to the S1 the hardware and the software is updated. 

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

Saturday, 16 April 2022

Raspberry 4 USB SSD boot in 60 seconds !

Updated 2022-04-16 !

Yes, it's really true ! Thats the maximum time it takes to write the Raspberry Pi(RPi) OS to a bootable USB SSD and maybe read this post ?

If you have a RPi 4 and a USB SSD or other USB drive, that works as a boot media, just use the RPi imager which can write the image direct to the USB  storage. But check this first.

Having an older RPi ? Use this post instead.

If you already have a SD card with working applications and you want to "transfer", copy/clone, them to a bootable SSD use this post.

Friday, 15 April 2022

Raspberry Pi OS install with Mac/Windows/Linux

Updated 2022-04-15 !

When starting up a new project with Raspberry Pi I like to start up fresh and with a minimal OS. 
Therefore i always use Raspberry Pi OS(ROS) Lite and then adding what I need. 

Doing it right You don't have to use an external display, keybord and mouse, just a "sshclient.

Flash to a SSD ? Check this post.

Don't want to install Bullseye ? Check Remarks below.

Thursday, 14 April 2022

Raspberry headless install with WiFi

Updated 2022-04-14 !

To make a headless, without monitor, keyboard and mouse, install of Raspberry Pi OS on a Raspberry Pi(RPi) with built in WiFi and no LAN cable connection, please follow the instructions below.

For example the RPi Zero and Raspberry Pi 3 Model A+ don't have any LAN cable port so the setup is quite usable.

To make an active WiFi connection at first boot You have to use the "Advanced options" in Raspberry Pi Imager or create, old way, a configuration file called "wpa_supplicant.conf".

Friday, 1 April 2022

OpenPlotter V2, install guide

Updated 2022-04-01 !

OpenPlotter, a Boat Navigation application, is really a nice and simple installation of
and other supporting applications for Your boat.

Don't use the latest Raspberry Pi OS, Bullseye, it will not work ! Install Buster, info here, if you use option B below.

Or test the latest OP V3 Beta which runs Bullseye 32/64 Bit

Thursday, 10 March 2022

Install Weather34 with WeatherLink, v2 API

Updated 2022-03-10

This post is an update from a former post which handles on how to set up a weather WEB-site with data from Davis Weather Link(WL) but here adapted to the latest WL API v2.

Any product that reports weather data to WL can be used as a source for this weather template.

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

Works with Bullseye and PHP 8.x !!

Wednesday, 2 March 2022

Shelly 1 quick install

Updated 2022-03-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 using the gen1 API.

Setup for the later version, Shelly Plus 1, is found here !!

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 

Tuesday, 1 March 2022

Raspberry Pi OS Lite with GUI, RDP, VNC, Chrome

Updated 2022-03-01 OK Bullseye 32/64 bit

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. 

Why don't use the Raspberry Pi OS 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, 20 February 2022

WeatherLink weather template, v2 API

I have written a post with the same subject before, also using NodeRed(NR), but this post is using the latest WeatherLink v2 API instead of the v1 API

The v2 API supports more devices and now also including the old ones.

If You want a more advanced weather site this is a very nice one coded in PHP also using the v2 API.