Hello! Is there any way to create an MQTT button for resetting the total energy counter of BL0937?
Hello! Is there any way to create an MQTT button for resetting the total energy counter of BL0937?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamp.kaczmarek2 wrote:How much C experience do you have? If you know C, maybe you could also help with that HA discovery request you made some time ago.
erdeidominik1999 wrote:
>>20858266
After the end of January, I can help you. Right now, I'm very busy because I have my final exam at the university. Recently, I ordered a lot of smart plugs from AliExpress and smart switches, and all of them have a Realtek chip. So, I think Tuya will ship the products with Realtek in the future.
TL;DR: Use 1 MQTT "cmnd" topic to reset BL0937/BL0942 totals; "just send any command you want via cmnd topic". Create a Home Assistant button that publishes the reset command to your device’s cmnd topic. [Elektroda, p.kaczmarek2, post #20827399]
Why it matters: This lets OpenBeken users add a one-click Home Assistant button to clear cumulative energy totals without touching firmware.
Quick-Facts