Edge Shelly drivers for Gen1 and Gen2 Devices

Hi @TAustin,

Oh, that sounds amazing! If you are looking into it this weekend, could you please also include the Shelly Pro 3EM (3-phase energy meter)?

That exact device is what many of us are trying to integrate into SmartThings for local energy monitoring in the distribution board. Thank you so much for your great work!

Hi @TAustin

Your drivers are great just put a load of Shelly devices in to support “normal” function switching for smart bulbs.

is it possible to add support for the Gen4 1PM?

Thanks in advance!

Hi @Gecky,

@Patrick_Duarte has an edge driver for Shelly 3EM Pro on his invitation link:

Given the availability of that solar inverter driver, are you all set with the Pro 3EM? Please let me know.

@nuk @juppo Please see my direct message; I’ve got a driver you can test for the devices you asked for.

@TAustin

I haven’t heard back from SmartThings. Now, with their new Upcoming API and Usage Limits, my SharpTools work-around will be cut off (as it exceeds Usage Limits).

Is there any chance you can update your drivers to include an Auto-Refresh Interval Setting (as I think you may have in some of your other Shelly Drivers) ? (I could then set this to 1 minute to handle polling internally inside the SmartThings Hub Edge environment without making external REST API calls that count toward SharpTools/SmartThings rate limits)

… maybe also worth noting (per A.I. for what’s that worth :wink:

Has support for Shelly US Gen 4 smart plug with power monitoring been added to the driver. I cannot get discovery of the device in SmartThings.

Shelly Plug US Gen4
Model: S4PL-00116US
ID: shellyplugusg4-e8f60a7d416c
Gen: 4
App: PlugUSG4
Firmware: 1.7.99-plugusg4prod1

mDNS:
shellyplugusg4-e8f60a7d416c._shelly._tcp.local.

IP: 192.168.1.134

The device advertises correctly via _shelly._tcp and is reachable locally, but your Gen2/3 V1.8 driver dated 6/02/26 and V1.9 test driver do not discover it on an Aeotec Smart Home Hub. The device identifier is shellyplugusg4-e8f60a7d416c, app is PlugUSG4, model is S4PL-00116US. Could you confirm whether the current driver build contains the Plug US Gen4 identifier?

Hello - That particular device is currently not recognized by the driver, but it could be added without too much effort. Just as a reminder for - my driver generally hasn’t added a lot of Gen4 device support because most people are now getting that through the Matter driver and interface. However some are finding that certain features are missing, so are asking for support in my driver, which I’m happy to do. If Matter isn’t an option for you, or it’s not providing you the function you need, I can add this one. Just confirm back.

So for that particular gen, matter pulled the plug into ST, but only on/off function. I was attempting to use that plugs power/energy monitoring as a trigger for a routine. Without that input, the plug is nothing more than a pricey on/off function.

You can try this driver

Shelly Plug M Gen3 (Matter over WiFi) is operating using Matter Playground driver. Also power and energy is supported.

Hi,

Im quite new to this topic and i searched for a way to have the inputs from my Shelly 2PM Gen3 in Smartthings. I tried it over the cloud and via Matter but there only appears the relay output as a option for my routine. So i tried to install your driver and connect the shelly then. But i always get only the outputs.

Have i understood it right that normally your driver should read in also the states of the input odr am i doing it the wrong way?

Thanks for your help

Hi TAustin, @TAustin
I’m using a Shelly 2PM Gen3 in Cover mode with SmartThings. I installed your Shelly Gen2/3 Device Driver V1.8, but my 2PM Gen3 is not detected/supported correctly.

I also tried creating a device with 2.5 Roller Mode. It was able to send a close command to the blind, but then the device went offline in SmartThings, so I assume that profile is not compatible with the 2PM Gen3 API.

My Shelly details:

  • Model: Shelly 2PM Gen3
  • Firmware: 2.0.0
  • Mode: Cover
  • Local control in Shelly works correctly, including position control
  • SmartThings hub: Samsung TV hub

Would it be possible to add support for Shelly 2PM Gen3 in Cover mode to the driver? I’m happy to test a beta version and provide logs/device information if needed.

Thanks!

For the attention of Shelly products users

Shelly Group Has Entered Into an Investment Agreement With Schneider Electric on the intended Voluntary Public Takeover supported by the founders | Shelly Group - Investor Relations

See also Shelly Head manger @Dimitar_Dimitrov Dimitar Dimitrov in FB :

Hi @TAustin,

I’m unable to discover my Shelly Plus 2PM using your Shelly Gen2/3 driver. It never appears in SmartThings, and discovery consistently stops with the same error.

Driver:

  • Name: Shelly Gen2/3 Device Driver V1.8
  • ID: f3258c1d-b6e9-424d-8b3f-b1e8fe51c4ca
  • Installed version: 2026-06-02T22:51:06.113594478
  • Startup log: Shelly Gen2+ Device Driver v1.8.1 Started

Shelly:

  • Model: SNSW-102P16EU
  • Generation: 2
  • App: Plus2PM
  • Firmware: 1.7.5
  • Profile: cover
  • Authentication: disabled (auth_en: false)
  • Discoverable: enabled (discoverable: true)
  • Eco mode: disabled

Hub and network:

  • Aeotec SmartThings hub.
  • Two TP-Link Archer C6 routers connected by Ethernet; the second operates as an access point, hardware version V4.
  • Shelly connects by Wi-Fi to this access point, and the hub connects by Ethernet to the same access point.
  • Hub IP: 192.168.82.248
  • Shelly IP: 192.168.82.79
  • Guest network and AP isolation are disabled.
  • Shelly’s local HTTP API responds successfully.

Each nearby scan produces the following error approximately five seconds after starting:

DEBUG Shelly Gen2/3 Device Driver V1.8  Device discovery invoked
DEBUG Shelly Gen2/3 Device Driver V1.8  ********* Starting mDNS Scan #1...
ERROR Shelly Gen2/3 Device Driver V1.8  discovery thread encountered error: [string "discovery.lua"]:145: bad argument #1 to 'for iterator' (table expected, got nil)

The same error persists after restarting the hub. No Shelly device is created.

I’ve attached the startup and discovery logs, with the hub’s Zigbee identifier redacted.

Could you please investigate the error at discovery.lua:145 and advise how to determine why the mDNS scan returns a nil value? I’m happy to run additional diagnostics or test a driver update.

Thank you!

Sorry for delay in responding. I’ll try to take a look at this shortly…