-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New feature]: implement self protection for sonoff-pow #218
Comments
Take a look at commands PowerHigh, MaxPower, MaxPowerHold and MaxPowerWindow. PowerHigh needs a server to act on it's result (power down Pow). The other three inbuilt commands may be what you need. Experiment with it (no documentation yet). |
On Fri, 17 Mar 2017, lionhe1966 wrote:
A batch of Sonoff-Pow switches produced in December 2016 and January 2017 is defective. ITEAD published a recall on their website
(https://www.itead.cc/blog/sonoff-th16-and-pow-recall-notice)
Wouldn't it be possible to implement a simple self-protection rule that switches the relay off if the power exceeds some user defined threshold?
can you identify what threshold is safe (given that the design is for full 16A
of power, and the problem is failure to follow the design)
can you identify which devices need to be crippled like this and which are safe
to use at full power?
|
@arendst. Thank you for answering: I will try to figure out what these three parameters exactly mean and let you know. @davidelang: The only clue that we have is the picture on the ITEAD website. Unfortunately they only write that the switch on the picture was exposed to an unspecified high load for an unspecified long time. It may be interesting to compare pictures of the PCBs for "good" and "bad" switches. In any case, I think that these devices are not well designed for 16A. The case is too small. In fact I had some trouble connecting two 16A rated cables to the switches: the holes for holding the two cables are simply too small unless you remove the outside insulator. |
The command MaxPower sets the power threshold for switching off. If I understand correctly, after MaxPowerHold seconds, the power is switched off, and a warning signal is issued. I think that this is exactly what I was asking for. It would be worth adding the description for that command to the Wiki documentation. |
PowerHigh should send a (telemetry) message when power is above set level like |
Ok, I noticed that message, and now I understand its meaning. It is very convenient functionality for load shredding. What's the meaning of MaxPowerWindow? |
It's been a while since I wrote it but I think it works as follows: Once you set MaxPowerWindow to > 0 seconds it will turn on power after MaxPowerWindow seconds and see if the power overload is solved. If not, the sequence of overpower starts again up to MAX_POWER_RETRY (as defined in sonoff.ino line 122) = 5 times. |
It sounds as if this is solved (other than possibly needing to have someone update the wiki :-) can this ticket be closed now? |
@davidelang I would say that the ticket can be closed. I'll try to update the wiki with the info contained here. |
* Update manifest links * Update index.html * Update manifests * Fix manifest names * Update release.tasmota-sensors.manifest.json * Add more manifests * Add favicon Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
Apologies to hijack this thread; is there any way to set PowerHigh, MaxPower, MaxPowerHold and MaxPowerWindow in user_config_override? |
Only as commands in (Beware that changes do not apply when upgrading a binary, unless you do a full reset to the defaults you have there) |
Thanks for the quick response. |
A batch of Sonoff-Pow switches produced in December 2016 and January 2017 is defective. ITEAD published a recall on their website
(https://www.itead.cc/blog/sonoff-th16-and-pow-recall-notice)
Wouldn't it be possible to implement a simple self-protection rule that switches the relay off if the power exceeds some user defined threshold?
The text was updated successfully, but these errors were encountered: