Open garageeks opened 3 days ago
From the code, this feature do not support channels The command is 'MaxPower' without index and it applies only to the 1st channel
Behavior may be modified by 'MaxPowerHold' and 'MaxPowerWindow'
There is no command 'SetAllPower' this your error
@barbudor thank you for the quick reply. Indeed the fix I mentioned https://github.com/arendst/Tasmota/commit/d44104135e7194120715c3267236dc93e316bb8a is switch off both channel when Channel 0 threshold is met. I don't necessarily need to set up different power limits for each channel, it would be great that MaxPower would be effective on both channels.
I'll have a look if implementing multi channel is an option.
@arendst thank you, really appreciated. I'm always available for testing.
Give dev v14.1.0.3 a try.
Individual phases can now be configured and controlled with MaxPower2 300
for phase/channel 2 and MaxPower1 200
for phase/channel 1.
For backward compatibility MaxPower1 500
with any other MaxPower<x> 0
will result in all phase/channel power control.
@arendst Thank you for the quick update! I will have access to my test setup next week, will try it and provide feedback.
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
I have a Sonoff POW Dual R3 running Tasmota 13.4.0(tasmota32)] I set up "MaxPower 300" command to switch off power when the more than 300 Watts are pulled. This works on channel 0, but not on channel 1. I tried "MaxPower0 300" like "Power0" style command that is applied on all channels, but it doesn't appear to have an effect. The documentation doesn't specify how to set power limit to a specific channel.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Status 0
:11:55:17.365 CMD: MaxPower 11:55:17.369 RSL: RESULT = {"MaxPower":300} 11:55:21.013 CMD: SetAllPower 11:55:21.022 RSL: RESULT = {"Command":"Unknown"}
TO REPRODUCE
Steps to reproduce the behavior:
Set power limit command with MaxPower x where x is a threshold for number of watts
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
Both channel 0 and channel 1 would switch off
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
A similar issue on a Shelly device was reported here and marked as fixed, but it is not clear which commands are used. https://github.com/arendst/Tasmota/issues/6340
A similar issue for the same device is in the discussions, but got not reply https://github.com/arendst/Tasmota/discussions/18789
(Please, remember to close the issue when the problem has been addressed)