Skip to content

Move to py-oepl 1.0.2 and add an option to hide tags with Access Point content - #369

Closed
g4bri3lDev wants to merge 2 commits into
rewrite-with-modulesfrom
feat/hide-ap-content-tags
Closed

g4bri3lDev wants to merge 2 commits into
rewrite-with-modulesfrom
feat/hide-ap-content-tags

Conversation

@g4bri3lDev

Copy link
Copy Markdown
Member

Targets rewrite-with-modules (#362).

py-oepl 1.0.2

  • Previews of two-plane BWRY tags show yellow as yellow instead of black, and tag types whose colour table starts with black decode correctly.
  • An image upload is retried while the Access Point answers 409 (still starting up, or no room for another upload yet), waiting as its Retry-After says, for up to 60 s.
  • The Reboot Access Point action and button no longer fail when the Access Point restarts before it answers. An Access Point that can't be reached still reports an error.

Hide tags with Access Point content

New option in the Access Point's options. With it on, only tags whose content mode is Home Assistant, Static image or Not configured are shown. Tags showing content the Access Point makes itself, such as weather or a calendar, are left out the same way hidden tags are.

  • A tag follows its content mode as the Access Point reports it: switching it to Home Assistant on the Access Point brings it in, switching it away takes it out, without a reload.
  • Displays built into an Access Point are always shown. This Access Point's own is found by its MAC, since a board may use a hardware type outside the usual range; a mesh peer's by hardware type 0xE0–0xEF.
  • Uploads that come from outside Home Assistant without a content mode are stored as External image by the Access Point, so they are hidden too.
  • Like hidden tags, tags already in Home Assistant become unavailable rather than being removed from the registry.

Testing

  • New tests: off by default, the filter with the option on (Access Point display and a mesh peer's display included), and a tag following content mode changes.
  • Full suite passes on py-oepl 1.0.2; ruff clean.

Brings two-plane BWRY image previews in the colours the tag shows, retries
an image upload while the Access Point answers 409, and no longer reports
an error when the Access Point restarts before answering a reboot.
New option "Hide tags with Access Point content". With it on, only tags
whose content mode is Home Assistant, Static image or Not configured are
shown; tags showing content the Access Point makes itself, such as weather
or a calendar, are left out like hidden tags. A tag follows its content
mode as the Access Point reports it, so it appears or goes when that is
changed on the Access Point, without a reload.

Displays built into an Access Point are always shown: this Access Point's
own is found by its MAC, a mesh peer's by the hardware types these
displays use (0xE0-0xEF).
@g4bri3lDev g4bri3lDev closed this Nov 27, 2026
@g4bri3lDev
g4bri3lDev deleted the feat/hide-ap-content-tags branch November 27, 2026 20:01
@g4bri3lDev

g4bri3lDev commented Nov 27, 2026 •

Copy link
Copy Markdown
Member Author

Continued in #370 (renamed the branch: HACS strips tags/ from download URLs, so a branch name containing it failed the hacs.json check).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant