Skip to content

About

Home Assistant integration for BLE e-paper shelf labels (ESL) — WOLINK, easyTag, PickSmart, XTE, ETAG protocols

Topics

Resources

Stars

34 stars

Watchers

1 watching

Forks

Latest commit

 

History

442 Commits

Folders and files

Repository files navigation

BLE ESL for Home Assistant

A Home Assistant custom integration that sends layouts to Bluetooth Low Energy electronic shelf labels.

English | 한국어

Release HACS Default Home Assistant minimum Tests Validate License Downloads

BLE ESL

Display calendars, weather, sensor readings, or photos on e-paper tags with a single Home Assistant action. Tags update over Bluetooth without a dedicated ESL gateway or cloud service and can run for months or even years on batteries.

2.1" (250×128) 2.9" (296×128) 4.2" (400×300) 10.2" (960×640)
2.1 inch Gicisky 2.9 inch Gicisky 4.2 inch Poshiji PSJ-420 10.2 inch Gicisky
Gicisky Gicisky Poshiji PSJ-420 Gicisky

More examples with YAML

Supported tags

Brand Protocol Sizes Colors Tested on hardware
Hipoink ETAG 2.13" BWR 2.13"
Gicisky PickSmart 2.1"–10.2" BW / BWR / BWRY All listed models
Poshiji XTE 1.54"–7.5" BWRY 2.13", 2.66", 2.9", 4.2", 7.5"
Zhsunyco WOLINK 1.54"–13.3" BWR / BWRY 1.54", 2.66", 2.9", 3.5", 3.7", 4.2" (BWRY) and 2.9" (BWR)
Zhsunyco easyTag 1.54"–10.2" BW / BWR Untested

Model codes, resolutions, and purchase links

Features

  • ESL Manager shows tag and transmission status in the sidebar. Design layouts visually, preview them, and export YAML for automations.
  • Write actions render imagespec elements and Jinja templates. ble_esl.write_guarded respects Write Lock, skips unchanged images, and debounces rapid calls.
  • Diagnostics show where a write failed and which Bluetooth adapter or proxy was used.

Requirements

  • Home Assistant: 2026.8.0 or later.
  • Bluetooth: A Bluetooth adapter or an ESPHome Bluetooth proxy that supports active connections. See Bluetooth.
  • Device: A supported tag from Supported tags.

Installation

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

  1. Click the badge above to open the repository in Marketplace.
  2. If you need to add it yourself, go to Settings → Marketplace → Add from link and enter https://github.com/eigger/hass-ble-esl. Connect GitHub if prompted.
  3. Select Install. Restart Home Assistant if prompted, then continue to Configuration.

On Home Assistant versions before 2026.11, the same badge opens HACS. HACS setup

Configuration

Confirm discovered tags in Settings → Devices & services. To add a tag manually, choose Add integration → BLE ESL.

Set retries, duplicate prevention, and debounce under Configure (duplicate prevention and debounce apply to ble_esl.write_guarded only). Choose the matching Model for WOLINK or easyTag. Integration options

If you use hass-gicisky or hass-zhsunyco, re-add the tags in BLE ESL and replace gicisky.write with ble_esl.write. You can reuse the same payload. Migration guide

Bluetooth

For ESPHome proxies, enable bluetooth_proxy.active: true. Scan settings and ESPHome example

BLE ESL connects on the first write without pairing. Close the ETAG companion app and avoid writing to the same tag from multiple integrations. Bluetooth proxy guide

Quick start

In Developer tools → Actions, select your tag as the target for ble_esl.write.

action: ble_esl.write
target:
  device_id: <your device>
data:
  payload:
    - type: text
      value: Hello World!
      x: 10
      "y": 10
      size: 40

The tag refreshes in a few seconds. To preview the layout without sending it, add dry_run: true under data and open the Preview Content image entity. Payload guide and action examples

AI agents (MCP)

The integration registers an LLM API named BLE ESL. Add Home Assistant's Model Context Protocol integration (called Model Context Protocol Server through 2026.10), then connect using one of these endpoints.

Dedicated endpoint /api/mcp/ble_esl (recommended). Available from Home Assistant 2026.8.0, the minimum supported version. Register it as a separate MCP server. Home Assistant restricts it to administrators and exposes tool names without a prefix.

Shared endpoint /api/mcp. Behavior depends on your Home Assistant version:

  • 2026.8–2026.9: select BLE ESL when adding the integration. To change the selection, delete and re-add the entry.
  • From 2026.10: the integration's options let you select exposed APIs and require administrators. New entries expose all APIs and require administrators by default. Existing entries retain their API selections.
  • Before 2026.11: names are prefixed when multiple APIs are exposed (for example ble-esl__write_tag).
  • From 2026.11: names are namespaced only when they collide, and a read-only option is available for the shared endpoint.

Depending on the settings, administrator access may be required or write tools may be omitted. BLE ESL tools themselves also require an administrator.

For both, use the full URL of your Home Assistant (for example https://ha.example.com/api/mcp/ble_esl) and sign in as an administrator: either an MCP client that supports the MCP authorization spec opens the Home Assistant login page (Home Assistant serves /.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource), or you send a long-lived access token as Authorization: Bearer <token>. A client hosted in the cloud needs your Home Assistant to be reachable from the internet.

Tool Purpose
list_tags Tags with address, label id, name, area, labels, canvas width x height, colors (BW, BWR, BWRY) and palette, battery, Write Lock and the last write. Optional query filter. With rotate 90 or 270 the canvas you draw on swaps width and height.
get_payload_guide Rules and the main payload elements, built from the installed imagespec; element gives all options of one type.
write_tag Draws on a tag. tag is an address, label id, device name or device id. Give exactly one of payload (a list of imagespec elements, preferred: sharp text and shapes in the tag's palette) or image (an https URL or data:image/...;base64 URL, fitted to the canvas). Also rotate, background, dry_run and wait (default true: waits up to 45 s, then answers in_progress while the write continues).
draft_automation Drafts a Home Assistant automation that writes a tag, and validates it against your Home Assistant. The payload may use Jinja templates (for example {{ states('sensor.temp') }}), which are rendered with the current states and checked like write_tag does; the YAML keeps them, so the tag stays current. Also triggers, conditions, alias, description, mode (write or guarded), rotate, background and preview (dry-runs the rendered payload into the tag's Preview Content image, without sending). Answers ok or invalid with automation_yaml, errors and warnings.

write_tag has two modes. write (default) behaves like ble_esl.write and always sends. guarded behaves like ble_esl.write_guarded: it is skipped when the tag's Write Lock is on, or when the tag's Prevent Duplicate Send option is on and the image is unchanged (status locked, duplicate), but never debounced, so the answer is the real result. Use dry_run to render only and look at the tag's Preview Content image.

draft_automation never saves anything: an administrator pastes the YAML into a new automation (Settings → Automations & scenes → Create automation → Edit in YAML) and can try it with Run actions. The agent gets Home Assistant's own validation errors (templates, triggers, actions) back, so it can fix them itself. Templates are allowed only in plain values (text, numbers, colors): not in type, elements, url, any value of a dlimg, or in keys, and a template may render a list or object only in data fields. The rendered payload is held to the same limits as write_tag, but the saved automation runs in trusted mode like any automation you write (local images are allowed), so read the YAML before you save it. draft_automation only previews simple templates (states and attributes, basic filters and tests, comparisons and if); any other template (regex filters, *, **, %, format, replace, {% set %}, {% for %}, range, map with extra arguments, join with a long or computed separator, templates over 1000 characters) is kept in the YAML as written but not evaluated or checked, and gives a warning, because a runaway regex or a huge string can freeze Home Assistant. Read those parts of the YAML yourself. A name that does not exist (a misspelled function, for example) is an error. Values that exist only while the automation runs (trigger, this, variables, action responses such as forecasts) are not previewed and give a warning. Triggers and conditions that name an unknown entity also give a warning. Without triggers it answers with a warning that you must add them. A preview is a dry run, so it counts against the one-per-5-seconds limit; if it is too soon, the draft is still returned without a preview.

For administrators, write_tag's description lists each tag with its size and palette (up to 20), so an agent knows the canvas before it draws. Because the integration letterboxes anything that does not fit and snaps other colors to the nearest palette color, write_tag also checks an inline data: image (as image, or as a dlimg in a payload) and answers with warnings when its size is not the canvas size or more than a few percent of its pixels are not palette colors, ending with how to redraw it. Prefer a payload for text and shapes.

Security: the content comes from a language model that may have been misled by text it read, so it is rendered more strictly than a payload you write, in a separate process with limited memory (about 1 GiB) and time (one render at a time, killed after 20 seconds; on platforms that cannot cap memory, such as macOS, only the time and CPU limits apply). Local image files and http:// are refused, dlimg accepts only data: and https:// URLs, hosts that resolve to private, loopback, link-local or other non-public addresses are blocked (every redirect is checked), images are limited to 5 MB and 12 megapixels, only reviewed element types are accepted, sizes and coordinates are bounded relative to the tag's canvas, text to 2000 characters per value, payloads to 200 elements, and a plot to 4 entities and 24 hours of history, and the tools work only for administrators. Each tag accepts one LLM write per 30 seconds and one dry_run per 5 seconds. Everything an agent draws is visible in the tag's image entities to all users.

Important limitations

Warning

WOLINK presets outside the tested list and all easyTag presets are based on specifications. If you try one, share the model and result in Discussions.

  • Other XTE sizes use manually selected, size-only presets. A mismatched preset can write successfully and still display the image incorrectly.
  • Use Home Assistant automations to update tags when sensors change. Keep refreshes infrequent to preserve battery life.

Documentation

Topic English 한국어
Usage and options English 한국어
ESL Manager and Designer English 한국어
Design templates English 한국어
Payload guide English 한국어
Actions, entities, and fonts English —
Bluetooth setup English 한국어
Troubleshooting English 한국어
Migration English 한국어
Protocol notes ETAG, XTE —
Development Tests and development, Adding a protocol —

Troubleshooting and diagnostics

  • For write failures, attach the tag's diagnostics from Device page → ⋮ → Download diagnostics. What to redact before sharing
  • If you selected a Poshiji preset manually, include the panel size, preset, and result.

Support

  • Issues: Report bugs or request features.
  • Discussions: Ask questions and share your experience.

Related Projects

  • imagespec: The renderer behind payload:.
  • Stash: Home inventory that prints labels to ESL tags.
  • hass-gicisky: Archived predecessor of BLE ESL.

License

Released under the MIT License.

About

Home Assistant integration for BLE e-paper shelf labels (ESL) — WOLINK, easyTag, PickSmart, XTE, ETAG protocols

Topics

Resources

Stars

34 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages