Skip to content

Add LG Styler ST_B_E4H01Y_APL - #115

Open
tunarabuuu wants to merge 1 commit into
anszom:masterfrom
tunarabuuu:dev-styler
Open

Add LG Styler ST_B_E4H01Y_APL#115
tunarabuuu wants to merge 1 commit into
anszom:masterfrom
tunarabuuu:dev-styler

Conversation

@tunarabuuu

Copy link
Copy Markdown
Contributor

Third of the per-device-class splits from #111.

ST_B_E4H01Y_APL — an AA..BB ThinQ2 Styler / garment-care unit (deviceType 203). The byte layout was recovered by injecting single-byte-changed state frames through the management API and reading the LG cloud's own decode back, one offset per observation (three of the bytes are bitfields, split bit by bit).

Addressing your review notes from #111:

  • processAABB — reads now go through the base class's processAABB instead of a custom processData; the frame arrives with its leading AA/FF and trailing CRC/BB stripped, so the record offsets are simply two less than the whole-frame positions.
  • logging utility — the stray console.warn calls now use log(...).
  • header comment — trimmed to what's needed to read the code.

All labels are English. npm test passes; tsc clean.

An AA..BB ThinQ2 garment-care unit (deviceType 203). The byte layout was
recovered by injecting single-byte-changed state frames through the management
API and reading the LG cloud's decode back, one offset per observation.

Reads go through the base class's processAABB — the frame arrives with its
leading AA/FF and trailing CRC/BB already stripped, so the record offsets are
two less than the whole-frame positions the probes recorded. Stray warnings go
through the logging utility rather than console.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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