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 […]

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 But it’s behind a firewall which refuses […]

Hacking an IotaWatt ESP8266

I need to flash the IotaWatt firmware (and write new files to the SD card) for two reasons: firstly I have a bricked IotaWatt, and secondly I want to try to modify the firmware to sample at 1 seconds intervals. Resources […]

Grafana and InfluxDB on a Pi

Instructions as of late 2019! I used a Pi Zero W. This works but was pretty slow and awful for a my application. I then tried with a RPi 4B 2Gb and a RPi 3B. Preliminary From linux docs or see my […]

Access Grafana v6 without a login screen

Unlike Grafana 5, we can’t use the ‘old’ method of a proxy login to get a cookie for semi-permanent login. This post investigates options to achieve the goal of: Provide a user a “secret” URL which allows them to login to grafana […]

Pi Zero W Timelapse Camera

This scratch pad records my experience with a Pi Zero W unit, capturing outside timelapses. Controlling the PiCamera Reference to python module for control of the Pi Camera (I’m using r1.3). Dev Setup On a headless pi, it’s a pain to view […]

WebApp Development for a Esp32 Arduino Sketch

AJAX or websockets will allow nicer development. I’m trying BootStrap to get a tidy interface. and enable you to easily create a css/html set of file to display nice buttons and the like. Pingendo (a desktop app) was better for […]