feat: Add T2320 room discovery from metadata DPS#419
Open
Cloudore wants to merge 2 commits into
Open
Conversation
Decode T2320 room metadata payloads and expose room_names, with a one-time Tuya cloud bootstrap path to populate rooms when local DPS data is not yet available.
Author
|
This PR is more aimed at giving a clear view of how to recursively get room names and codes with just the Eufy credentials. This is working on my T2320 now and the rooms are being passed to HA, however, my repo is different from this one as it is heavily modified by AI for my vacuum. But I think how my vibecoded repo decoded room names from the cloud would still be useful. Sorry if not. |
Introduce a per-model room discovery strategy layer with local and cloud discovery hooks so additional vacuums can be onboarded without changing core update flow. Keep T2320 mapped to the existing DP165 decoder and Tuya cloud fallback.
bdamokos
added a commit
to bdamokos/robovac
that referenced
this pull request
May 14, 2026
Based on the room discovery work from damacus#419, but keeps T2320 room metadata on DPS 165 and selected-room commands on DPS 152 so DPS 168 remains consumables.
bdamokos
added a commit
to bdamokos/robovac
that referenced
this pull request
May 14, 2026
Based on the room discovery work from damacus#419, but keeps T2320 room metadata on DPS 165 and selected-room commands on DPS 152 so DPS 168 remains consumables.
bdamokos
added a commit
to bdamokos/robovac
that referenced
this pull request
May 14, 2026
Based on damacus#419's DPS 165 room discovery and Tuya cloud fallback approach. Adds selected-room support using DPS 152 ModeCtrlRequest payloads. Later room-clean experiments tried DPS 168 with DPS 152, but this branch keeps DPS 168 reserved for consumable telemetry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
room_namesattributestuya.m.device.dp.get) when local DPS payloads are not yet availableWhy
On T2320, room labels (for room clean targeting) live in metadata DPS payloads and may be unavailable locally at startup. This adds reliable room discovery without changing other cleaning control behavior.