-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtl8710bn HLW8012 CHANGE interrupts not supported #155
Comments
Can I help? |
Not really. Seems like CHANGE interrupts were "supported" previously, only due to a bug that produced undefined behavior. Realtek doesn't support CHANGE interrupts properly and that's why it's failing now. When you tried 1.1.0, did it actually report correct energy measurements? Or just produced no warning? |
version: 1.1.0 sensor:
log 01:12:01 | [D] | [sensor:093] | 'Voltage': Sending state 225.81564 V with 1 decimals of accuracy |
I'm encountering the same issue on a generic-rtl8710bx-4mb-980k with the hlw8012 platform.
But for me LT 1.1.0 causes a Hard Fault Error when opening the web browser.
|
My guess is that it is related to the change introduced in 1.2.0 which adds preliminary support for RTL8720C. |
I found a temporary solution.
First I tried to add to line 62: I hope this bug will be fixed in the next version of the library, and I hope my temporary solution will help you. |
Having the same issue on the WR3E using the RTL8710BN in ESPHome with a MOES iR and RF system. when use the PA12 pin which is the one for the ir receiver can't compile it this si the log.
Any update on this issue? Thank You. |
Hi, I had the exact same issue, and the following solution by SuperXL2023 works perfectly. Thanks !
|
@flohav thank you it worked |
Thanks a lot, this worked for me as well (on a BX chip)! |
@SuperXL2023 Thanks a lot. It worked. |
@SuperXL2023 the solution worked for me aswell |
Do you know how to apply this fix to Home Assistant Esphome? I couldn't fine the correct file to modify... |
A temporary fix was included in release v1.6.0.
|
Or you can probably use version: 1.6.0 |
It works fine, I used version: dev, updated via Esphome on HA and no issue at all. Another issue however, since a few months I can't get any value from my HLW8012 whereas it used to work. But that's another issue I guess. |
Where can I find this .esphome folder? I have a simple esphome folder that contains the yaml files |
not work
work good
error log
The text was updated successfully, but these errors were encountered: