recently I purchased some Shelly Plug s, but I’ve been running into integration problems. I’ve been previously using numerous Shelly switches, which I’ve had no problems with so I kind of know the basics of what is required for the integrations:
Updated Shelly devices with newest firmware
Home Assistant & Shelly devices connected to the same wifi SSID
CoIoT activated
But for some reason I just can’t get the Shelly plugs connected to Home Assistant. I’ve narrowed down the issue to some kind of possible firewall problem. I’m able to ping my Shelly switches from the CLI, but I do not get any response from the Shelly plugs. Something is blocking Home assistant connecting to the Shelly plugs, even tough they are in the exactly same network as the working switches. I’m out of ideas at this point on what to try next so all help is valued!
Don’t let ping fool you. It could be a firewall issue, but keep that as an option but do not rule out any other issue.
Make sure you are pinging the Shelly device and not some random other device is responding, thinking that it is the Shelly plug.
Could you reach the Web interface of the shelly device from another computer on the same network? If so, try doing a curl to the same web interface from the CLI where home assistant is running. Do you get the same webpage? This way you are sure that you are communicating to the same device and the same device is responding.
Did it work before updating the firmware? Maybe try a factory reset of one of the shelly plugs and try connecting it again. If that works, maybe the FW update broke some config.
Just some tips for troubleshooting this issue, maybe it helps!
Thanks for the tips @poudNL! I indeed could reach the Shelly web interface of the plugs with different devices. Also, the firmware update was mandatory before I could even access the web interface so there was no choice.
Long story short, I got the plugs working! During the last 24h I’ve been doing so many modifications on HA while messing something up and then even doing a few recoveries from backups, so I have no idea why suddenly I could add them via the Shelly integration. Oh well, at least they work
@jteemu I would like to know what firmware you got on your plug, i have plugs i can not add to home assistant. I get the error " The device is using an unsupported firmware version".
The installed firmware version is: 20190516-073020/master@ea1b23db
@thedutch : I’m using the latest firmware, which is 20220209-094058/v1.11.8-g8c7bb8b. Based on the firmware version ID, seems like your devices are not running the latest ones. With the Shelly plugs the firmware update is basically mandatory when opening up the Shelly app & the newly added plug, not much you can do with doing the update first as its always prompted.
Btw. @poudNL I was finally able to identify the issue why Home Assistant couldn’t connect to the Shelly Plugs! The Shelly plugs have a setting of “Make device discoverable”. After I ticked that setting in Settings → Device Discoverable, I would manually enter the device IP to the Home Assistant Shelly integration and they immediately connected. So all is good now
I had to connect the Shelly Plug S to the Shelly Cloud first, then after a litle while it dicoverd it has an update available. Update the plugg and Bob’s your uncle.
After the update i had the plugs discoverd in HA.
btw, the update changed the max power setting for the plug down to about 1800W instead of the original 2500W