Skip to content

CI run for upstream PR moleus/domru#40 - #1

Draft
niklzz wants to merge 1 commit into
devfrom
feat-neighbor-cameras
Draft

niklzz wants to merge 1 commit into
devfrom
feat-neighbor-cameras

Conversation

@niklzz

@niklzz niklzz commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Internal draft to run lint/tests on the fork. Upstream PR: moleus#40

Dom.ru now exposes cameras of neighboring entrances via
/rest/v1/places/{placeId}/screen-sections (viewable with a Pro
subscription). The home page loads that endpoint per place and renders
one card per camera, with its own Home Assistant snippet.

Cameras are matched by externalCameraId / forpostGroupId instead of the
array index, which broke with more than one place or camera.

Door permissions are taken from /rest/v1/places/{placeId}/accesscontrols:
after a subscription the embedded list in subscriberplaces advertises
allowOpen for neighboring doors that cannot actually be opened. Neighbor
cards never get an "Open" button.

Extra endpoints failing (or 404 on operators without screen-sections)
degrade gracefully: the basic camera list stays visible.
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