Solar PV, Batteries and … Maths

Some, it all seems pretty simple, right? It’s just import, export, consumption. This post clarifies the sign (+ or -) conventions I use which seem to make things easiest. Each of the three images has a ‘control volume’ where we measure power […]

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

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

IotaWatt: Multi-Tenant Setup using InfluxDB

This post describes how to setup IotaWatt on a single-database (multi-tenant) arrangement in Influx. Previously I described single database setup for Influx, Grafana and IotaWatt. Much of that information is relevant, but changes are noted here. Setup database (once) It’s better practice […]

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 (via grafana. […]

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

Investigating for IotaWatt, AWS, InfluxDB and Grafana

I’ve previously used EmonCMS to log power and energy data from a IotaWatt¬† / EmonTx system. This works well, but I’ve been looking for a flexible and fast alternative. The combination of IotaWatt, InfluxDB and Grafana look to provide this. My experiences […]

Sizing a Battery and Solar System with Phisaver Data

This follows how I sized a solar and battery system for my house, using energy monitoring data from phisaver. An example of the data is below: Sizing the System Firstly I checked the daily consumption, and night-time consumption: Daily average of 13.5kWh/day. […]

Iotawatt: Single Tenant InfluxDB and Grafana Setup

This post summarises how I configure IotaWatt, InfluxDB and Grafana to display energy consumption. It uses an AWS EC2 instance. See installation for preliminary details and IotaWatt: Multi-Tenant Setup using InfluxDB # bash influx # influx CREATE DATABASE iotawatt-database-name USE iotawatt-database-name CREATE […]

Improving Fridge Performance

As recent client had a few fridges, including wine fridges. They varied in age. Initial PhiSaver analysis over a few weeks showed “Power” was the major user. Power includes all powerpoints in this case. Often this is relatively low but here the […]