-
Notifications
You must be signed in to change notification settings - Fork 638
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
Sonoff Pow crash with high-wattage appliances #3
Comments
Original comment by Dave Arter (Bitbucket: davearter, GitHub: Unknown): For more context, I ran the stacktrace through
|
Hi Thanks for reporting this! |
Original comment by Dave Arter (Bitbucket: davearter, GitHub: Unknown): The toaster is marked as 1000W on the bottom, and the kettle is 2750W. I'm using the standard espurna master branch, deploying to a Sonoff Pow with |
I have managed to reproduce it with a ~1kW load but I'm still debugging. |
Version 1.4.4 uses latest HLW8018 library that fixes some volatile variable assignations. Back to interrupt driven approach runs now fine with 1kW loads, tested over the last 24h. |
Original comment by Alexander Christian (Bitbucket: alexander_christian, GitHub: Unknown): I'm using just the HLW8012 lib with my own sketch, which includes a webserver presenting the measurements... When using interrupts and having "nothing" attached to the POW (=no load at all), I face the same stacktrace when opening/loading the webpage. If I switch to non-interrupt-mode, there is no crash. But Having precise measurement without interrupt will block the webserver :-( So I'm a bit lost... :-( |
Original comment by Alexander Christian (Bitbucket: alexander_christian, GitHub: Unknown): Link to the issue on HLW lib: https://bitbucket.org/xoseperez/hlw8012/issues/1/esp-crash-when-using-interrupts-webserver |
Fixed with HLW8012 library update |
Originally reported by: Dave Arter (Bitbucket: davearter, GitHub: Unknown)
Thanks for the espurna firmware project, it's awesome. After reading your blog post about the Sonoff Pow I thought I'd give it a try on some Pows I've got here.
I understand the Pow support is very experimental but thought I'd let you know of a crash I'm seeing in case it's helpful. When running a device such as a toaster or kettle via the Pow the firmware crashes soon after switching the appliance on. The Pow restarts and subsequent power output readings are all 0, despite the appliance being powered on.
I managed to capture the serial output when the crash occurs, which I've attached. I've removed the device id and tidied up the whitespace/linebreaks but other than that it's as it appears.
I'll keep experimenting to see if I can find the threshold at which this bug is triggered.
The text was updated successfully, but these errors were encountered: