Shelly Binding

Trying to add a Gen4 Shelly1 and get an error. I’m using OH 5.0 with the test version (openHAB 5.0.0.M3). The error is

shos_http_server.cp:266 192.168.0.30: No handler for '/settings'

This seems to be an ongoing thing. Has native support for Shelly been deprecated for the newer devices ?

use the current DEV build, see above

Thx, that works better.
Can I use this in production ? The docs seem to indicate it could be unstable - will the fix become available in a release soon ?

We are working to merge some PRs, which hopefully make it into the 5.0 release.
Between releases I’m fixing bugs, enhancive features or additional devices like Gen4 series. You could use those so you don’t need to wait until next official release.
And you should use the DEV build to do testing and report bugs, which can be fixed before the next release is published.

I updated the DEV build (5.0 and 4.3.6) to include support for Shelly PlugS Gen3, Shelly Plus Outdoor Plug and amazon Shelly Plug. Thanks @wborn for implementation.


5.0.0-DEV | 4.3.6-DEV | README | READMEbeta
Avdanced Users | Shelly Manager | Bugs/Features | API Doc
Note:

  • The DEV build is always newer than the version in the official Distro or Milestone builds.
  • 5.0.0 build might be newer than 4.3.x

3 x under OH4.3.5 the DEV 4.3.6 binding installed, without an problems so far…
No WebSocket issue more :slight_smile:
Please continue with the implementation of new shelly devices @markus7017 and thanks for you development work!!

I have update the firmware of my ShellyPlus2PM from version 1.5.1 to 1.6.2 without having found this topic in advance and now facing issues as well.
I am now wondering there is the possibility to downgrade the firmware back to 1.5.1 in general using the respective firmware file for the time being and if someone has downloaded and can share the firmware version 1.5.1 for ShellyPlus2PM file?

Thanks for the fixes and the update. I’m new to OH, although have 30+ years of Windows based line of business development experience. So might dive into the code base to see if there is anything I can do to help.

simply move to the DEV build, which includes work arounds for the firmware bugs

Hi, I have a shelly outdoor (running openhab 4.3.5). I’ve tried the current build 4.3.6.202507011114

Unfortunately, the outdoor plug shows up as an unknown shelly device and it’s also not listed as a selectable device type when trying to add it manually. Any advice?

I’ve moved to “openHAB 5.0.0-SNAPSHOT - Build #4718” but firmware 1.6.2 bugs do continue. ShellyPlus2PM is constantly switching form Online to Offline and vice versa showing “Unexpected error: WebSocket error” in the logs.

use the DEV build, Outdoor plug was just integrated

Make sure you have the latest test dev build. Multiple people reported that the problem is fixed

I noticed that my Shelly Plus2PM always reports a new firmware even if there is only a beta firmware available. Is that on purpose? I usually don’t upgrade to beta firmware. I’m on a dev build (maybe a week old).

I use this dev build:

https://github.com/markus7017/myfiles/blob/master/shelly/org.openhab.binding.shelly-4.3.6-SNAPSHOT.jar?raw=true

I’ve double checked, md5 checksum is the same

I’ve also tried to clearing the cache, but to no avail. Is there anywhere another version?

maybe I need to recompile the 4.3.6 build, stay tuned

does somebody has a Shelly Sense or the original Shelly Bulb? I need the model IDs (output from http://device-ip/shelly)

If you are adding model ids. I mentioned a few month ago, that shelly pro 2 is recognised as unknown. I added it manually as a pro2 and everything is working fine. In the autodicovery the unknown device still appears.

Here is the output of my shelly pro 2:

{"name":null,"id":"shellypro2-a0dd6c9f151c","mac":"A0DD6C9F151C","slot":1,"model":"SPSW-202XE12UL","gen":2,"fw_id":"20250318-152137/1.5.1-g01dd7ff","ver":"1.5.1","app":"Pro2","auth_en":false,"auth_domain":null}

I think, that shelly changed model ids perhaps in newer versions.

Thank you for your great work!

I have a Shelly Bulb Duo. Not sure if this helps you

type: SHBDUO-1

I can also confirm that I have no more websocket errors with the latest DEV build on the Shelly 1 Gen4 with external temperature sensor! Good job!