I recently bought Shelly 1 Gen4 devices (both Mini and standard) and I’m trying to pair them directly to SmartThings via Zigbee.
Pairing via Matter over Wi-Fi works perfectly out of the box, but I would prefer to use Zigbee instead. I’m based in Europe and using an Aeotec SmartThings hub. The devices are updated to the latest firmware and are intended to control front porch lights with a physical wall switch.
Getting the device into Zigbee mode was already challenging. The manual states that pressing the reset button five times should enable Zigbee pairing, but this never worked for me. I eventually managed to switch to Zigbee mode via the Shelly web interface.
SmartThings then discovers the device as a Zigbee switch, but:
The device cannot be controlled from SmartThings
It does not react to the physical switch input
Enabling Zigbee seems to disable Matter over Wi-Fi, meaning I lose access via the web interface and the Shelly app
Has anyone successfully used Shelly Gen4 devices with SmartThings over Zigbee, or experienced similar issues? Any insights would be appreciated, as Zigbee is my preferred setup for this use case.
Hi, @Dsam
Did you verify these devices are certified as Works With SmartThings (WWST)?
It would be helpful if you shared the fingerprints of the device to see if they’re included in the official driver.
For this, you can go to my.smartthings.com/Advanced, go to the “Devices” section and the manufacturer and model of the device will appear there, you can share a screenshot.
Unfortunately, I deleted and removed the device when I couldn’t get it to work over Zigbee, but I will try to pair it again to get the fingerprints. I assume it needs to be paired over Zigbee in order to get the correct fingerprints?
Yes, you need to add it using the protocol you want to see the fingerprints reported there.
Only the partners that have a WWST certification are allowed to use the SmartThings logo to show it’s compatible, so that’s a good sign.
Also, the device should appear in the SmartThings app Devices catalog when you click on “Add device”, since the certified products’ details (for example: complete model name) are registered during this process but a device can be certified only with a certain protocol, not all the ones it supports, that also depends on what the partner wants.
Checking the Matter-Switch driver, I see there are several fingerprints for Shelly devices:
@Dsam Can you please share your status. Did you manage to make this works via Matter ?
Did you manage to make this work via zigbee ?
I want to use this modules as well….
It seemed to work just fine when paired via Matter over Wi-Fi, and I haven’t had time to do any further testing regarding Zigbee mode yet. My intention is to do some additional testing and try to get the fingerprints when I have the time.
However, I did reach out to Shelly support, and you can find their response in the images below.
If you end up doing any testing yourself and discover something, feel free to share it with me in this thread.
Thank you for sharing the response from their support team, @Dsam.
Then, this confirms that it is not expected to connect as a typical Zigbee device. Since they say it doesn’t have an official fingerprint, it’s possible it will show generic values on the Model and Manufacturer fields.
Either way, it’s highly possible it won’t send or receive Zigbee messages as expected which is required for a successful connection.
Also, as Zigbee works based on Clusters, it’s highly important that a device is able to report which it supports and actually be able to receive configuration for them and send the corresponding status reports. Unfortunately, based on their description, it seems the functionality of the physical device is limited using the Zigbee protocol.
But, if you’ll test again, I suggest you do it while listening to the driver logs to see the messages exchange.
You need to set up the ST CLI and run the command below:
smartthings edge:drivers:logcat --all
Without the --all flag, the CLI will prompt you to select from which hub and driver you want to listen to events but this one is used when we don’t know which driver will be used for the device.
Then, try to install the device so the events of driver init and device configuration are registered there.
Just wanted to share an update on this. I wired the Shelly 1 Mini back up again today and, surprisingly, it now seems that I was able to connect, and control, the device via Zigbee. I’m not entirely sure what I did differently this time, but it seems like the device was still in Zigbee mode from the last time I tried to pair it. Everything works perfectly so far, even though the functionality is limited to on/off control (all I need in this case)
I am not 100% certain that the device is actually paired via Zigbee, but I have attached a few images from the device page in SmartThings. @nayelyz can you confirm whether the information shown in the images confirms that it is indeed connected via Zigbee?
Another unexpected thing is that I was also able to connect the device to the Shelly app via Matter over Wi-Fi. This means that the device can run Zigbee and Matter over Wi-Fi simultaneously. The device can be controlled from both the SmartThings app and the Shelly app, and everything syncs between the two apps. For example, I was able to change the input button/switch mode from “switch” to “momentary switch” in the shelly app.
@nayelyz Is there any way to tell whether the device is acting as a Zigbee repeater? (This is one of the reasons why I prefer using Zigbee instead of Matter over Wi-Fi)
Thanks for confirming. Since the pairing process and all steps were exactly the same as last time when it ended up being paired via Matter over Wi-Fi after all, I just wanted to double-check that the information shown does indeed confirm that the device is actually paired via Zigbee.
Do you know if there is a way to verify whether the device acts as a Zigbee repeater or not?
Zigbee Range extender for IoT devices: A Zigbee extender is employed to expand the reach of your Zigbee network by receiving your Zigbee signal, enhancing its strength, and then transmitting the enhanced signal over a wider area.
If another device uses this Shelly as Zigbee repeater, it will appear in the device’s Connection path information.
I think that it’s possible to disable Matter (at least using the web interface of Shelly device).
I have successfully managed to pair another Shelly 1 Mini Gen 4 via Zigbee.
What I did — at least what I believe I did — was the following: after powering up the device, I pressed the button five times to put it into Zigbee mode. Then I immediately pressed and held the button for 10 seconds to reset the device, and after that pressed the button five times again to enter Zigbee mode. I’m not sure whether this sequence was what actually did the trick, or if it was just a coincidence.
I haven’t seen either of the devices appear as a “jump” in any connection path, so I can’t confirm whether they are acting as repeaters or not. I am still running Zigbee and Matter over Wi-Fi simultaneously on both devices, and I’m not sure whether that affects the repeater function.