Showing posts with label Raspberry Pi OS. Show all posts
Showing posts with label Raspberry Pi OS. Show all posts

December 13, 2024

Raspberry Pi OS install with Mac/Windows/Linux

Updated 2024-12-13 !

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.

November 06, 2024

Node-Red quick install

Updated 2024-11-06 !

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.

November 01, 2024

Swegon CASA, HRV (FTX), rotary heat exchanger and MODBUS

Fresh air at home is very important ! For more than 15 years ago, at a major renovation of our house, we installed an HRV or in Swedish FTX system. Since then there have been nice updates for FTX equipment so when one of the fans was a little noicy and when the motor for the rotor died it was time to do an upgrade instead of repairing the old one. So we purchased an CASA R7 Genius(R7).

For me its important to get as much data as possible, to optimize energy consumption in our house, so despite that the the R7 have a nice app we also added a SEM interface to get the data, via MODBUS, that is available.

July 01, 2024

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

Updated 2024-07-01 !

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

June 30, 2024

OpenPlotter v4 stable, install guide

Updated 2024-06-30 !

OpenPlotter(OP), a Boat Navigation application, is really a nice and simple installation of

and other supporting applications for Your boat.

An overall information about the OP package is found here 
and you can watch the OP v4 progress here.

June 06, 2024

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

Updated 2024-06-06 !

After having tested several methods creating a bootable USB SSD, or other USB drive, for Raspberry Pi(RPi) 3 4 and 5, I finished with this simple method
  • Create the setup you want on a ordinary SD card(Or use existing)
  • 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, 5 ? Use this post on how to write the OS direct to the SSD.
 

June 05, 2024

Raspberry 4,5 USB SSD boot in 60 seconds !

Updated 2024-06-05 !

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, 5 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.

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.

May 27, 2024

Bredbandskollen, Internet speed, CLI

Im using NodeRed together with Speedtest by Ookla but just the other day it wasn't showing the right data so it was time for "Bredbandskollen", the command line version.

Bredbandskollen has always been a reliable source when testing internet speed. I'm using their WEB-site and the iPhone app and it have always worked very well.

This post will show how to plot data in a graph according to the picture.

April 05, 2024

Home Assistant core install, Raspberry Pi and Python 3.12

The best way to start with Home Assistant(HA), and Raspberry Pi(RPi), is off course to use the ”Raspberry Pi imager” and in the menu select "Other specific-purpose OS => Home Assistant and home automation => Home Assistant". This will install the HA operating system.

It works very well and here are the install instructions

On the other hand if you want to add HA to a RPi which you already have up and running, without Docker, you need to install something which is called "Home Assistant Core".

Please check the "Remarks" below before you start.


March 01, 2024

OpenPlotter V3, install guide

Updated 2024-03-01 !

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

An overall information about the OP package is found here.

Install guide for the new stable OP, version 4, is found here.

February 20, 2024

Clone the Raspberry boot disk

Updated 2024-02-20 !

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.

January 07, 2024

RPi install Apache/PHP WEB-server

Updated 2024-01-07 ! OK with Bookworm & PHP 8.2 !

As a part of one of my project, the ultimate Weather site ? Weather34, I needed a WEB-host with PHP.

I started up with a fresh Raspberry OS Lite SD Card with Samba installed.

Log on, with ssh/terminal to the RaspberryPi(RPi), 
in this case hostname "pws01", and update the OS with

sudo apt update
sudo apt full-upgrade -y
sudo apt clean

go on and install the Apache server with

sudo apt install apache2

November 08, 2023

Raspberry Pi watchdog made simple

Updated 2023-11-08 for Bookworm !

The purpose of a watchdog timer(WD) is very well described here but a more practical answer is;

If your Raspberry Pi(RPi) "freezes", or hangs, it will automagically reboot within a very short time.

This is made with a combination of hardware and software which is all ready available, on the RPi, and just have to be enabled.

After some hours Googling and testing these are my findings !

October 17, 2023

Raspberry headless install with WiFi

Updated 2023-10-17 !

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

October 13, 2023

NetworkManager on Raspberry, easy start

Updated 2023-10-13 !

There is a "new kid in the block" called
NetworkManager(NM), configuration of network interfaces, which in OS "Bookworm", Debian 12, is replacing the former used dhcpcd.

NM isn't really new since the first public release was made 2004.

In this post I will write down some NM hints for an easy start since I didn't find any myself.

October 12, 2023

NetworkManager UI and access point, hotspot

Updated 2023-10-12 !

In a former post I shared some thoughts about how to start using NetworkManager (NM), on a Raspberry, and here I will continue with additional examples that can help with network setup.
  • NMTUI is NetworkManager text UI which can handle the most common tasks in a easy way.
  • An access point or hotspot will be configured.
  • "sudo nmcli connection edit xxxx" is a command that guides you throw a change of parameters.

October 02, 2023

Bluetooth Beacon and Raspberry

Updated 2023-10-02 !

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

hciconfig 

July 12, 2023

Bluetooth and Node-Red

Updated 2023-07-12 !

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 <= v18. 

March 12, 2023

Upgrade from Buster to Bullseye, Raspberry

Uppdated 2023-10-28 !

I have been running a Raspberry Pi 2(RPi) for several years with Buster and the applications;

When I started with the RPi it was Jessie, then Stretch and Buster. Every time I upgraded the SD card to the latest OS and it just worked. It should been said that I always waited a year or so and I'm using the RPi headless without any GUI.

Now it was time to go from Buster to Bullseye !

March 11, 2023

Raspberry/Linux print server Windows/Apple, CUPS

Updated 2023-03-12 !

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