Shelly Binding

  • Delete existing thiing, which will become the client devicce. Before deleting the thing unlink channels (don‘t delete items)
  • Enable range extender von the hub device, this will also enable the Access Point (make sure to set a strong WiFi passphrase)
  • Connect the client device to that network, it should show up in the hub device‘s UI
  • Enable range extender in the OH hub device‘s thing configuration
  • The client device should show up in the Inbox, add as usual and link channels to existing items

Ohhh, that’s a bummer! Thanks for the info. Are there any plans to support them or not at all?

Maybe MQTT could be a solution for you?

Running 5.2.1 with the latest dev build linked above from 5 days ago. Getting 429 too many requests and “COMMUNICATION_ERROR, an unexpected API response”.

My impression from above in the thread is that this should work?

2026-10-08 23:25:43.750 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - Shelly PM Dryer: Connect RPC Socket
2026-10-08 23:25:43.750 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - Shelly PM Dryer: Connect WebSocket, URI=ws://192.168.1.212/rpc
2026-10-08 23:25:43.778 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypmminig3-xxxxx: WebSocket connected /192.168.1.216:45576<-/192.168.1.212:80, Idle Timeout=420000
2026-10-08 23:25:43.778 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - Shelly PM Dryer: Get thing from thingTable for /192.168.1.212:0
2026-10-08 23:25:43.936 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - Shelly PM Dryer: BLU Gateway support is disabled for this device
2026-10-08 23:25:43.955 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - Shelly PM Dryer: NotifyStatus update received: {"id":110,"src":"shellypmminig3-xxxxx","dst":"ohshelly-shelly_pm_dryer-110","error":{"code":401,"message":"{\"auth_type\": \"digest\", \"nonce\": \"xxxxxxxxxxxxxxxxxxxxxxxx\", \"realm\": \"shellypmminig3-xxxxxxxx\", \"algorithm\": \"SHA-256\"}"}}
2026-10-08 23:25:43.977 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - Shelly PM Dryer: Unable to install script oh-blu-scanner.js: POST http://192.168.1.212/rpc > Too Many Requests
2026-10-08 23:25:44.005 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellypmminig3-xxxxxxxxx: Unexpected API result: 429/Too Many Requests
        at org.openhab.binding.shelly.internal.api.ShellyHttpClient.innerRequest(ShellyHttpClient.java:223)
        at org.openhab.binding.shelly.internal.api.ShellyHttpClient.httpPost(ShellyHttpClient.java:158)
        at org.openhab.binding.shelly.internal.api2.Shelly2ApiRpc.rpcPost(Shelly2ApiRpc.java:1617)
        at org.openhab.binding.shelly.internal.api2.Shelly2ApiRpc.apiRequest(Shelly2ApiRpc.java:1555)
        at org.openhab.binding.shelly.internal.api2.Shelly2ApiRpc.getStatus(Shelly2ApiRpc.java:806)
        at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.initializeThing(ShellyBaseHandler.java:421)
        at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.lambda$0(ShellyBaseHandler.java:225)
2026-10-08 23:25:44.006 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - Shelly PM Dryer: Closing Rpc API (socket is connected)
2026-10-08 23:25:44.006 [INFO ] [openhab.event.ThingStatusInfoEvent  ] - Thing 'shelly:shellypmmini:shelly_pm_dryer' updated: OFFLINE (COMMUNICATION_ERROR): An unexpected API response. Please verify the logfile to get more detailed information.


2026-10-08 23:25:44.013 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - Shelly PM Dryer: WebSocket connection closed, status = 1006/Disconnected


Which build exactly? There are always a few different in circulation. If you’ve upgraded the firmware to >= 2.0.0, you need the build from this PR: [shelly] Fix HTTP 429 throttling and during authentication (firmware 2.0) by markus7017 · Pull Request #21857 · openhab/openhab-addons · GitHub.

It’s ordered and should arrive next week. Of course I’m going to help by testing

fyi: Testing for Shelly Camera and Pill have started

@seimenb

Check [shelly] Support for Shelly Pro Cover 2PM · Issue #15403 · openhab/openhab-addons · GitHub

@Masssssy

The 429 fix has just merged, check regular DEV build

Important: Make your choice depending on the OH version you are running on

Merged PRs Overview

Merged PRs since 2026-10-04 · All open PRs

Topic PR # Description Participants
Fix-only #21690 Fix watchdog and re-init handling for sleeping battery devices
#21289: Shelly Smoke flips from ONLINE to…
ErikDB87, alaub81, lsiepel, matmai
#21725 Fix internal temperature reporting for multi-switch Gen2+ devices lsiepel
#21857 Fix HTTP 429 throttling and during authentication (firmware 2.0)
#21240: Pro 3EM and Pro 4PM on firmware 2.0.0…
ErikDB87, ML19821, lsiepel
Relay/Roller #21869 Add support for Shelly Pro 2CB, 3CB and 4CB lsiepel
New Devices #21871 Support for AZ H&T, i4 G4, EM G4, EM63 G4, Power Strip G4 V2 and Pro 4PM V3 lsiepel
#21858 Add support for Shelly Plug PM Gen3
#21673: Support Shelly Plug PM Gen3…
lsiepel, matmai

With the newest binding org.openhab.binding.shelly-5.3.0-SNAPSHOT.jar from 2 days ago and OH 5.3.0.M2, all devices are fine again.

Hi all,

I have opened a pull request that adds native thermostat support for the Shelly Wall Display (Gen2):

The thermostat of the display was not accessible through the binding until now. The PR adds six channels in the control group (only if the device reports a thermostat): currentTemp, targetTemp, thermostat (on/off), heating (output active), schedule (on/off) and selectedProfile. The profile names configured on the display are offered as options of selectedProfile, so you can pick a profile by name. Changes made on the display or in the Shelly app are pushed to openHAB over the existing WebSocket connection, so there is no additional polling. Profiles and schedule rules can be selected but not edited, this stays in the Shelly app.

Test build for openHAB 5.2.2

The PR is built against main (5.3 snapshot). For a stable system I built the same code as a JAR for 5.2.2 with relaxed import version ranges:
org.openhab.binding.shelly-5.2.2-wd-thermostat-test.jar

  1. Uninstall the Shelly binding from the add-on store (otherwise two Shelly bundles run in parallel).
  2. Copy the JAR into the addons folder (openHABian: /usr/share/openhab/addons/).
  3. Check that the bundle is active: bundle:list | grep -i shelly
  4. The new channels appear on an existing Wall Display thing. Link items as usual.

I tested this on two Wall Displays (SAWD-0A1XX10EU1, firmware 2.8.2) with openHAB 5.2.2. It has not been tested on other versions. Feedback is welcome, especially from other firmware versions. If something does not work, please post the log with log:set DEBUG org.openhab.binding.shelly and the output of bundle:list | grep -i shelly.

Special thanks to @markus7017 and this great community :slight_smile:

I just noticed your PR, @markus7017 .
I guess that makes mine obsolete now → feel free to reject it!

no, you are already one step ahead. Your advanced features are in my mind, for a new GitHub issue, so @markus7017 please have a look at this PR because we need these settings:

heating (output active), schedule (on/off) and selectedProfile. The profile names configured on the display are offered as options of selectedProfile,

did you already implement heating / cooling? That’s a new feature in the shelly ui. And I will need it.

@charlyx I will test your build in the next couple of days.

Thank you @charlyx :+1:

I recently obtained a Plug US Gen4, but it won’t function properly. I think it’s just a simple generation categorization issue. @markus7017 I opened a bug in Github if you could have a look at some point.

Thanks

I encountered this as well (and remember similar frustrations from some time ago), and let Claude investigate.

the shelly pill connects fine. no errors. Looks good to me.
Anything special I should look for?

Anything special I should look for?

Please test differnt sensors like DHT22 and digital inputs and switching between them. Also how the values look like if the sensors are removed. (You can also have a look what has been tested yet in this issue)

Quick update on the Wall Display thermostat:

My PR #21923 was closed as a duplicate of Markus’ #21653, so I rebuilt my additions on top of his branch (shelly_walldisplay_media) and sent them to him as a PR: [shelly] Wall Display: thermostat schedule and profile selection by webcharlyx · Pull Request #24 · markus7017/openhab-addons · GitHub

It adds two channels to his thermostat component:

  • control#schedule (Switch): enable/disable the thermostat schedule
  • control#selectedProfile (String): show and select the active profile; the profile names from the Shelly app are offered as options, so a Selection widget shows names instead of ids

Tested on openHAB 5.3.0.M3 with a SAWD-0A1XX10EU1 (firmware 2.8.2), together with his thermostatEnable and targetTemp channels.

One caveat if you want to try Markus’ branch yourself: it currently lacks the Wall Display auth fix from main (#21911), so the displays go offline with “Unsupported Auth type (null) or algorithm (SHA-256)”. Merge current main into it before building.

Is anybody running the new 2.1.0 firmware? Are there any issues, or is it working ok, or even better than 2.0.1?

Am on OH 5.3.0.M3 and run the latest 5.3.0 jar (5.3.0.202610092016). Have FW 2.1.0 running on all devices which support it without any issues. Can‘t say if it is better or not.

Who reproduce the this log message?
`Handler {} of thing {} tried updating channel {} although the handler was already disposed.`

may grep for “handler was already disposed” in openhab.log

If it’s reproducible a TRACE log would be helpful

Hi @markus7017

I often see these messages when I’m switching back and forth between DEV builds or installing a new one. Normally, they disappear when I restart openHAB after launching it for the first time with the new build.