Skip to content

Clear the washer's renamed topics, and stop calling the samples frozen - #130

Merged
QuiteYellow merged 6 commits into
mainfrom
chore/washer-retire-and-samples-wording
Nov 7, 2026
Merged

QuiteYellow merged 6 commits into
mainfrom
chore/washer-retire-and-samples-wording

Conversation

@QuiteYellow

@QuiteYellow QuiteYellow commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #127, carrying the three things my review there said I would do myself, plus the compatibility-table rows that go with them.

The washer published job_state and job_begin_status before the rebase onto the current dryer. A discovery config is retained, so the broker keeps serving both, and the two dead entities stay on the Home Assistant device card until an empty payload replaces each config. dryer.py has carried a _RETIRED list for this since 65be6ef; this adds the washer's, and runs it before the read-only early return so a build with WRITES_ENABLED off clears them too. No release ever carried either key, so this reaches only an install that ran the branch.

The washer's /rm/wifi tier now says what it rests on. The mechanism was already written down: mqtt_demo/descriptor.py says the resource is in neither /oic/res nor the /device/0 batch, and docs/bridge-demo.md says the same. What stood only in a commit message is that this board has not been measured for it, where the dryer and the oven have. Someone who sees the 120 s poll log an error opens the module, so that belongs next to the tier. A fifth commit also names the washer in tests/test_wifi_rssi.py, whose docstring described the helper as shared by two descriptors when #127 made it three.

@dalbrekt raised the README contradiction in #127: it said there were three descriptors, that they were frozen, and that a new appliance should go to localthings instead, while the PR added two more here. What was true is kept: the samples are references, one firmware family each, and localthings owns production appliance support. What replaces "frozen" is the condition a new one has to meet, which is that it reaches a family or a wire behaviour the samples leave uncovered. Three places carried the claim: the file tree, the "Adding appliance support" section, and docs/appliance-compatibility.md. The paragraph also stops naming a stack generation; the board-era wording that replaces it is docs/firmware-families.md's.

The compatibility table carried four rows covering three classes, so a reader choosing APPLIANCE_<n>_CLASS had nothing to check the two new ones against. Each row now says what it rests on, because a captured resource map and a descriptor that has run against the appliance are different claims. Both new rows carry the author's own limit from #127: the maps were captured on a live unit, and each descriptor is still waiting for its first run against the appliance. Confirmed became Status for the same reason. The pre-existing Washer row is a third board, confirmed through localthings with no descriptor here, so every row now names its class to keep the two apart.

A sixth commit corrects the resource inventory. docs/appliance-resources.md listed /rm/wifi/vs/0 as read by neither the bridge nor localthings, status "live, unused", with surfacing it in the bridge as the next step. 65be6ef did that for the dryer and the oven, and the tag list for that commit starts at v0.1.19, so the row had been wrong for six weeks. The localthings half stays as written, as a claim with a date on it, because nothing here re-read their source.

1364 tests pass locally on 3.12, and the one new test pins the retirement in both write modes. The 3.11, 3.13, 3.14 and dependency-floor jobs are CI's. All of it is code and docs; every hardware statement in the table is the author's, from #127.

The washer published `job_state` and `job_begin_status` before the
rebase onto the current dryer. `job_state` duplicated `progress`, and
`job_begin_status` is now `job_beginning_status`. A discovery config is
retained, so the broker keeps serving both to Home Assistant and the
two dead entities stay on the device card until an empty payload
replaces each config.

`dryer.py` has carried a `_RETIRED` list for the same reason since
65be6ef. This adds the washer's, and runs it before the read-only
early return so a build with WRITES_ENABLED off clears them as well.

No release ever carried either key, so this reaches only an install
that ran the branch.
`/rm/wifi/vs/0` is measured on the dryer and the oven, not on this
board. It sits outside the `/device/0` batch, so the capture the
descriptor was written from cannot show it either way.

That was in the commit message that added the tier and nowhere else.
A reader who sees the 120 s poll log an error opens the module, so the
provenance belongs next to the tier. If the board does not carry the
resource, the cost is one logged error per poll and an empty sensor.
The README said there were three descriptors, that they were frozen,
and that a new appliance should go to localthings instead. #127 added
two more, from a contributor, here. @dalbrekt raised the contradiction
in that PR.

What was true in the sentence is kept: the samples are references, one
firmware family each, and localthings owns production appliance
support. What replaces "frozen" is the condition a new one has to meet
-- that it reaches a family or a wire behaviour the existing ones do
not, which is what makes it useful as a reference. The two new ones are
named as read-only, because their write paths are off until someone
measures them.

Three surfaces carried the claim: the file tree, the "Adding appliance
support" section, and docs/appliance-compatibility.md. The tree also
listed three sample modules and now lists five.

The paragraph no longer names a stack generation. It said "Tizen RT
3.x"; the board-era vocabulary in docs/firmware-families.md is what the
rest of the project uses, and it is the part that was measured.
The table listed three classes and the two new ones were missing, so a
reader choosing `APPLIANCE_<n>_CLASS` had nothing to check them
against.

Each row now says what it rests on, because a captured resource map and
a descriptor that has run against the appliance are different claims.
Both new rows carry the author's own limit from PR #127: the maps were
captured on a live WW11DB7B34GWU3 and a TP1X_REF_21K on 2026-07-02, and
neither descriptor has itself run against its appliance. The "Confirmed"
column is now "Status" for the same reason.

The existing Washer row is a third board, a WW11DG on
DA_WM_TP2_20_COMMON confirmed through localthings, with no descriptor
here. Now that a `washer` class exists, that row would have read as
describing it. Each row names its class to keep the two apart.

Two sentences below the table said a new appliance means a descriptor
for the localthings registry. That is still where production support
belongs, and the samples now also take one that reaches a family they
do not cover, so both routes are named. The cross-reference to "Adding
a new appliance class" pointed at a section this page does not have;
it points at the README's "Adding appliance support" instead.
The docstring said the dryer and the oven shared the helper. #127 added
the washer as a third, so the sentence named two of three.

The shape finding it goes on to describe is still the dryer and the
oven, which are the two boards measured. That part is unchanged.
The resource inventory said `/rm/wifi/vs/0` was "read by neither the
bridge nor localthings", status "live, unused", with "surface it in the
bridge" as the next step. 65be6ef did that for the dryer and the oven,
and the tag list for that commit starts at v0.1.19, so the row has been
wrong for six weeks. #127 added the washer as a third consumer.

The localthings half is left as written, as a claim with a date on it:
nothing here re-read their source.

The second table in this file is unaffected. Its column is "where it
shows up", so `neither surface` for this resource means neither
`/oic/res` nor the `/device/0` batch, which is still true and is the
reason a descriptor has to name the path in a poll tier.
@QuiteYellow
QuiteYellow merged commit 6b5556a into main Nov 7, 2026
8 checks passed
@QuiteYellow
QuiteYellow deleted the chore/washer-retire-and-samples-wording branch November 7, 2026 17:43
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