Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Set a power limit value. Connect load to output 2 of Shelly 2.5 > power limit value
Output 2 should be turned off if power limit is reached.
If there is power measurement per output the power limit value should be the max power / output. If max power / output is reached the corresponding output should be turned off.
If individual measurement per output is not possible i would expect that at least both outputs are turned off if them sum of both outputs is > power limit value.
I dont think it is a duplicate of #6160
The issue is not about dual power metering but about the non functional power limit.
For over temperature it is done the right way
In case of over temperature both outputs are turned off. I think the same should be done for the power limit until dual metering is implemented.
First of all thanks for the fast fix
But i think now the Max power retry acts wrong.
Also not really a good behaviour. I think the power should be restored to the last known user requested output state.
Great should work now unless user changed power state while in over power retry condition.
Just an idea:
Afterwards just call RestoreAllPower(SOURCE) no need to remember state in xdrv_03_energy.ino or any future source and always latest power ON state.