Automation

Build an E-Ink Home Assistant Dashboard: TRMNL, E1001, Inkplate

This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. Learn more.

Every Home Assistant dashboard you have built so far assumes a screen that is always awake, and that assumption is exactly what an e-ink panel breaks. The panel spends almost its whole life asleep with Wi-Fi off, wakes for a few seconds, draws one picture and goes back to sleep. So an e-ink Home Assistant dashboard is not a smaller Lovelace view. It is a small pipeline that turns entity states into a finished 800×480 picture, or a firmware that draws the values itself, and the hardware you buy decides which pipeline you are signing up for.

Original content from computingforgeeks.com - post 187407

We built the server and firmware sides of all three paths on one Ubuntu 24.04 lab VM; no panel was flashed. A self-hosted TRMNL server (LaraPaper) polls the Home Assistant REST API, ESPHome firmware targets the Seeed reTerminal E1001 and the Soldered Inkplate 10, and a headless browser screenshots a Lovelace view. With no panel on the bench, the device side stops at compiled firmware and an emulated poll. The behavior described here was checked in November 2026 against Home Assistant 2026.11, and the picks are ranked in our e-ink display buyer guide for Home Assistant.

How an e-ink Home Assistant dashboard gets its picture

An e-ink panel gets its picture in one of two ways: it downloads an image someone else rendered, or it runs firmware that draws text and shapes from values it receives. Everything else is detail. The first model is what TRMNL firmware does, and it keeps the device dumb and the battery happy because the expensive work (fetching data, laying it out, dithering it to 1-bit) happens on a server. The second is ESPHome, where Home Assistant pushes entity states over its native API and a C++ lambda on the ESP32 places them on the panel.

We wired up three routes, shown below. Two of them end in a PNG, one ends in widgets drawn on the device, and only the ESPHome route keeps a live connection to Home Assistant:

Diagram of three ways Home Assistant data reaches an e-ink panel: LaraPaper polling the REST API for TRMNL firmware, ESPHome over the native API, and a Lovelace screenshot served as a PNG

Pick the path before the panel, because each one fails differently. This table puts the trade-offs side by side, using what we saw in the lab for the server side and the maker documentation for the device side.

PathWhere layout happensWhat the device runsHome Assistant accessBest fit
TRMNL server (LaraPaper or TRMNL cloud)Server renders HTML to a 1-bit PNGTRMNL firmware, polls /api/displayServer polls the REST API with a tokenBattery panels on a wall, many screens
ESPHomeLambda on the ESP32ESPHome firmware you compileNative API on port 6053One panel, live values, USB power
Dashboard screenshotHeadless Chromium renders a Lovelace viewAnything that can fetch a PNGLong-lived token in the rendererReusing an existing dashboard as is

Most people should start with the TRMNL server path, because the layout lives in an HTML template you can edit and preview in a browser, and the device needs nothing beyond a server URL. ESPHome is the better choice when you want the panel to react within seconds to a door opening, and you are happy to keep it on a cable.

Which panel runs which firmware

Devices people shortlist overlap more than their marketing suggests, because two of them are plain ESP32 boards that accept either firmware. What separates them is the panel size, the battery and whether the maker ships a ready case. Figures below come from the makers’ stores and wikis as fetched in November 2026.

DevicePanelChipBattery (maker figure)Firmware it can runPrice band (Oct 2026)
TRMNL OG7.5″, 800×480, 4 graysESP32-C31800 mAh (2500 mAh upgrade), 3-6 months typical on the spec sheetTRMNLabout $139 direct
Seeed reTerminal E10017.5″, 800×480, monoESP32-S3, 8 MB PSRAM2000 mAh, up to 3 months in deep sleep at a 6-hour refresh (store page)ESPHome, TRMNL, Arduinoabout $69 at Seeed, plus a $50 TRMNL BYOD licence for TRMNL’s cloud
Soldered Inkplate 109.7″, 1200×825, grayscaleESP323000 mAh with the enclosure kit, 22 µA deep sleepESPHome, Arduino, MicroPythonabout €190 direct, bare board
Seeed XIAO 7.5″ ePaper Panel7.5″, 800×480, monoXIAO ESP32-C32000 mAhTRMNL, ESPHome, Arduinoabout $75 to $80, plus the same $50 BYOD licence for TRMNL’s cloud

At $139 on the TRMNL store with no subscription, the TRMNL OG is the one device here that only runs TRMNL firmware, so it suits the server path and nothing else. The reTerminal E1001 is the flexible one: it ships a case, buttons, a temperature and humidity sensor and a battery, and both ESPHome and LaraPaper list it as supported. The Inkplate 10 gives you the biggest and sharpest panel, but it is a bare board unless you buy the enclosure kit, and it is ESPHome or Arduino only. The XIAO panel is the one of the four sold on Amazon. Price bands are from our buyer guide’s October 2026 check and store discounts move them, so confirm the live price before you buy. On either Seeed device, TRMNL firmware against TRMNL’s own cloud needs the $50 BYOD licence (check stock, it sold out in late October); TRMNL’s BYOD page says a self-hosted server like LaraPaper does not need one.

If a lit screen is acceptable, a wall tablet for Home Assistant gives you touch and instant updates that e-ink cannot match. And when you would rather run a full Linux kiosk behind glass, a Raspberry Pi 5 touchscreen is the other build. E-ink wins only where the screen must stay readable all day without glowing or a cable, which is why the rest of this guide treats sleep time as the design constraint.

Why the refresh interval decides battery life

Battery life on these panels is set by how often the device wakes, not by how much it draws while asleep. The Inkplate 10 makes this obvious: Soldered rates it at 22 µA in deep sleep, and 3000 mAh divided by 0.022 mA is about 136,000 hours, which is over 15 years. No real build gets anywhere near that, because every wake joins Wi-Fi, fetches data and drives the panel through a refresh, and those few seconds of radio and panel activity are where the battery actually goes.

So the maker claims carry conditions. Seeed’s store page quotes “up to 3 months” for the E1001 in deep sleep at a 6-hour refresh interval (its wiki says only “with default settings”), and TRMNL’s spec sheet quotes “3-6 months” for typical use next to a 15-minute default refresh. LaraPaper’s default device interval is 900 seconds, which is 96 wakes a day against Seeed’s 4, and even an hourly interval is still 24, so expect a fraction of the headline figure if you keep that default. The levers that matter, in the order they pay off:

  • Refresh interval: a weather and bin-day panel is fine at 30 to 60 minutes, and every halving of the interval roughly doubles the number of wakes.
  • Deep sleep in ESPHome: without a deep_sleep block the ESP32 stays on Wi-Fi all the time, so treat a plain ESPHome build as a USB-powered display.
  • Image changes: TRMNL’s API docs tell the server to change the image filename only when the image changes, which is the signal the firmware uses to decide on a redraw, so a template that only changes with the data saves panel refreshes.
  • Wi-Fi signal: a weak link means slower joins and retries on every wake, and the device reports its RSSI to the server on each poll, so you can see it.

A server-side refresh_rate is how a TRMNL-firmware device learns when to wake next, so you control battery life from the server side without touching the panel. That is a big practical advantage of the server path over a battery ESPHome build, where changing the interval means a reflash over the air while the device happens to be awake.

Run Home Assistant and create a token

Every path below reads Home Assistant through either the REST API or the native API, so the first job is a running instance with a few entities worth showing and a long-lived access token. If you already run Home Assistant, skip to the token. Our lab ran the container image with host networking, which is the same setup as our Home Assistant in Docker guide:

mkdir -p ~/ha/config && vim ~/ha/compose.yaml

Add the service definition:

services:
  homeassistant:
    container_name: homeassistant
    image: ghcr.io/home-assistant/home-assistant:stable
    network_mode: host
    restart: unless-stopped
    volumes:
      - ./config:/config
      - /etc/localtime:/etc/localtime:ro

For a lab you need data that looks like a real home, so we gave the instance an outdoor temperature, indoor humidity, a front door and a bin-day reminder. On your own system these are your real sensors, and only the entity IDs matter for the rest of the guide. Open the configuration file:

vim ~/ha/config/configuration.yaml

We used helper and template entities. The input_* helpers hold the values, and the template sensors give them the device classes and units a dashboard expects:

default_config:

input_number:
  living_room_temp:
    name: Living room temperature
    min: 10
    max: 35
    step: 0.1
    initial: 21.5
    unit_of_measurement: "°C"
  outdoor_temp_raw:
    name: Outdoor temperature raw
    min: -30
    max: 45
    step: 0.1
    initial: 8.4
  humidity_raw:
    name: Indoor humidity raw
    min: 0
    max: 100
    step: 1
    initial: 47

input_boolean:
  front_door_open:
    name: Front door open
    initial: false

input_text:
  next_bin_day:
    name: Next bin day
    initial: "Thursday: green bin"

template:
  - sensor:
      - name: "Outdoor temperature"
        unique_id: outdoor_temperature
        unit_of_measurement: "°C"
        device_class: temperature
        state: "{{ states('input_number.outdoor_temp_raw') }}"
      - name: "Indoor humidity"
        unique_id: indoor_humidity
        unit_of_measurement: "%"
        device_class: humidity
        state: "{{ states('input_number.humidity_raw') }}"
      - name: "Next bin day"
        unique_id: next_bin_day
        state: "{{ states('input_text.next_bin_day') }}"
  - binary_sensor:
      - name: "Front door"
        unique_id: front_door
        device_class: door
        state: "{{ is_state('input_boolean.front_door_open', 'on') }}"

Start the container from the ~/ha directory and finish the onboarding wizard in a browser at port 8123:

cd ~/ha && docker compose up -d

A token is what lets LaraPaper and the screenshot renderer read states without a login session. Open your profile, choose Security, scroll to the Long-lived access tokens card and click Create token. Home Assistant shows the token once, so copy it straight into a password manager:

Home Assistant profile Security page scrolled to the Long-lived access tokens card with the Create token button

Keep the token and the address of your Home Assistant host in shell variables for the tests that follow. Replace both values with yours:

export TOKEN="paste-your-long-lived-token-here"
export HA_URL="http://10.0.1.50:8123"

Before building anything on top of the API, prove that the token can read the entities your panel will show. A 401 here means a bad token, and a 404 means a wrong entity ID:

curl -s -H "Authorization: Bearer $TOKEN" "$HA_URL/api/states/sensor.outdoor_temperature"

Each state comes back as one JSON object. The state field is always a string (“8.4”, “off”), and the unit and friendly name sit under attributes, which matters later because the template has to stitch them together itself:

Terminal on Ubuntu 24.04 showing Home Assistant 2026.11.1 running in Docker and REST API state objects for the outdoor temperature and front door entities

Note that the front door reads off, not “closed”. A binary sensor’s state is on or off in the API whatever its device class, and the word “Closed” you see in the Home Assistant UI is a translation the frontend adds.

Run your own TRMNL server with LaraPaper

LaraPaper is the community “bring your own server” (BYOS) implementation of the TRMNL device API, formerly called byos_laravel and now published as usetrmnl/larapaper. It speaks the same protocol as TRMNL’s cloud, so a TRMNL OG, a reTerminal E1001 or a XIAO panel running TRMNL firmware can point at it instead. TRMNL’s BYOD licence page says a self-hosted server does not need the licence, which is the other reason to run your own. We used release 0.46.0, a security release from November 6, 2026, so stay on the latest tag rather than pinning an older one.

mkdir -p ~/byos && vim ~/byos/compose.yaml

We ran this compose file in the lab, with the application key replaced by a placeholder. Generate your own key with echo "base64:$(openssl rand -base64 32)" and paste it in:

services:
    app:
        image: ghcr.io/usetrmnl/larapaper:latest
        ports:
            - "4567:8080"
        environment:
            - APP_KEY=base64:your-generated-key-here
            - APP_URL=http://10.0.1.50:4567
            - PHP_OPCACHE_ENABLE=1
            - TRMNL_PROXY_REFRESH_MINUTES=15
            - DB_DATABASE=database/storage/database.sqlite
        volumes:
            - database:/var/www/html/database/storage
            - storage:/var/www/html/storage/app/public/images/generated
        restart: unless-stopped
volumes:
    database:
    storage:

APP_URL is the setting that bit us. We first left it at http://localhost:4567, and every poll still returned status 0 with a valid image, so nothing looked wrong. But LaraPaper builds the image_url it hands the device from APP_URL, not from the address the request came in on. A panel on your Wi-Fi would have been told to download its picture from localhost, which is the panel itself. Set it to the LAN address the panel can reach, and the URL in the response follows:

APP_URL=http://localhost:4567   ->  "image_url": "http://localhost:4567/storage/images/generated/2ab54024-f803-4588-8379-f8d90fcb9dab.png"
APP_URL=http://10.0.1.50:4567   ->  "image_url": "http://10.0.1.50:4567/storage/images/generated/2ab54024-f803-4588-8379-f8d90fcb9dab.png"

Start the server and open http://10.0.1.50:4567 to register the first account:

cd ~/byos && docker compose up -d

LaraPaper needs to know a device before it will serve it, and there are two ways to introduce one. Click Add Device to enter the panel’s name, Mac Address and API Key by hand (the dialog can generate the key), or flip the Auto-Join switch in the header so the next unknown panel that calls /api/setup registers itself. Release 0.46.0 turns Auto-Join off after an upgrade and times it out after 15 minutes, so you enable it right before you power the panel:

LaraPaper Devices list with the Hallway display device, the Add Device button and the Auto-Join switch

We added ours by hand as “Hallway display” with an invented MAC of AA:BB:CC:DD:EE:01 and the 800×480 TRMNL OG model. A hand-added device gets its API key from /api/setup only until it first calls in. After that, and for any unknown MAC, setup returns 404 unless Auto-Join is on, which is what our emulated panel hit after its first poll. So run the curl tests below against a test device with an invented MAC, and turn Auto-Join on right before you power a real panel that has already connected once. In the lab we created the device, recipe and playlist entry from LaraPaper’s artisan console rather than by clicking, and the screenshots show the same records in the web UI.

How a recipe turns entity states into an image

A LaraPaper recipe does three jobs in order. It fetches JSON from one or more URLs on a schedule, feeds that JSON into an HTML template, and renders the result in a headless browser at the panel’s resolution and bit depth. For Home Assistant the URLs are the same /api/states/ endpoints you just tested with curl. Open Plugins & Recipes, click Add Recipe, give it a name (ours is “HA status”) and choose the Polling strategy. Then list one URL per line under Polling URL. The screenshot shows the lab VM’s own private address where the code blocks use 10.0.1.50; use your Home Assistant host’s LAN IP in both places.

LaraPaper HA status recipe with the Polling strategy and the Polling URL list for the four Home Assistant entities

Our lab used four lines. Each URL becomes a variable in the template, numbered from zero in the order you list them:

http://10.0.1.50:8123/api/states/sensor.outdoor_temperature
http://10.0.1.50:8123/api/states/sensor.indoor_humidity
http://10.0.1.50:8123/api/states/binary_sensor.front_door
http://10.0.1.50:8123/api/states/sensor.next_bin_day

Your token goes on the Settings sub-tab of the same card. Put Authorization: Bearer followed by your token in Polling Headers, one header per line, and click Save. LaraPaper then shows the fetched data on the right as IDX_0 to IDX_3, which is the quickest proof that the token and URLs are right:

LaraPaper HA status recipe with Polling selected, the polling URLs and the Polling Headers field holding the Authorization header

Next comes the template. In the Markup section pick Liquid as the template language and paste the layout into the Liquid Code editor. Our first attempt rendered a blank screen with only the footer bar, even though the data payload was fine. The cause was the wrapper: TRMNL’s design framework only lays out content inside a view view--full element using its columns, item, value and label classes, and plain grid markup without that wrapper draws nothing. This version worked:

LaraPaper HA status recipe Markup section with Liquid selected and the Liquid Code editor holding the template

Each value comes from a state and its attributes, and the template rounds the humidity and turns the door’s on or off into words a person reads from across the hall.

<div class="view view--full">
  <div class="layout layout--col gap--space-between">
    <div class="columns">
      <div class="column">
        <div class="item"><div class="meta"></div><div class="content">
          <span class="value value--xxxlarge" data-fit-value="true">{{ IDX_0.state }}{{ IDX_0.attributes.unit_of_measurement }}</span>
          <span class="label">{{ IDX_0.attributes.friendly_name }}</span>
        </div></div>
      </div>
      <div class="column">
        <div class="item"><div class="meta"></div><div class="content">
          <span class="value value--xxxlarge" data-fit-value="true">{{ IDX_1.state | round: 0 }}{{ IDX_1.attributes.unit_of_measurement }}</span>
          <span class="label">{{ IDX_1.attributes.friendly_name }}</span>
        </div></div>
      </div>
      <div class="column">
        <div class="item"><div class="meta"></div><div class="content">
          <span class="value value--xxxlarge" data-fit-value="true">{% if IDX_2.state == "on" %}OPEN{% else %}CLOSED{% endif %}</span>
          <span class="label">{{ IDX_2.attributes.friendly_name }}</span>
        </div></div>
      </div>
    </div>
  </div>
  <div class="title_bar"><span class="title">Home Assistant</span><span class="instance">Bins: {{ IDX_3.state }}</span></div>
</div>

Click Preview before you assign anything to a device. The dialog renders the markup for the model you pick (TRMNL OG at 1-bit here), and Render Image produces the exact bitmap the panel would get. That makes the Rendered preview the cheapest place to catch a blank layout or a label that wraps.

LaraPaper Preview HA status dialog showing the Liquid markup rendered for the TRMNL OG 1-bit screen, with the Render Image button

A recipe does nothing until it sits in a device’s playlist. Click Add to Playlist on the recipe page, tick Hallway display (or whatever you called your panel) and confirm with the dialog’s Add to Playlist button:

LaraPaper Add to Playlist dialog listing the Hallway display device with its checkbox and the Add to Playlist button

Afterwards the Playlists page lists HA status under the device’s Default playlist with its switch on. With more than one recipe in the list, the device rotates through them one per wake, which is how a single panel shows the house status, then the weather, then a calendar:

LaraPaper Playlists page with the Hallway display Default playlist listing the HA status recipe with its status switch enabled

Rotation multiplies wakes for nothing if the extra screens only change once a day, so keep a battery panel’s playlist short and let the house-status recipe carry the data that changes.

What the panel asks the server on every wake

A couple of HTTP GETs make up the whole TRMNL device protocol, which is why one server can drive panels from different makers. On each wake the firmware calls /api/display with its MAC in the ID header, its key in Access-Token, and its battery voltage, signal strength and screen size as more headers. The server answers with JSON that names the image to fetch and how long to sleep. You can play the device’s part with curl, which is how we tested the server with no panel in hand. Put the API key LaraPaper showed for the device in a variable first:

export API_KEY="the-device-api-key-from-larapaper"

Then send the same headers the firmware sends:

curl -s http://localhost:4567/api/display -H "ID: AA:BB:CC:DD:EE:01" -H "Access-Token: $API_KEY" -H "Refresh-Rate: 900" -H "Battery-Voltage: 4.12" -H "FW-Version: 1.6.9" -H "RSSI: -58" -H "Width: 800" -H "Height: 480"

Read three fields in the answer. A status of 0 tells the firmware to draw, and refresh_rate 900 tells it to sleep 15 minutes. The filename only changes when the picture does, which is how the firmware knows whether a redraw is needed. The second request in the capture uses a wrong token and gets a 404 with a message that does not say whether the MAC or the key was wrong:

Terminal showing a curl request emulating a TRMNL device poll to the LaraPaper /api/display endpoint, the JSON response with image_url and refresh_rate 900, and a 404 for a wrong access token

Download the image the server named and check what it actually is. The panel’s decoder is picked from the Content-Type header, and TRMNL’s BYOS docs say a BMP must be exactly 800×480 at 1 bit per pixel, so it is worth confirming the server is not sending a full-color file. The command reads the JSON with jq, which a fresh Ubuntu install lacks until you run sudo apt install -y jq:

curl -s -o trmnl-render.png "$(curl -s http://localhost:4567/api/display -H "ID: AA:BB:CC:DD:EE:01" -H "Access-Token: $API_KEY" | jq -r .image_url)"
file trmnl-render.png

LaraPaper’s render is a 1-bit, two-color PNG of 3,485 bytes, which is why a battery device can fetch it in a fraction of a second even on a weak signal:

Terminal showing file and identify reporting the LaraPaper render as an 800 x 480 1-bit bilevel PNG of 3485 bytes

A panel would draw exactly this bitmap, straight from the server with no resizing. The gray dither in the label columns and the title bar comes from TRMNL’s design framework, which fakes shades with dot patterns on a two-color panel:

The 800x480 1-bit image LaraPaper rendered from Home Assistant: 8.4 degrees outdoor temperature, 47 percent indoor humidity, front door closed and the next bin day in the title bar

LaraPaper records each poll against the device, and the device page shows the Current screen it last served along with the reported firmware version, signal and battery. When a real panel stops updating, this page tells you whether it is still calling in:

LaraPaper device page for Hallway display with the current screen rendered from the HA status recipe

Pointing a real device at the server happens in its Wi-Fi setup portal. According to the LaraPaper README, TRMNL firmware 1.4.6 and newer offers a “Custom Server” option after you enter the Wi-Fi details, and you type the same URL you set as APP_URL. Seeed documents the TRMNL route for the E1001 on its reTerminal TRMNL wiki page; that page is written for TRMNL’s cloud and its BYOD licence, while a self-hosted server like this one needs no licence.

Why ESPHome draws on the device instead

ESPHome flips the model: Home Assistant streams entity states to the ESP32 over the native API, and a lambda in the YAML draws text and numbers with fonts compiled into the firmware. Nothing renders HTML and no image crosses the network, so a door sensor can change the panel within one display update rather than waiting for the next poll. The cost is that layout is C++ coordinates instead of a template you preview, and that a panel which must stay connected to receive states is a powered panel in practice.

For the reTerminal E1001 we began with the display block on Seeed’s ESPHome wiki page, and kept its pins and panel model unchanged. Then we added what the snippet leaves out, namely the board, Wi-Fi, the API and a Home Assistant sensor. The esp32-s3-devkitc-1 board value is our choice, because Seeed’s snippet does not name one. Create the file in your ESPHome config directory:

mkdir -p ~/esphome && vim ~/esphome/reterminal-e1001.yaml

Below is the exact file that compiled. The BUSY pin is inverted, which ESPHome’s docs require for the Waveshare 7.5-inch V2 panel family this display uses:

esphome:
  name: reterminal-e1001
  friendly_name: reTerminal E1001

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf

logger:

api:
  encryption:
    key: !secret api_key

ota:
  - platform: esphome
    password: !secret ota_password

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:
    ssid: "reterminal-e1001 Fallback"

captive_portal:

sensor:
  - platform: homeassistant
    id: outdoor_temperature
    entity_id: sensor.outdoor_temperature
    internal: true

# define font to display words
font:
  - file: "gfonts://Inter@700"
    id: myFont
    size: 24
  - file: "gfonts://Inter@700"
    id: bigFont
    size: 96

# define SPI interface
spi:
  clk_pin: GPIO7
  mosi_pin: GPIO9

display:
  - platform: waveshare_epaper
    id: epaper_display
    model: 7.50inv2 # You can use 7.50inv2alt when you draw complex info and it display not good.
    cs_pin: GPIO10
    dc_pin: GPIO11
    reset_pin:
      number: GPIO12
      inverted: false
    busy_pin:
      number: GPIO13
      inverted: true
    update_interval: 300s
    lambda: |-
      it.print(20, 20, id(myFont), "Outdoor temperature");
      if (id(outdoor_temperature).has_state()) {
        it.printf(20, 80, id(bigFont), "%.1f C", id(outdoor_temperature).state);
      } else {
        it.print(20, 80, id(bigFont), "waiting for HA");
      }

Each !secret value comes from a secrets.yaml next to it holding wifi_ssid, wifi_password, api_key (a base64 key, which the ESPHome dashboard generates for you) and ota_password. Ours held placeholder values like these, which compile but will not join a real network:

wifi_ssid: "lab-wifi"
wifi_password: "dummy-password"
api_key: "bXlkdW1teWFwaWtleW15ZHVtbXlhcGlrZXkxMjM0NTY="
ota_password: "dummy-ota"

Put your own SSID and password in, and let the ESPHome dashboard generate the key. Compile with the official container, no toolchain install needed:

docker run --rm -v ~/esphome:/config ghcr.io/esphome/esphome:stable compile reterminal-e1001.yaml

ESPHome 2026.10.2 built it on the first try. The firmware uses half of the app partition and 30% of RAM, so there is room for more sensors and a second font before size becomes a concern:

Terminal showing ESPHome 2026.10.2 compiling the reTerminal E1001 firmware with 30 percent RAM and 50.6 percent flash used and the OTA password warning

Act on the one warning. The compiler says an OTA password “wastes significant flash and RAM”, and ESPHome recommends encrypting OTA with the API key instead: replace the password line with a bare encryption: line under - platform: esphome, and the OTA block reuses the API encryption key. Never just delete the password, because an OTA block with neither lets anyone on your LAN flash the panel. ESPHome also ships a newer epaper_spi driver with a Seeed-reTerminal-E1001 model that supports partial refresh, which is worth trying once the basic build works, but we compiled Seeed’s documented block rather than mixing the two.

Underneath, the Inkplate 10 is a different animal. Its panel is driven in parallel through two PCA6416A I/O expanders, so the config is mostly pin mapping copied from the ESPHome Inkplate page, which notes that these GPIO assignments are hardwired. We added the i2c: and psram: blocks the example leaves implicit, a Google font, and two Home Assistant sensors:

vim ~/esphome/inkplate10.yaml

Paste the full file, exactly as it compiled:

esphome:
  name: inkplate10
  friendly_name: Inkplate 10

esp32:
  board: esp-wrover-kit
  cpu_frequency: 240MHz

psram:

logger:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap: {}

captive_portal:

ota:
  platform: esphome

api:

i2c:

pca6416a:
  - id: pca6416a_hub
    address: 0x20
  - id: pca6416a_hub2
    address: 0x21

time:
  - platform: pcf85063
    id: esptime
    update_interval: never
  - platform: homeassistant
    on_time_sync:
      then:
        pcf85063.write_time:

switch:
  - platform: gpio
    id: battery_read_mosfet
    pin:
      pca6416a: pca6416a_hub
      number: 9

sensor:
  - platform: adc
    id: battery_voltage
    update_interval: never
    attenuation: 12db
    pin: 35
  - platform: template
    name: "Inkplate Battery Voltage"
    unit_of_measurement: "V"
    accuracy_decimals: 3
    lambda: |-
      id(battery_read_mosfet).turn_on();
      delay(5);
      float adc = id(battery_voltage).sample();
      id(battery_read_mosfet).turn_off();
      return adc;
    filters:
      - multiply: 2
  - platform: homeassistant
    id: outdoor_temperature
    entity_id: sensor.outdoor_temperature
    internal: true
  - platform: homeassistant
    id: indoor_humidity
    entity_id: sensor.indoor_humidity
    internal: true

font:
  - file: "gfonts://Inter@700"
    id: font_48
    size: 48
  - file: "gfonts://Inter@700"
    id: font_96
    size: 96

display:
  - platform: inkplate
    id: inkplate_display
    greyscale: true
    partial_updating: false
    update_interval: 300s
    model: inkplate_10
    ckv_pin: 32
    sph_pin: 33
    gmod_pin:
      pca6416a: pca6416a_hub
      number: 1
    gpio0_enable_pin:
      pca6416a: pca6416a_hub
      number: 8
    oe_pin:
      pca6416a: pca6416a_hub
      number: 0
    spv_pin:
      pca6416a: pca6416a_hub
      number: 2
    powerup_pin:
      pca6416a: pca6416a_hub
      number: 4
    wakeup_pin:
      pca6416a: pca6416a_hub
      number: 3
    vcom_pin:
      pca6416a: pca6416a_hub
      number: 5
    lambda: |-
      it.fill(Color::WHITE);
      it.print(40, 40, id(font_48), Color::BLACK, TextAlign::TOP_LEFT, "Outdoor temperature");
      if (id(outdoor_temperature).has_state()) {
        it.printf(40, 140, id(font_96), Color::BLACK, TextAlign::TOP_LEFT, "%.1f C", id(outdoor_temperature).state);
      }
      if (id(indoor_humidity).has_state()) {
        it.printf(40, 300, id(font_48), Color::BLACK, TextAlign::TOP_LEFT, "Humidity %.0f%%", id(indoor_humidity).state);
      }

Setting greyscale: true is a trade you make knowingly, because ESPHome’s docs say the Inkplate cannot do partial updates in 3-bit mode, so every update is a full refresh with the familiar black flash. Switch greyscale off if you want partial updates and can live with pure black and white. Compile it the same way:

docker run --rm -v ~/esphome:/config ghcr.io/esphome/esphome:stable compile inkplate10.yaml

This one also built first time, at 26% RAM and 51.5% flash, and both factory images came out just under 1 MB. The YAML above is the minimal one we compiled, with a bare api: and an unprotected ota block, so before you flash a real panel add the encryption: key: !secret api_key block under api: that the reTerminal build uses, plus the bare encryption: under ota described above:

Terminal showing ESPHome compiling the Inkplate 10 firmware at 26 percent RAM and 51.5 percent flash and listing both factory firmware files

A factory image’s first flash goes over USB-C, either from the ESPHome dashboard or with esphome run, and later updates go over Wi-Fi. Once the device joins your network, Home Assistant discovers it through the ESPHome integration, and the homeassistant sensors start receiving states as soon as you adopt it. We stopped at the compiled images because no panel was on the bench.

When a dashboard screenshot is the better shortcut

A third path skips templates and lambdas entirely. A container with headless Chromium logs into Home Assistant and screenshots a Lovelace view at the panel’s resolution. It then converts the capture to grayscale and serves the PNG over HTTP. We ran sibbl/hass-lovelace-kindle-screensaver, which was built for jailbroken Kindles but serves any client that can fetch a PNG. TRMNL’s own Home Assistant add-on works on the same principle and pushes the dithered screenshot to a TRMNL plugin webhook instead, and its README warns that its web UI on port 10000 has no authentication, so keep that port off the internet.

mkdir -p ~/kindle && vim ~/kindle/compose.yaml

Our renderer used the same long-lived token, and RENDERING_DELAY is not optional.

services:
  screensaver:
    image: sibbl/hass-lovelace-kindle-screensaver:latest
    container_name: lovelace-screensaver
    network_mode: host
    environment:
      - HA_BASE_URL=http://127.0.0.1:8123
      - HA_SCREENSHOT_URL=/e-ink/panel
      - HA_ACCESS_TOKEN=paste-your-long-lived-token-here
      - CRON_JOB=* * * * *
      - RENDERING_DELAY=8000
      - RENDERING_SCREEN_WIDTH=800
      - RENDERING_SCREEN_HEIGHT=480
      - ROTATION=0
      - PORT=5000
      - GRAYSCALE_DEPTH=8
      - COLOR_MODE=GrayScale
      - IMAGE_FORMAT=png
    restart: unless-stopped

Two things went wrong before this file worked, and both teach something about the path. Without the delay, the first capture was Home Assistant’s “Loading…” splash, because the frontend draws after the page reports loaded. And pointed at the default dashboard, the render was useless on e-ink: a welcome banner, area tiles and a repairs card, with none of our sensors on it.

Grayscale 800x480 render of the default Home Assistant Overview dashboard showing a welcome banner and area tiles instead of sensor values

A dashboard made for the panel solves it. We created one at /e-ink (Home Assistant requires a hyphen in a dashboard URL path, so eink was rejected) with a single view of four Markdown cards in large type, then pointed HA_SCREENSHOT_URL at it and restarted the container:

cd ~/kindle && docker compose up -d

In the log you can see the renderer navigating to the new view, noticing the image changed, and serving an 800×480 grayscale PNG on port 5000:

Terminal showing the lovelace screensaver container rendering the e-ink panel dashboard and serving an 800 x 480 grayscale PNG

Our render shows the limit of the approach. Values read well from a distance, but the Home Assistant header bar is still in the frame (there is no kiosk mode without a custom card from HACS). “Thursday: green bin” also wraps across three lines, because a Lovelace card was never designed for a fixed 800×480 canvas. Mind the exposure, too: port 5000 serves a picture of your home’s state to anyone who asks, and the container holds an admin token, so set the renderer’s HTTP_AUTH_USER and HTTP_AUTH_PASSWORD variables or firewall the port to the panel’s address.

Grayscale 800x480 render of a dedicated Home Assistant e-ink dashboard with four large Markdown cards for temperature, humidity, front door and bin day

Compare it with the LaraPaper render above. The screenshot path reuses what you already have and needs no template work, but the TRMNL framework produced a cleaner 1-bit image from the same four entities in a 3.5 KB file. For a panel that people read from across a room, that difference shows.

Where each path breaks down

Each of these builds works, and each has a failure mode that only shows up after the panel is on the wall. Knowing them in advance decides which one you build:

  • TRMNL server path: the device is only as current as its last wake, so a door opened a minute after a 15-minute poll stays “Closed” on the panel for 14 more minutes. It also adds a server you have to keep patched, and LaraPaper’s 0.46.0 security release is a reminder that it faces your LAN.
  • ESPHome path: live updates need a live connection, so a battery build either sleeps and misses changes or stays awake and drains. Layout changes mean editing pixel coordinates and reflashing, which gets old quickly once the dashboard grows past a few values.
  • Screenshot path: the panel shows whatever Chromium sees, including header bars, loading states and card layouts that assume a scrolling screen. It also runs a full browser on your server for every refresh, which is heavy for one small picture.

For a battery panel in a hallway, the TRMNL server path with a 30 to 60 minute refresh is the build we would put up first, on a TRMNL OG or a reTerminal E1001 running TRMNL firmware. If the panel sits next to a USB outlet and you want it to react to the house, flash the same E1001 with ESPHome instead, since the hardware does both. And if you already run Home Assistant on a mini PC for Home Assistant, LaraPaper’s container fits on the same box with room to spare.

Keep reading

OpenCode CLI Cheat Sheet: Commands, Sessions and Fixes (PDF) AI OpenCode CLI Cheat Sheet: Commands, Sessions and Fixes (PDF) Best Mini PC for Home Assistant: 4 Picks for HAOS and Proxmox Automation Best Mini PC for Home Assistant: 4 Picks for HAOS and Proxmox Best Tablets for a Home Assistant Dashboard Automation Best Tablets for a Home Assistant Dashboard Ansible for Cisco IOS: Run Commands with ios_command and ios_config Ansible Ansible for Cisco IOS: Run Commands with ios_command and ios_config Best Energy-Monitoring Smart Plugs for a Home Assistant Homelab Automation Best Energy-Monitoring Smart Plugs for a Home Assistant Homelab Install and Configure Ansible on Ubuntu / Debian / RHEL / Rocky Linux Automation Install and Configure Ansible on Ubuntu / Debian / RHEL / Rocky Linux

Leave a Comment

Press ESC to close