I have sent a pull request to fix the support of resetting partial active energy for A2 and P1 feature classes.
A9MEM1540 and A9MEM1561 that I use offer this functionality.
They also offer functionality to reset peak demand. I have tested and also works. But I didn't include this in the pull request because I can't find code that uses and displays this info. So resetting it will be useless. Maybe we should also add a sensor to display the peak demand information. In the gateway I get for example:
Max Peak Demand Total Active Power: 5.176 kW(Date/Time: 2026-01-12 at 02:11:59) so it gives the peak value in KW and when it happened. Resetting it goes to 0.0 KW with current date/time, so indeed reset peak demand works for A2 and P1 as well.
I have sent a pull request to fix the support of resetting partial active energy for A2 and P1 feature classes.
A9MEM1540 and A9MEM1561 that I use offer this functionality.
They also offer functionality to reset peak demand. I have tested and also works. But I didn't include this in the pull request because I can't find code that uses and displays this info. So resetting it will be useless. Maybe we should also add a sensor to display the peak demand information. In the gateway I get for example:
Max Peak Demand Total Active Power: 5.176 kW(Date/Time: 2026-01-12 at 02:11:59) so it gives the peak value in KW and when it happened. Resetting it goes to 0.0 KW with current date/time, so indeed reset peak demand works for A2 and P1 as well.