dresden-elektronik / deconz-serial-protocol

deCONZ Serial Protocol
7 stars 2 forks source link

Reconfig as a repeater #19

Open gumbyCAD opened 1 year ago

gumbyCAD commented 1 year ago

Is it possible to reconfigure my Conbee II stick as a repeater? If not this would be an awesome feature to introduce.

Hedda commented 1 year ago

For reference, Repeater/extender are layman's terms, what you ask for is the option for it to become a "Zigbee Router (ZR)".

A common e use case could be that users used an original ConBee or RaspBee and later bought a new ConBee II or RaspBee II and want to repurpose their old ConBee/RaspBee as a "Zigbee Router" (ZR) device (i.e. a routing Zigbee Pro device) in order so they can join it to an existing Zigbee network as a Zigbee Router device to then extend their Zigbee network mesh.

Preferably a Zigbee 3.0 router device so it can act as a Zigbee Router for Zigbee 3.0 devices if joined to a Zigbee 3.0 (ZB3) network.

https://en.wikipedia.org/wiki/Zigbee#Device_types_and_operating_modes

Device types and operating modes

There are three classes of Zigbee devices:

PS: Zigbee Pro device becomes a non-routing Zigbee End Device (ZED) on a legacy Zigbee network (e.i. a non Zigbee Pro network), so even if could join a Zigbee Light Link (ZLL) network or Zigbee Home Automation (ZHA) network then it would only be a ZED. There is also the follow-up question to about what would happen if it joins a Zigbee 3.0 (ZB3) network?

ebaauw commented 1 year ago

This used to be possible, a long time ago, see https://github.com/dresden-elektronik/deconz-rest-plugin/issues/21. Last time I tried, the device wouldn’t keep the ZLL link key. I don’t think I ever tried to join it to an existing ZHA/Zigbee Pro network, though, using the ZHA link key.

If you have an original RaspBee or ConBee, you could flash firmware from 2017, but you’d probably need a corresponding version of deCONZ to configure the device.

If we’re nitpicking, strictly speaking the coordinator is already a Zigbee router. The term repeater is typically used for a router device with no application function (like light or sensor). The issue is not to get the device to act as a router, but to get it to join an existing network, rather than form its own. If you know the network parameters, you might try and configure them directly, instead of trying to pair the device with the other network.

Hedda commented 1 year ago

This used to be possible, a long time ago, see dresden-elektronik/deconz-rest-plugin#21

Also see this other related request posted in deconz-rest-plugin which are not quite the same request as this since deconz-rest-plugin requires deCONZ while the deconz-serial-protocol does not as use a serial interface to communicate and give commands directly with the application firmware running the ConBee dongle instead of going through deCONZ API:

https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2788

kavejo commented 1 year ago

I'd be looking to reconfigure my Conbee II as a Zigbee Router too. I do have a couple of Sonoff ZBDongle-E working one as a Coordinator and one as a Router, and changing mode there is a no brainer.