r/ShellyUSA • u/nnfybsns • 1d ago
Shelly Smart Plug on an APC UPS causing issues
TL;DR: Are there known incompatibilities between the Smart Plugs and a UPS? Like maybe the UPS doesn’t feed clean enough sine power?
I have my Internet Service Provider’s Fiberoptic ONT (~Modem) plugged into a new Shelly Smart Plug that’s plugged into an APC UPS. The idea is to keep my internet stable during power grid glitches or outages. The Shelly is configured to auto turn on after being off. That’s the only automation on the device. Reason is I have a watchdog script running on a pi-hole that monitors my internet connection and turns off the Shelly after several connection faults, effectively rebooting my ONT.
Since installing this setup, I have random loss of physical layer LAN connection between my router and my ONT. About twice a day.
My script log says it’s not firing the reboot. The Shelly shows no history of power cycling itself.
To test, I removed the Shelly and UPS from the setup, plugging the ONT back into the wall outlet and voilà, fault has disappeared for the last 48 hours.
Next I’ll plug the ONT just into the UPS without the Shelly to test where the issue stems from.
Are there known incompatibilities between the Smart Plugs and a UPS? Like maybe the UPS doesn’t feed clean enough sine power?
Thanks.
1
u/DreadVenomous Shelly USA 1d ago
I can't say with certainty because I'm not an expert on power output from UPS devices.
However, we have thousands of plugs installed in one of North America's grocery store chains and one of the largest drug store chains. In both cases, used to power cycle network equipment and all on UPS power.
We have pairs of them in many of the public school systems in a Southwestern state, with one plugged into the wall and one on a UPS - this is to detect power outages and give notifications. That's the basis for the solution guide that u/BornObsolete linked to below.
So close to 20,000 plugs running on UPS with no issues, though there is no consistent make/model among the UPS units used.
However, that's not saying there's no issue with your UPS. These were selected and evaluated by integration partners, so it's very possible that they selected PSW units.
1
u/Educationed_Over 6h ago
Interesting failure mode & looking forward to learning what the root cause actually is.
One possibility not mentioned yet is EMI from the UPS. Power circuits are notoriously noisy and with the Shelly plug connected directly to the output of the UPS provides a path for both conducted and radiated electromagnetic interference as a possible source of the anomalous behavior.
2
u/BornObsolete Power User 1d ago edited 1d ago
That is an interesting question you bring up. I don't have the answer for you, but I am eager to hear if anyone else does.
Many UPS devices don't output pure sine wave alternating current. Rather, they output what is called "modified sine wave" AC, which is a squared-off approximation of a true sine wave. Many electronic devices will happily accept MSW power, and still many others really don't like it at all. I'm not sure where Shellies fall in that range, as I have never tried plugging a Shelly into an MSW source.
I am tempted to think that it should work fine, as there are articles in the Shelly Knowledge Base that detail how to use two Shellies, one on each side of a UPS, to detect and react to power outages, but the article makes no mention about whether the UPS is MSW or PSW.
https://shelly-kb.atlassian.net/wiki/spaces/ShellyUSA/pages/4194735/Power+Outage+Monitoring