Add LG Korean WashTower washer and dryer - #117
Open
tunarabuuu wants to merge 1 commit into
Open
Conversation
tunarabuuu
force-pushed
the
dev-washtower
branch
from
August 2, 2026 21:55
ad952bf to
0d921c1
Compare
FAKPK21021 (washer, deviceType 221) and BDH_D39301_KR (dryer, 222) speak a dedicated 0xEB/0xEC extended-frame protocol. They share every bit of the decode and control logic and differ only in their field/course tables, so both live in one washtower.ts — the washer and dryer classes are two small constructors over a shared WashTowerDevice, rather than a separate _common module plus two wrapper files. The tables are derived from LG's own protocol/convert maps for each model, cross-checked against the appliance's capability dump. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
tunarabuuu
force-pushed
the
dev-washtower
branch
from
August 2, 2026 22:13
0d921c1 to
91ab46a
Compare
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.
Fifth of the per-device-class splits from #111.
FAKPK21021 (washer, deviceType 221) and BDH_D39301_KR (dryer, 222) — LG's Korean WashTower, speaking a dedicated 0xEB/0xEC extended-frame protocol (not AA..BB or clip/TLV). Complementary to the NA WashTower in #102, which is a different generation with a different frame format.
Addressing your review note from #111:
washtower_common— the washer and dryer share every bit of the decode/control code and differ only in their field/course tables, so both now live in onewashtower.ts(two small constructors over a shared class) instead of a_commonmodule plus two wrapper files. I kept both models because a washer's courses and a dryer's genuinely differ — the two tables aren't interchangeable — but there's now a single implementation file.All labels are English.
npm testpasses;tscclean.