IotaWatt flashing 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 in Pi Zero W

Yes, instructions as of late 2019! Using a standard Raspbian Install on Pi Zero W. InfluxDB get https://dl.influxdata.com/influxdb/releases/influxdb-1.7.9_linux_armhf.tar.gztar xvfz influxdb-1.7.9_linux_armhf.tar.gzsudo cp -rp usr/* /usr ; sudo cp -rp etc/* /etc ; sudo cp -rp var/* /varsudo cp /usr/lib/influxdb/scripts/influxdb.service /etc/systemd/systemsudo systemctl enable influxdbsudo […]

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 timelapse. Hardware Pi Zero W and 5MP NoIR camera in standard case Software Pi-TiMoLo – fullyfeature, python based. Works out of the box, except pip cannot install pyexiv2 […]

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

Use Monit on AWS and Ubuntu

Examples # Monit local http process check process httpd with pidfile /var/run/httpd/httpd.pid start program = “/usr/bin/systemctl httpd start” stop program = “/usr/bin/systemctl httpd stop” if children > 250 then restart if 3 restarts within 5 cycles then timeout# Monit local endpoint check […]

VBA Regex

Typical Replacement Example Dim objRegExp As Object ‘ RegExp using Microsoft VBScript 5.5 Set objRegExp = CreateObject(vbscript.regexp) Dim res As String res = Some text to stuff around with objRegExp.Global = True ‘ match all instance objRegExp.IgnoreCase = True ‘ Multi-space to […]