esphome / esphome/feature-requests
HLW8032 power sensor implementation request
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem you have/What new integration you would like**
I installed esphome on my Gosund P1 power strip (8266/8265 controller) and the power meter is not working, showing always 0.0 values. After some research I discovered that it has a different power sensor than the usual model. Instead of a CSE7766 it has HLW8032 (still uses the serial communication, though). I would like to request to add HLW8032 to esphome, if possible.
**Please describe your use case for this integration and alternatives you've tried:**
As mentioned before, the HLW8032 power metering sensor is not yet implemented in esphome. This is the sensor used by the newer Gosund P1 power strips. All the returned values are 0 (using CSE7766 component).
**Additional context**
I already tried with Tasmota, same behavior, as it uses the CSE7766 configuration.
Example Github repo on HLW8032:
https://github.com/Khaalidi/HLW8032
If you can guide me on how to extract relevant info I would be more than happy to do it.
Thank you for your support and effort!
Cheers!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing ESPHome’s existing CSE7766 component and the linked HLW8032 repository, focusing on their serial communication and returned measurements. Confirm the HLW8032 protocol and calibration requirements for the Gosund P1, then determine the integration scope and tests needed to verify that power-strip readings are no longer zero.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- embedded-iot
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100