An E-Ink Display - Icons And Basic Graphics

An E-Ink Display - Icons And Basic Graphics

Paul Goulbourn
We have previously shown how to display text on our E-Ink display, but to enhance the user experience, it’s crucial to be able to create basic icons and graphics. ESPHome provides detailed documentation on this topic. As an example, here’s a simple code snippet from my lambda: // // center vertical line // it.line(max_x/2,row_indent, max_x/2, max_y-row_indent); max_x and max_y are the max dimensions of my screen. Icons are slightly more complex, but libraries like Material Design make life easier.

An E-Ink Display - HomeAssistant Data

Paul Goulbourn
The next focus is how can we present data that we are interested in onto our E-Ink display screen. One of the things I want to use the display for is to show information on the energy usage of our home. Within Home Assistant I have access to info like the current house battery level, energy imported from the grid, energy exported and the current costs. So within ESPHome you can expose home assistant data by defining entries in the sensor section of the YAML file as follows :
An E-Ink Status Display - Battery Status

An E-Ink Status Display - Battery Status

Paul Goulbourn
The firebeetle 2 supports charging and being powered via a LiPo battery. This means it can be moved around and left without being plugged into a USB cable for extended periods of time. In addition the firebeetle also supports a deep sleep mode that reduces its power consumption hugely (one for a later post). To get hold of the current battery voltage you can use a sensor in esphome :

An E-Ink Status Display - First Steps

Paul Goulbourn
I’ve been looking at the excellent TRMNL TRMNL device and have been very impressed by the simple ecosystem they have created and the openness of the software. My particular itch was to create a display showing information about elements of our home. Things like energy usage/generation, car charge levels, weather forecasts etc. It looks like this would all be possible with TRMNL and I might need to write a simple plugin for the homeassistant data I wanted to consume.

Home Assistant Static Network Routes

Paul Goulbourn
I run home assistant using the pi docker image. My IOT devices live on different networks to devices in the home and I have a slightly weird network setup at this moment in time that means I can’t create static routes at a router level for a couple of these IOT subnets. I can easily add the required static routes using ssh into the docker container /sbin/route add -net 172.16.2.0 netmask 255.

Monitoring Anderssen Konnect A2

Paul Goulbourn
Home Assistant has an excellent system for monitoring energy usage/solar generation/grid usage/gas usage, etc. One of the features is the ability to monitor specific devices, i.e., anything that can show electricity usage in kWh. We’ve been able to monitor many devices, like the fish tank, computers, etc., using plugs that can monitor power usage. However, many things are harder to measure, and it’s not economical to add monitors to everything in the house.

Controlling Solis Inverters With Home Assistant

Paul Goulbourn
Our general setting for the house prioritises energy use as follows : Solar » Battery » Grid This means we minimise our usage of the grid when possible. Given the cheap rate period of energy usage through the night, we had manually set the inverter to charge the battery from the grid during the core hours 23:30 - 05:30. This effectively stops the battery from being used to power the house in that period and we have no solar in that period bar the peak summer months.

3D Printed Hydroponics Tower

Paul Goulbourn
Last summer I became curious about trying hydroponics to grow basic greens on our patio. I looked at potential systems, but the UK pricing for solutions was expensive. For tower systems, these would typically cost £300-£500+ for a tower capable of growing 12-18 plants. This was more than I was prepared to spend to find out if it was something I was interested in. Earlier in the year I purchased a Bambu X1C that I ran alongside an older Prusa Mk3S.

Simple Dependency/SBOM/License/Vulnerability Tracking

Paul Goulbourn
I’ve recently been returning to writing some software. I was looking for an automated solution to allow me to do the following things : Track Vulnerabilities Track Licenses Used Track Package Versions I also wanted something that would alert me to new vulnerabilities appearing even when I’ve not performed a build on the project for a while. Ideally, this would be free until I find a revenue stream for the software.

The End Of The Solar Dance

Paul Goulbourn
Apologies for the lack of updates on the projects for managing solar, but something happened in January that changed everything. My original solar installer wrote to us suggesting a battery upgrade for the house. They provided a lot of data on what we had used and when since the installation. They had a payback that was at around three years. Since I’d done a lot of the maths the previous year, I pushed all the data into a spreadsheet and it became obvious that this was the way forward for us.