Install a Shelly-1 device?

Glad I found this thread - I thought I was crazy.

I have the exact same situation/journey as @groston:

  • Shelly HA integration reports “Unsupported firmware
  • Update > “On latest firmware - no update available
  • No “Enable CoIoT” in Advanced. Only “Enable MQTT
  • Enable MQTT: Shelly unofficial through HACS via MQTT doesn’t pick it up
    • Don’t even see any MQTT messages on boot or at any time from Shelly
  • curl -X POST -d '{"id":1, "method":"Mqtt.GetStatus"}' http://shelly-ip/rpc returns “Not Found

Was about to manually create some kind of REST entity on HA when I found this thread.

Unfortunately, we don’t see this.

I was also dead-set on flashing with ESPHome borne from the frustration and weeks spent trying to get HA to detect the Shelly that is “so well supported” :frowning_face:


I have another boxed Shelly1 that I can try but I’m certain it will be the same firmware as it was purchased at the same time.

Looks like we’re in some kind of strange firmware state so I’ll be happy to keep debugging so that it may help others in the future but I am running out of ideas.

Have you reported on the Shelly forum that your device won’t upgrade? There are threads there about it.

Haven’t come across their forums yet.
Though up until now I wasn’t sure what the actual problem was; thought it was me doing something wrong.

I have raised a ticket with Shelly though!

What firmware does it have?

There is a way to update the firmware locally rather than over the internet. Let me see if I can find it…

May have solved it @nickrout and @tom_l through local update

Dove through the Shelly Forums but it’s all German to me (anyone laughing? anyone?)

This poster claims that there is no egress to WAN (which I most definitely do have) but suggested a local webserver.

My steps on a server that has WAN and a route to the Shelly:

wget http://archive.shelly-tools.de/version/v1.11.0/SHSW-1.zip
python3 -m http.server 9999
(in another terminal)
curl http://<ip-of-shelly1>/ota?url=http://<ip-of-server>:9999/SHSW-1.zip

On the OTA command I received:

{"status":"updating","has_update":false,"new_version":"","old_version":"20191217-140757/1047-long-id-for-shelly-devices@a0661583"

On checking firmware after I get:

$ curl http://<ip-of-shelly>/shelly
{"type":"SHSW-1","mac":"C45BBE76XXXX","auth":false,"fw":"20210720-184522/v1.11.0-g6abd92e","longid":1,"num_outputs":1}

On checking my Internet & Security > Advanced - Developer Settings, I can see CoIoT!

Yep that was the procedure I was looking for (though with webserver software)

Happy to report the Shelly 1 was happily configured on HA!

Thanks for the suggestion of their forums @nickrout :slight_smile:

Glad you have it sorted :slight_smile:

1 Like

For the record, this is what I received from Shelly support.

It was an old FW, and you need to update.

and

Try ti connect the device to a hotspot WiFi and update it’s firmware through this network.

Seeing the amount of posts and threads around this, I don’t think the UI update is as flawless as they anticipated.

1 Like