Skip to content

Add support for F_C__Y___W.A__QEUK washing machine - #136

Open
martijndhondt wants to merge 1 commit into
anszom:masterfrom
martijndhondt:add-f-c-y-w-a-qeuk-support
Open

Add support for F_C__Y___W.A__QEUK washing machine#136
martijndhondt wants to merge 1 commit into
anszom:masterfrom
martijndhondt:add-f-c-y-w-a-qeuk-support

Conversation

@martijndhondt

Copy link
Copy Markdown

Summary

  • Adds device support for the LG F_C__Y___W.A__QEUK front-loading washer (A-generation UK), decoding the 62-byte 0x20 0xEC status packet, the compact 32-byte 0x20 0xEB variant, and the 3-byte 0x20 0xD8 door-state packet.
  • Exposes power, status, course, temp, spin, remote_start, door_lock, child_lock, steam, wrinkle_care, active, pre_state, tub_clean, initial/remaining/delay time, and error/error_message. All byte offsets were confirmed against live packet captures cross-checked against known machine settings and the Home Assistant UI, including a real dE2 (door lock error) capture.
  • Fixes send_packet in cloud/thinq2/device.ts to emit uppercase hex, which this device's firmware requires.

This was developed with the assistance of Claude (Anthropic) — packet captures were analysed and offsets cross-verified against known settings and HA UI state interactively.

Test plan

  • tests/cloud/devices/F_C__Y___W.A__QEUK.test.ts — 38/38 passing, covering all decoded fields, the 0xD8 door-lock precedence rules, 0xE2 packet ignoring, and the error/error_message decoding
  • Full test suite run on this branch (excluding two pre-existing, unrelated Windows-only flaky tests already present on master)

LG front-loading washer (A-generation UK), using a 62-byte AABB status
packet (0x20 0xEC subtype) with a compact 32-byte variant (0x20 0xEB)
sent after commands/reconnect, and a 3-byte door-state packet
(0x20 0xD8) that is the authoritative door-lock source during
Off/Ready.

Exposes power, status, course, temp, spin, remote_start, door_lock,
child_lock, steam, wrinkle_care, active, pre_state, tub_clean,
initial/remaining/delay time, and error/error_message — all offsets
confirmed against live packet captures, including a real dE2
(door lock error) capture.

Also fixes send_packet to emit uppercase hex, matching what this
device's firmware expects on the wire.

Developed with the assistance of Claude (Anthropic), using live
packet captures analysed and cross-checked against known machine
settings and HA UI state.

Co-Authored-By: Claude Sonnet 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