Skip to content

Atorch DT20HBW: add Juwei CW24 product, fix remaining energy and warning, add counters - #6315

Open
doaelectronics-coder wants to merge 1 commit into
make-all:mainfrom
doaelectronics-coder:doaelectronics-coder-patch-1
Open

doaelectronics-coder wants to merge 1 commit into
make-all:mainfrom
doaelectronics-coder:doaelectronics-coder-patch-1

Conversation

@doaelectronics-coder

Copy link
Copy Markdown

Adds product id 6irqu0m73u9s3yfu (Juwei CW24, sold with Atorch branding), which currently only matches this config by DP fallback. Checked against my device's debug logs:

DP 123 is the battery's remaining energy and goes up and down, so total_increasing made HA treat every discharge as a meter reset. Changed to energy_storage / measurement, named "Remaining energy".
DP 133 also goes up and down and is remaining Ah (times voltage it tracks DP 123). Renamed "Total charge" to "Remaining capacity", class measurement.
DP 132 reports "off" when there is no fault; it was mapped to problem = on.
Added optional DPs my CW24 reports: 117/120 full/empty-charge voltage endpoints, 124 capacity mode, 126/127/128 charged/discharged/accumulated Ah, 129 accumulated kWh (all only increase).
The DP 123 and 133 renames change those entities' unique IDs for existing users. If you'd rather keep the DP 133 ID, I can restore the old name and keep only the class change.

yamllint and tests/test_device_config.py pass locally.

Atorch DT20HBW: add Juwei CW24 product, fix remaining energy and warning, add counters
@doaelectronics-coder doaelectronics-coder changed the title Atorch DT20HBW: add Juwei CW24 product, fix remaining energy and warning, add countersAdd files via upload Atorch DT20HBW: add Juwei CW24 product, fix remaining energy and warning, add counters Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

1 participant