Jump to content
ℹ️ Firmware Version 1.7.0 Rollout in Stages ℹ️ Firmware-Version 1.7.0 wird schrittweise ausgerollt ℹ️ ×
🌟 NEW: Shelly Assistant Scene creator (Beta)🌟 ×

Recommended Posts

Posted

Hi,

My order of Shelly 1 Mini Gen4 has just arrived and I installed two of them. However, I'm not able to switch them from matter to zigbee. In the manual, it says to consecutively press the reset button 5 times, and to make it discoverable you'd need to press three time. This doesn't work for me, I can confirm the button presses in the web interface, but it doesn't seem to switch to zigbee mode. 

Apparently, the web interface should be unavailable in zigbee mode by default. This further confirms that it just doesn't switch modes. I tried long and short presses. If any of you could help me out on how to achieve the switch to zigbee firmware, I'd highly appreciate it!

 

PS: I also just opened a support ticket related to this issue. As soon as I get a response from there, I will let you know.

Posted (edited)

Ok, I got it working. I repeated the process a few more times and at some point the wifi access point of the Shelly was no longer visible on my phone. 

From there, I clicked the button three consecutive times, but this also didn't work on the first try. 

My guess is that there is a very specific speed at which one has to press the button, but I try to confirm this the next few days. This would be more satisfying than saying that it's just unreliable...

Edited by sam34
Posted (edited)

Selbe Problem mit 1PM Gen4, 1 Gen4 und 1Mini Gen4

Sinnvoller wäre ohnehin ein Schalter in der Weboberfläche!

Man muss wirklich sehr schnell drücken damit das klappt.

Sobald die Shelly einen Reboot macht hat der 5fach Tastendruck geklappt - erkennbar per Weboberfläche

Im Anschluss schaut es so aus:

image.thumb.png.4ed771640164029930b190e8a1a39cb9.png

Edited by AlexAn
Posted

Having the same issues here. The way Shelly designed this is not really comprehensive from my point of view.

Why not simply implement an UI element (please implemented this in an upcoming release) to switch between matter/wifi and Zigbee? Maybe implement a warning that if switched to Zigbee, WiFi is not accessible anymore (as it uses the same PHY/RF?)

Currently I run 10 Shelly 1(PM) Gen4 and all of them are connected to WiFi. Ui shows Zigbee, but pressing the button three consecutive times does nothing (for me). Home assistant can’t find Zigbee devices. 
I managed to switch 8 of them to Zigbee (from matter) but can’t get them paired to HA.

bit of a bummer as this was the main reason to buy them. Don’t want to pollute my IoT network with more devices, getting kind of crowded in there already 😉

 

Posted
On 3/29/2025 at 7:30 PM, shel0815 said:

... als workaround (bis Shelly hoffentlich dies über die Oberfläche löst) hat bei mir folgender API-Aufruf geholfen (konnte so mit Home Assistant ohne Reset Button syncen):  

curl -X POST -d '{"id":1,"method":"Zigbee.SetConfig","params":{"config":{"enable“:true}}}‘ http://shellyipadresse/rpc

 

Das hilft auf jeden Fall schon mal! Danke! Gibt es sowas vielleicht auch um pairing zu aktivieren?

Kleinigkeit noch. Sonderzeichen beachten. Das Kommando funktioniert nicht wenn man es einfach so rauskopiert.
 

curl -X POST -d '{"id":1,"method":"Zigbee.SetConfig","params":{"config":{"enable":true}}}' http://IPfromShelly/rpc

 

Posted (edited)

This just triggers the UI option "enable" in the Zigbee firmware. As far as I understood, it does *not* send the device into pairing mode. As Zigbee is using the same Radio as Wifi, WebInterface won't be available after you trigger this and perform the required restart. So physical access to the device (to press the button additionally 3 consecutive times) is necessary.

 

See: Zigbee | Shelly Technical Documentation

Alternatively you can use a GET request:

http://<Shelly IP>/rpc/Zigbee.SetConfig?config={"enable":true}

 
Edited by h1ghrise
Posted (edited)

Finally I got it working and can share some insights.

When pressing the button 5 times, the firmware is switched to Zigbee, utilizing the Zigbee Radio. You can see that the device is restarting (LED turns off and switches to blinking afterwards). Be aware that all settings (Device Name, Button Behavior, etc.) have to be redone. Afterwards, set Zigbee to enabled (UI/API) and press the button 3 more times to get the device into pairing mode.

Edit: Pressing the button again 3 times, after switching from matter to Zigbee is not necessary. Once Zigbee is enabled, Device needs a reboot and will be discoverable automatically - neat 😄

Edit 2:I noticed that the Consumption type (i.e. Light, when it should be exposed as a light in Home Assistant) is not honored when using Zigbee. Can somebody confirm that?

Edit 3: Filed a bug with Shelly for the consumption type behavior.

What really surprised me is, that the device stays available via Wifi, even with Zigbee paired. 

If you do not want to have Wifi, you can disable it with an API call. When trying to disable it via UI, i got an error message.

HTTP GET:

http://<Shelly IP>/rpc/WiFi.SetConfig?config={"sta":{"enable":false}}

But be aware: once you disable wifi, and want to enable it again, press (and hold) the button for 5 seconds to enable AP mode.

 

Edited by h1ghrise
Posted (edited)

For the first ones, I followed the procedure (pressing 3 consecutive times) and can't tell if the LED changed status. I did not pay attention. After I figured out, that when enabling Zigbee in the UI, the device enters pairing mode, I was not able to check, because I did not open the sockets anymore.

Im using a PoE Coordinator with the following chipset:

image.png.7c9ed64b7ee9f1e532b1daf505fb76d7.png

 

Steps (which worked for me best and were reproducible) are as following:

  1. Press button 5 Times, to switch to Zigbee mode (If you are connected to Wifi, LED should switch from solid, to blinking, indication switch of partition/firmware to Zigbee
  2. Connect to Shelly (Refresh Browser Tab to avoid cached content)
  3. Under Zigbee hit "enable" (might ask for a restart)
  4. Device enters Pairing mode - ready to pair with your coordinator.

 

2 hours ago, MrPCatt said:

Neither on a Conbee II nor a Skyconnect stick. I cant believe its working that bad....
 

Do you use a USB-extension Cord? It is important to avoid any 2.4Ghz interference as much as possible. This is why I disabled Wifi after switching to Zigbee, even the Gen4 Devices can handle both protocols simultanously.

Edited by h1ghrise
Posted

What a journey...
Yes, extension cord in place (2m). About 50 zigbee devices already working for years...

Ok, finally I got one working. I cant really tell what was different this time. Nothing I already tried a dozen times... But here is what I did.

- switch so zigbee mode (5 x press, but also did not work on first try!)
- activate wifi and join home wifi
- deactivate AP Mode (and BT)
- click factory reset on web interface (this seems to be the trick)
- after that Shelly boots and comes up in zigbee pairing mode and with wifi deactivated altogether. At this point zigbee discovery in HA worked immediately!
- the led does not show pairing mode as far as I can tell
- activate wifi-ap again (5sec press) and join home wifi
- interesting, the zigbee setting on web interface was disabled at this point. I reenabled it
- for now, wifi and zigbee are working in parallel with reasonable signal strenth. I have to monitor it and eventually deactivate wifi again, even I really would like not to.
 

Posted

Glad it worked out 🙂

I noticed, when trying to get more shellys into operation, that the behavior is quite inconsistant. After switching to zigbee firmware and enabled zigbee (to get them into pairing mode) the wifi was sometimes automatically disabled, sometimes not.

It looks like there's still room for improvement.

My support ticket I raised for not honoring the consumption type in zigbee was closed after support raised it with their engineers. The feedback was:

Quote

The consumption type option in the local interface is not possible to be communicated over Zigbee as there isn't an available attribute in the cluster for it.
We've checked on other Zigbee devices, they don't offer such option. 

So i have to live with manually telling a switch to act as a light, when operated in Zigbee.

  • 2 weeks later...
Posted

I also tried to switch to zigbee mode, nothing works, not the 5 buttons presses, not the url, it returns:
 

{"code":404,"message":"No handler for Zigbee.SetConfig"}

They made a promising product, but it doesn't work out of the box

I hope they can fix the zigbee, and I also don't want to push the buttons, I want to do it by UI. 

 

Posted
On 14.4.2025 at 11:35, Pvee said:

I also tried to switch to zigbee mode, nothing works, not the 5 buttons presses, not the url, it returns:
 

{"code":404,"message":"No handler for Zigbee.SetConfig"}

They made a promising product, but it doesn't work out of the box

I hope they can fix the zigbee, and I also don't want to push the buttons, I want to do it by UI. 

 

This means your're still on the matter firmware.

Press the button 5 times (rapidly!) Device should reboot and present itself with zigbee firmware. I noticed that the device went straight into pairing mode after this step, and Wifi was disabled immediately.

If wifi works after device has rebooted, make sure you reload the ui (not from cache!).

Posted
9 hours ago, tvbshelly said:
11 hours ago, h1ghrise said:

matter firmware / zigbee firmware

Matter mode / Zigbee mode is probably a better description 😇

 

1 hour ago, If_then_else said:

Okay, I was probably wrong - it really does seem to be separate firmware ☺️

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...