Edge Shelly drivers for Gen1 and Gen2 Devices

You’re welcome @dusanhauko

Warning… got a bit lengthy as thoughts were coming to me so my apologies in advance.

If you make it through to the end, please report back any findings :wink:

Thoughts…

Because of some dropout/connection issues I was experiencing, I had been (painfully) visually/manually monitoring multiple apps at the same time for long periods of time :face_with_head_bandage::

  1. Router Device Connection Status
  2. Shelly Cloud App
  3. Locally Run Shelly Scanner App (VERY Cool App by/the/way)

What I found was that there was often a “lag” between when the Shelly Cloud App indicated that a device was online/offline (sometimes not displaying a disconnection at all) and an Actual Disconnect (as observed in the Shelly Scanner App and/or Router Device Connection Status). i.e. I could see the disconnect “live” & immediately in the Shelly Scanner App, while the the Cloud App I suspect has a period of time before it reports the offline status.

While you’re in a non-crowded area, I would encourage you to run a Wireless Survey anyway. I have neighboring routers 500+ feet away that would sometimes show up strong.

I’m not familiar with your Router/WiFi/Access Point. Is it an integrated “Mesh” type network that negotiates WiFi Channels on its own, or are there 3 separate Access Points. In either case, they may be competing for 2.4GHz Channels with each other, sometimes causing interference & disconnects. If there is any Auto-Negotiating taking place, those disconnects you observe can be when the units are finding interference and switching channels automatically/quickly. Again, perhaps a Wireless Survey might reveal more info. Consider setting your AP’s 2.4GHz to fixed and separate/distinct channels, rather than allowing them to Auto-Negotiate. I’ve watched nearby AP’s bounce back/forth between channels during their Auto-Negotiate process: It’s like AP A saw AP B channel 3 was interfering so AP A moved to channel 6, while in/around the same time AP B saw channel 3 interfering, so it moved to channel 6 at the same time, resulting in a continual ping-pong.

Shelly INTERNAL WiFi Access Points & BlueTooth: Do you have those enabled? If so, I think their default WiFi Channel is 5, which could be interfering with your AP. Once the Shelly Devices are set up, their internal AP can be disabled. Same for their Internal BlueTooth Connections, they share the 2.4GHz Bandwidth and could/should be disabled. Unless of course you’re using either/both the Internal Shelly AP and/or BlueTooth AP for direct connections for something else.

Shelly WiFi Roaming: My Shelly Gen1 Devices are currently offline, so I can’t check, but do your Gen1 Devices have WiFi Roaming Enabled and what is the Threshold set at (WebGUI/Settings/WiFi/WiFi Roaming)?
image

Shelly Connection Strength: What are the RSSI’s for each of your Shelly Devices (found in WebGUI/Settings/WiFi
image

If you install the Shelly Scanner, you can see them all at the same time and watch them LIVE for a few minutes:
image

Hello, uau very detailed answer. Tnx.
But i’m off to a holiday for 1w and unable to do anything.
I thinks wifi is not the issue as my devices do not roam.
Also devices in shelly app all have disabled AP and WIFI Roaming…

My devices also don’t disconect from my wifi. I see clearly that they are online on “leases” window of Mikrotik control panel and they are online for weeks in a row.

Anyone else?

1 Like

Hi…anyone find a way to let shelly gen 3 to be connected locally by some edge driver ?

Hi @dusanhauko

You’re welcome!

Hope your Holiday was good!

Good to know on the internal Shelly WiFi AP and BlueTooth being disabled. Let’s check that off the list!

Not to beat a dead horse, but what I found through manual observation with the Shelly Scanner App, was that the Shelly Devices would briefly disconnect/reconnect without showing as such in the Router Connection Status (and Lease time) as well as the Shelly Cloud App. It was maddening !

Can you share you Shelly Connection Strength/RSSI’s ?

As well, have you tried a Wireless Survey? It may reveal something.

@TAustin would it be possible to add support for Shelly plus dimmer like this? I control my houses ventilation system with it and would love to get it running with edge.

Hi @TAustin
The new firmware 54.10 broken edge shelly drivers.
Please, could you help us with this problem?

1 Like

Hey @cljara80 I’m still on 53.19. My system relies heavily on the Shelly Edge Drivers. Can you elaborate on what has broken so I can prepare?

Anyone else experiencing problems on 54.10 with Shelly Edge Drivers?

Hi @JohnRichard The devices remain online, but do not respond to manual control or automatic routines. In some cases they respond but with a delay of several minutes.

Uhg!

I’ll let you know how mine behave when the hubs update.

Thanks!

Hi @TAustin, came accross this Post after another user pointed me to it on a Post I created a couple of hours ago…

Does your driver support Gen 3 devices? In my case I have a Shelly PM Gen 3. Assuming it works, how should I proceed after installing the device? Should I try to put the device in pairing mode and since the Hub will have the driver it would be able to recognize the Device?

Edit: Ok, I see the “Shelly Gen2/3 Device Driver V1.6” drivers. I don’t know why you can only see the Available Drivers after you Enroll the channel… Nevertheless, I installed that driver, attempted to scan for nearby devices and it didn’t pick up the Shelly PM Gen 3. Hopefully anyone can say something.

Thanks

Todd is no longer active in this forum.

I would try factory resetting the device. Also, you could use the ST CLI to do driver logging while the Scan Nearby is running to see if the device is detected but not added for some reason.

Hello everyone.
Is there a way to control the 4pm shelly component?
I tried with the Toustin driver. And it doesn’t work.
thanks

Hello everyone,
Since Shelly Corp is reluctant to implement MATTER support directly on their gen2 and gen3 devices, @TAustin Edge test drivers are the only solution that I found for integrating Shelly devices (at least the most common ones) with Smartthings without the cloud2cloud integration (that also works but bring latency and another platform to manage).
The work that Todd put on these drivers and thread is amazing, and for my devices 1PM gen2 and 1PM mini gen3 they work as expected BUT does anyone know how to integrate the shelly devices with Todd ST Edge drivers when we have authentication enabled?
I know that Todd has been AWOL and he was testing AuthN with some devices Edge Shelly drivers for Gen1 and Gen2 Devices - #825 by TAustin, but I do not see how to do it (configure the credential in Smartthings/Aeotec v3 Hub using the latest Todd ST Edge test drivers gen2/3 v1.6) with my 1PM gen2 / 1PM mini gen3. If anyone has some insight I will appreciate.
Thanks
{
“name”: “Switch001”,
“id”: “shelly1pmminig3-xxxxxxxxxxxxx”,
“mac”: “xxxxxxxxxxxxx”,
“slot”: 0,
“model”: “S3SW-001P8EU”,
“gen”: 3,
“fw_id”: “20241011-114450/1.4.4-g6d2a586”,
“ver”: “1.4.4”,
“app”: “Mini1PMG3”,
“auth_en”: true,
“auth_domain”: “shelly1pmminig3-xxxxxxxxxxxxx”
}

Is this topic totally dead?

I added Shelly 1 mini gen3 in Shelly app, and tried adding it to ST with scanning nearby devices. I have the right Edge driver installed, the one that should be working with gen2 … can’t find anything.

How to make this work? Should I try to remove Shelly to ST integration?

Well… perhaps on Life Support :face_with_head_bandage:

You may be experiencing this: Channel subscriptions vanished [was: Ability to switch the driver gone?]

I have a bunch of Shelly v2 Devices Installed and working for ± one year .

I just checked my Hubs and don’t see his Original Test Channel installed, but my devices continue to work so I’m not inclined to mess with it at this time:

He also has TAustin Driver Test Channel (Alt), with a v1.9 found here, maybe worth a try.

I “do” see his Alt Test Channel installed on my hub, but the V1.9 Driver does not appear to be installed. His ONVIF Video Camera V2 Driver “is” installed from that Channel.

I went into SmartThings Advanced and it appears that I’m using v1.6 (which I “think” is found in his Original Test Channel)…

1 Like

Thanks,

But I didn’t even know how I would change it so it uses a driver instead of C2C!

So I added the Shelly 1 gen3 in the Shelly app, paired it.
I have ST to Shelly cloud integration from before

Then I installed the driver … and tried to add it through “find device” and couldn’t find anything at all!

On the other hand, I could include it through the C2C but it wouldn’t be local then.

Am I doing something wrong? Should I completelt removed C2C integration? Were you succesful with any of the gen3 devices?

Re C2C Integration. Does that mean Cloud-to-Cloud Integration and that you’re using the Shelly Service under SmartThings>Bottom-Right-Menu>Settings>Linked Services?

I never linked Shelly Services. Always used the Edge Drivers.

It certainly may be worth a try to remove your Shelly Devices first from SmartThings, then unlink the Shelly Service.

From there, I would try using the “Alt” version 1.9 of the Shelly Edge Drivers, rather than the 1.6 version. If 1.9 doesn’t work, try 1.6.

I don’t have any Gen3 Devices, so can’t speak to that. Maybe some prior posts in this thread will shed light on whether/not other users got Gen3 Devices working, but I haven’t had a chance to scroll back :slight_smile:

Let us know your results!

1 Like

Yes, exactly, linked services :slight_smile:

I’m on a business trip, but as soon as I get home, I will definitelly try to unlink Shelly cloud from ST first.

But whatever Shelly device you are trying to add to ST via the driver must be first added to Shelly cloud (which is not linked to ST), am I right? I mean it should be initialized, with address and all that, otherwise, how could ST even find it? Shelly devices don’t have a dedicated pairing mode, you just add include them via Shelly app.

Yes, that’s correct! The Shelly Device needs to be up/running in the Shelly Web App or Shelly Smart Control Mobile App. Then install Edge Drivers in SmartThings. Then scan for new Shelly Devices in SmartThings.

1 Like