ESPHome can now display graphs

Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.

The upcoming release of ESPHome 2021.10.0 adds a major new feature for displays to the already feature-packed tool: graphs. These can be used on any compatible display, and lines can easily be differentiated using colours. This functionality finally allows us to not only display the current state of a sensor on an ESPHome node, but also historical data alongside it.

The new graphing function isn't a half-baked early release, but already offers a host of customization options. If you want inspiration for your next ESPHome project featuring a display, I have featured numerous examples in the past. These types of projects will, of course, become all the more interesting with this release.

As we have come to expect, ESPHome will offer numerous ways of customizing each graph. These include basic settings such as the height, width, and graph history duration. Additional options allow you to enable or disable the border, create an x- and y-grid, and set the maximum and minimum values for each axis. Using traces, multiple sensors can be displayed in the graph. These can be differentiated by the line type (solid, dashed, or dotted), line thickness, and line colour.

A portrait photo oif Liam Alexander Colman, the author, creator, and owner of Home Assistant Guide wearing a suit.

About Liam Alexander Colman

is an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container.
With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.

Leave a comment

Share to...