Local Energy Monitoring using the Emporia Vue 2

This article is part of the Home Energy Monitoring series.

I’ve previously explored the world of home energy monitoring systems and in the past arrived at using the Brultech GreenEye Monitor for a project in a friend’s house. It had the advantage of being local out-of-the-box and had a wide range of compact CTs that made fitting the electronics in the breaker box a lot easier, but it had one flaw that made it not suitable for my condo. It had to be mounted outside the breaker box with wires running into the box.

Zeppelin v0.10 not showing matplotlib graphs

I upgraded to Apache Zeppelin v0.10.x from v0.9.x and randomly my Python Matplotlib scripts stopped rendering images. Anything that called the plot method would just return the string response of the function. Like below: 1 2 3 4 5 %python import matplotlib.pyplot as plt plt.plot([1, 2, 3]) [<matplotlib.lines.Line2D at 0x7ff547624210>] If this happens to you, just add the following directive after %python: 1 2 3 4 5 %python %matplotlib inline import matplotlib.

Rewriting Home Assistant Long-term statistics from InfluxDB

In an earlier post, I made an error that incorrectly aggregated the energy data which resulted in hugely inflated aggregated energy usage. All the un-aggregated data was accurate, but the sums were wrong. Luckily I had all the raw data stored in InfluxDB and could rebuild it. In this post, I walk through how to re-write the Home Assistant Long-term statistics database to fix this mistake. A grossly high electric bill

From a random Kubernetes control plane crash to a new RAID array

My external cluster runs on 3 different dedicated servers (most from SoYouStart.com.) I have 3 machines since the Kubernetes control plane needs 3 or more to be able to have a quorum and be able to handle any one machine going down. If one machine goes down, then the other two maintain a majority and can agree on the state of the cluster. I randomly encountered issues where the Kubernetes control plane of Rancher UI would crash and restart.