Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConBee II as router for Hue #2788

Open
fubar-coder opened this issue May 19, 2020 · 27 comments
Open

ConBee II as router for Hue #2788

fubar-coder opened this issue May 19, 2020 · 27 comments
Labels
Backlog This label is assigned if it is implemented later. Confirmed Bug To-Do

Comments

@fubar-coder
Copy link

I followed the instructions of #21, but I encountered the problem that setting the TC address to 0xffffffffffffffff results in the TC link key being reset to 0x5a6967426565416c6c69616e63653039.

@ebaauw
Copy link
Collaborator

ebaauw commented May 19, 2020

See the many other issues that link to 21. It has been broken for a long time. You might try a firmware version that was current early 2017 from http://deconz.dresden-elektronik.de/deconz-firmware/?C=M;O=A. Or maybe a deCONZ version from that time, probably 2.04.35.

@fubar-coder
Copy link
Author

That's the problem: There is no firmware that old for the ConBee II.

@ebaauw
Copy link
Collaborator

ebaauw commented May 21, 2020

The ConBee II wasn’t yet introduced back then. Tbh I’m not sure if the issue is with the firmware or with deCONZ, but I doubt 2.04.35 will want to work with the ConBee II.

Never tried this myself, but you might try and ignore the TC Link key altogether, and configure the network key of the Hue bridge directly. Of course, you’d need to recover the network key by sniffing the Hue bridge while pairing a device. Afaik, there’s still no ZShark firmware for the ConBee II, so you’d need a different device for sniffing.

@stale
Copy link

stale bot commented Jun 27, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 27, 2020
@rkjnsn
Copy link

rkjnsn commented Jun 28, 2020

I believe this is still an issue.

@stale stale bot removed the stale label Jun 28, 2020
@stale
Copy link

stale bot commented Jul 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 19, 2020
@fubar-coder
Copy link
Author

Are there any news about this issue?

@stale stale bot removed the stale label Jul 19, 2020
@stale
Copy link

stale bot commented Aug 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 9, 2020
@Mimiix
Copy link
Collaborator

Mimiix commented Aug 10, 2020

@fubar-coder I think there is a tab in the deconz-gui settings where you can select the mode.

Then you should be able to add it to hue, but i don't know if that would work. Other than that, i will ask @manup to reply on this.

I doubt if it gets any priority, as this is a niche.

@stale stale bot removed the stale label Aug 10, 2020
@stale
Copy link

stale bot commented Aug 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 31, 2020
@Mimiix Mimiix added the Backlog This label is assigned if it is implemented later. label Aug 31, 2020
@stale stale bot removed the stale label Aug 31, 2020
@fubar-coder
Copy link
Author

@Mimiix I found the settings, but the problem is that the key gets reset when I try to set the address.

@Mimiix
Copy link
Collaborator

Mimiix commented Sep 3, 2020

I really have no clue on this one.

I'll ask Manup

@SwoopX
Copy link
Collaborator

SwoopX commented Sep 3, 2020

Iirc, the magic only happens when you leave the network for configuration changes. So try to press leave and then try again. Don't forget to join afterwards.

@tkl-git
Copy link

tkl-git commented Sep 17, 2020

I really have no clue on this one.

I'll ask Manup

Hi,

any news about this subject? I would really appreciate if the developers could finally solve this issue which has been annoying people about 2 years already. It really can't be that hard to fix if you are just able to allocate some time to the task?

I bought a ConBee 2 mainly because I wanted to debug my current Zigbee network(s) (and maybe later integrate it to my current system). I have a quite large installation of Zigbee devices including 2 Hue bridges and a Cozify hub. The Cozify home automation hub has it's own Zigbee network and it controls Hue devices through those 2 Hue bridges, not directly.

My system includes over 100 Zigbee devices and the problem is that sometimes some of the Hue devices go offline without any obvious reason. I would need to get the routing tables from the devices and see a network map. That way I could maybe identify and solve the problem (adding more repeating Zigbee devices randomly is not the solution I need).

Is it currently possible to join the network of the Hue bridge as an end device instead of a router?

ConBee 2 is still missing the Zshark support too which also came as a surprise to me.

Unfortunately it is not an option for me to use ConBee as a Zigbee cordinator. I really like the Conbee 2 hardware so I don't want to get yet another Zigbee USB gateway. Hopefully the developers could fix these ConBee 2 problems soon. Thank you.

@carbonelle
Copy link

hello I succeeed in joining a hue network with the conbee II by followed the instructions of #21, but I defined the TC address with the MAC address of the Hue bridge

@carbonelle
Copy link

Defining the TC address with the mac address of the hue bridge avoid the reseting of the TC link key with 0x5a6967426565416c6c69616e63653039. However if you remove the conbee II from the power (USB port) you lost the connection and you have to redo the configuration.

@Mimiix
Copy link
Collaborator

Mimiix commented Aug 11, 2021

@tkl-git For some reason i missed this one.

I've asked him, but no avail. yet.
I'll ask again :)

@LineF
Copy link

LineF commented Dec 11, 2021

Same for me - it would be nice if deCONZ / Conbee-II could be used as a router in an existing Hue network.
Any news about that?

Martin

@BOFHELL
Copy link

BOFHELL commented Jul 9, 2022

any updates ??

@paetsky
Copy link

paetsky commented Nov 10, 2022

I'd also appreciate updates on this bug topic! Conbee II would be a good tool to force some device mappings on Hue network with non-Philips (ie. Busch-Jaeger 6710U, 6711U and 6715U) devices on it.

@kavejo
Copy link

kavejo commented Apr 9, 2023

Has anybody managed to run Conbee II as a Zigbee Router (plugged into a power socket)?
I have done that with a Sonoff ZBdongle-E, but can't find a way to do that with a fully up-to-date Conbee II.

@Mimiix
Copy link
Collaborator

Mimiix commented Apr 9, 2023

@manup

@BOFHELL
Copy link

BOFHELL commented Jul 7, 2024

Push

@talondnb
Copy link

talondnb commented Oct 4, 2024

Bump?

@ebaauw
Copy link
Collaborator

ebaauw commented Oct 4, 2024

I just joined my ConBee III to the Zigbee network by my Hue bridge. I messed up, and the ConBee is still acting as coordinator, but that doesn't seem to cause any harm. Note that the Hue bridge isn't a Zigbee coordinator, but just another router (with NWK address 0x0001) that doubles as gateway.

Pairing the RaspBee or ConBee with the Hue bridge doesn't work - somehow writing the ZLL TC Link Key doesn't stick. You need to configure the network parameters manually. Typically, you need to Leave the network, change the parameters, Write them, Read them back for good measure, and Join. I like to do another Read after joining, to make sure the parameters stuck.

You need to set at least the PAN ID, Network Key and Channel Mask. I also set the TC Link Key, but that might not be needed, and the Ext PAN ID (to the Zigbee MAC address of the Hue bridge). deCONZ bitches about that in the log, but it doesn't seem to do any harm.

Oct 04 11:15:12 pi15 deCONZ[2955400]: 11:15:05:127 apsUseExtPanid is 0x00178801050A55DA but should be 0, start reconfiguration
Oct 04 11:15:12 pi15 deCONZ[2955400]: 11:15:05:127 Skip automatic channel change, TODO warn user

To get the Hue bridge network parameters, you need to sniff the Zigbee traffic of the Hue bridge, while pairing a device. Make sure to configure the (once secret) ZLL Link Key in Wireshark, so it can decrypt the message exchanging the network key.

Note that in general it is not recommended to use more than one gateway on your Zigbee network. Both gateways will try and configure devices, which might cause conflicts, particularly for sensor bindings. I currently only have a couple of Hue lights connected to this test network, to have the Hue bridge upgrade these to their latest firmware (for which the files haven't been located yet), and use deCONZ to see what has changed on the device. As the Hue bridge doesn't setup attribute reporting for Hue lights, I don't expect much conflict in this case. For good measure, I haven't enabled the OTAU server on deCONZ. Also, I paired the lights to the Hue bridge, before adding the ConBee III. I'm not sure what would happen when pairing additional devices when both gateways are active.

@ebaauw
Copy link
Collaborator

ebaauw commented Oct 4, 2024

Has anybody managed to run Conbee II as a Zigbee Router (plugged into a power socket)?
I have done that with a Sonoff ZBdongle-E, but can't find a way to do that with a fully up-to-date Conbee II.

Never tried that myself. You would need to connect the ConBee II to deCONZ to configure it as router and join the network where you want it to be a router in. If that's a "normal" network, using the ZHA link key, there should be no issue pairing the ConBee to that network. If it's a ZLL network, you'll need to sniff the network parameters and enter these manually, see my remarks above. As far as I know, basic router functionality is handled completely by the firmware, and should continue to function, when deCONZ is down. Of course you would need to check that on another gateway. Then move the ConBee to a USB power adapter, and double-check it's still acting as router.

@ebaauw
Copy link
Collaborator

ebaauw commented Oct 4, 2024

I'm half tempted to create a DDF for the Hue bridge, so I can change the label on the node.
Screenshot 2024-10-04 at 11 49 37

The SW Build ID is 6.77.1.37261.

ebaauw added a commit to ebaauw/deconz-rest-plugin that referenced this issue Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog This label is assigned if it is implemented later. Confirmed Bug To-Do
Projects
None yet
Development

No branches or pull requests