Backup and Restore SD Cards using linux

Once a Pi is setup, it’s useful to clone the SD card and save the state. Here’s how. But wait! Is it exactly the same on a different machine? No! Change the cloned Pi a bit: Hostname (raspi-config and reboot) AP and […]

Insulating a Queenslander

Stud Walls Often you can’t access the wall without removing weatherboard or plaster. However, the stud bays in my house are open – no noggings, few wires. Therefore I’ll try to pump in insulation via (1) top (2) bottom or (3) a […]

Big Pete and The Champ

Big Pete Pre made wort: 1/2 whiskey wort, 1/2 smoked porter Dry malt: dark, 1kg Yeast: Belgium yeast 2 week ferment Dextrose: 70g Tastes ok on bottling. The Champ Pre made wort: 1/2 whiskey wort, 1/2 smoked porter Belgium yeast Primary ferment […]

Zinken Compact 21 : Repairs

I bought this unit in Brisbane, Australia. This records details in case they are useful to others. Bearings Bearings were mostly stuffed after 30 years. They are metric and available from standard suppliers. Steel sides (ZZ). Spindle Molder Belt Idler: 6000 (x2) […]

PiZeroW AP + Wifi Client

So I wanted to be able to set the Wifi details of a Pi without connecting a monitor and keyboard. Easy, right? No. RaspAP almost does it out-of-the-box, but I couldn’t quite crack it. It’s the best solution once it’s working. Update […]

Time Travel, unittest.mock, freezegun and monkeypatch

To test time-dependant programs, such as timelapse camera, we can fudge the system time (sleep,. now()) in Python. Some options are: https://github.com/spulec/freezegun/ This is easy to use, but doesn’t manage sleep(). Use monkeypatch to override sleep(). Another is unittest.mock (good intro) which […]

Ubuntu 18 on Dell Windows 10

Notes on how to install and tune a HyperV VM running Ubuntu linux, for development. Did this March 2020. Did it on an older 6430u Dell and a brand new Dell laptop. VM HyperV Need Windows Pro and HyperV install. Use “Quick […]

Battery PiZero W, PiJuice Zero and a Camera

Goal Make a really simple timelapse camera. Runs on a Pi and uploads photos when WiFi available Always taking photos and saving. Always trying to upload photos. Wifi setup to act as host or client Option: Battery Bank Not that efficient but […]

Raspberry Pi Setup (Linux)

Setup SD Card on another linux machine to install headless I use minimal Raspian distro. This is tested on a Pi Zero and a Pi 4 in Feb 2020. It’s easier to # find the sd card device lsblk -p | grep […]

SSH Port Forwarding

There’s heaps on this on the internet and a good book. Here is my usage, which is useful for IoT connections. Remote Server Access I want to connect remotely to a web server on machine.com. But it’s behind a firewall which refuses […]