Closed michaelpiron closed 2 months ago
A few minutes later, the "total_active_power" topic has appeared again in the MQTT log, and the HA sensor is again being updated:
There has been a gap for 23 minutes:
What could be causing this?
I believe the spurious reading detection is acting up again. Which release channel are you on? This should be fixed on the develop channel.
I’m on dev channel, and have been on version 2.22 when the issue happened:
Same here. For a couple of weeks, the "Total active power" value "gets stuck" randomly, and for some random time.
Thx, very helpful. This is due the way the dongle currently blanks invalid readings received from the meter. I will overhaul the whole function to also fix #15 .
Pushed a (long overdue) fix to dev. Should also fix #15 . The issue had to do with negative values (injection) being incorrectly flagged as invalid. This slipped through my testing routine (I don't have solar panels).
Fixed in V2.23.
Since 20minutes ago, the dongle stopped publishing "total_active_power" values, whereas "active_power_consumption" & "active_power_production" continue to be updated.
MQTT log: data > devices > utility_meter has no "total_active_power" topic anymore:![image](https://github.com/plan-d-io/P1-dongle/assets/4469877/4d8d9a7e-d957-4e94-81f9-7f1bf89f2ec1)
Sensor "active_power_injection" still being updated:![image](https://github.com/plan-d-io/P1-dongle/assets/4469877/dfff2929-95a6-42ea-a2f4-64eef1a8429e)
Sensor "total_active_power" stopped being updated:![image](https://github.com/plan-d-io/P1-dongle/assets/4469877/544db42f-794e-414d-9f59-a67c87e949ac)