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

SSH Port Forwarding

There’s heaps on this on the internet. Here is my specific take. Useful for IoT connections. Don’t forget to secure things. Remote Server Access I want to connect remotely to a web server on machine.com. 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 https://community.iotawatt.com […]

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

WebApp Development for a Esp32 Arduino Sketch

AJAX or websockets will allow nicer development. I’m trying BootStrap to get a tidy interface. Bootply.com and layitout.com 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 […]

ESP32 Tricks and Tips

Time Keeping The ESP32 docs say you can set the RTC to keep time in deep sleep (“RTC clock is used to maintain accurate time when chip is in deep sleep mode”). This post details how to restore normal system time from […]

Mini Battery and Solar Powered Timelapse Camera

I wanted a small, battery-powered timelapse camera. First I tried mobile phones but they were not stable in the long term. Previously I’d used a Raspberry Pi which is good, but not battery friendly, a bit big, and a bit of an […]

Hacking the Sungrow 5 Inverter

This inverter has a WiFi connection and opens ports 80 (password protected) and 502 (modbus). It’s possible to read the modbus registers. There’s a handy script that’s done all the hard work. This can import into Influx, as shown below on the […]

Access Grafana v5 via token without login screen

This works for Grafana v5. Grafana v6 has removed this functionality for security reasons. This explains how I implemented a previously outlined solution, in a step-by-step fashion. I initially struggled to get this running.   There’s the method that worked. Overview The goal […]