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

[zigpy-integration] ConBee and RaspBee (deCONZ based Zigbee Coordinators) support via zigpy-deconz #1081

Closed
Hedda opened this issue Mar 10, 2022 · 12 comments

Comments

@Hedda
Copy link
Contributor

Hedda commented Mar 10, 2022

Suggest you next consider implementing ConBee and RaspBee (deCONZ based Zigbee Coordinators) support via zigpy-deconz:

https://github.com/zigpy/zigpy-deconz

This radio library for zigpy uses the deCONZ serial protocol for communicating with ConBee, ConBee II (ConBee 2), RaspBee, and RaspBee II (RaspBee 2) adapters from Dresden-Elektronik/Phoscon.

Posted a sponsoring suggestion to a dresden-elektronik deCONZ Serial Protocol and ConBee and RaspBee firmware developer:

dresden-elektronik/deconz-serial-protocol#17

dresden elektronik / Phoscon currently sell their widely popular ConBee II USB stick and RaspBee II Raspberry Pi Shield Zigbee Coordinator adapters. Note that they have sold ConBee and RaspBee branded Zigbee adapters for many years and have done such a to newer chips in the past but as a I understand it their deCONZ Serial Protocol that the zigpy-deconz library uses is backwards compatible with the older ConBee and RaspBee adapters.

manup (Manuel Pietschmann) from dresden elektronik / Phoscon could maybe arrange sponsoring of ConBee II hardware to you?

https://github.com/dresden-elektronik/deconz-serial-protocol

https://phoscon.de

By the way, manup posted positive replies to similarly HW donation requests in dresden-elektronik/deconz-serial-protocol#2

Hopefully he is willing to make similar donations of new ConBee II (ConBee 2) / RaspBee II (RaspBee 2) to all of you in this project.

Tip would be that the best way might be if you yourself send an e-mail to "Manuel Pietschmann" [email protected] (a.k.a. @manup on GitHub) and summerize "Zigbee for Domoticz" plugin and the idea of supporting deCONZ Serial Protocol adapters like ConBee II and RaspBee II via zigpy and zigpy-deconz libraries (plus add your fellow plugin developers to copy on that e-mail).

PS: Nice to hear about initial beta support for Silabs EZSP Zigbee Coordinators via zigpy in addition to Texas Instrument ZNP!

https://github.com/zigbeefordomoticz/Domoticz-Zigbee/tree/beta6#tested-hardware-zigbee-adaptersdonglesstickskeys

https://github.com/zigbeefordomoticz/Domoticz-Zigbee/commits/beta6

@Hedda Hedda changed the title [zigpy-integration] Request ConBee and RaspBee (deCONZ based Zigbee Coordinators) support via zigpy-deconz [zigpy-integration] ConBee and RaspBee (deCONZ based Zigbee Coordinators) support via zigpy-deconz Mar 10, 2022
@pipiche38
Copy link
Collaborator

@puddly do you plan to have the new radio api implemented as well for deConz ?

@pipiche38
Copy link
Collaborator

pipiche38 commented Mar 11, 2022

For information, I had already a Conbee II which was kindly shipped 2 years back when doing the first zigpy investigation.

I would say, thanks to zigpy library as I did the first integration is almost 2 hours of work and was able to get ConBee II connected.

Unfortunately for now, the Permit to Join mode doesn't happen. need to investigate

@manup (Manuel Pietschmann) We will investigate in our side, and I'll come back to you via email.

In between what is the way to get the ConBee II upgraded ? (I'm running right now 26580700 Firmware ) ? I do not have Windows system. hope that is possible

Still interesting to see @manup answer as regards to the existing Domoticz Plugin for deCONZ

@puddly
Copy link

puddly commented Mar 11, 2022

do you plan to have the new radio api implemented as well for deConz ?

It's already done: zigpy/zigpy-deconz#172

what is the way to get the ConBee II upgraded ?

https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually
https://github.com/dresden-elektronik/gcfflasher

@pipiche38
Copy link
Collaborator

Looks that we need to wait for zigpy/zigpy-deconz#172
And I'm also looking to get respons from @manup as there is an existing Domoticz plugin for deCONZ ( https://github.com/Smanar/Domoticz-deCONZ )

@Hedda
Copy link
Contributor Author

Hedda commented Mar 14, 2022

what is the way to get the ConBee II upgraded ?

https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually

https://github.com/dresden-elektronik/gcfflasher

GCFFlasher update on Linux -> http://ronhks.hu/2021/04/22/conbee-2-firmware-upgrade-on-ubuntu/

GCFFlasher update in Docker container -> https://github.com/marthoc/docker-deconz#updating-conbeeraspbee-firmware

GCFFlasher update on Windows -> https://flemmingss.com/how-to-update-conbee-conbee-ii-firmware-in-windows-10/

Also see changelog -> https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Firmware-Changelog

While not technically required it is highly recommended that users often upgrade deconz firmware on ConBee or RaspBee.

PS: Dresten Elektronik also (strongly) recommend using a long USB extension cable connected to a USB 2.0 port due to EMF/EMI:

https://phoscon.de/en/conbee2/install#connection

@manup
Copy link

manup commented Mar 14, 2022

As far as I understand @Smanar 's Domoticz plugin is communicating with deCONZ REST-API. In comparison to HA this is like the HA deCONZ integration https://www.home-assistant.io/integrations/deconz in contrast to ZHA which can can talk to ConBee firmware via serial protocol.

@Hedda
Copy link
Contributor Author

Hedda commented Mar 15, 2022

As far as I understand @Smanar 's Domoticz plugin is communicating with deCONZ REST-API. In comparison to HA this is like the HA deCONZ integration https://www.home-assistant.io/integrations/deconz in contrast to ZHA which can can talk to ConBee firmware via serial protocol.

Yes correct, just the same as the deCONZ integration Home Assistant the Smanar Domoticz-deCONZ communicate via deCONZ REST-API, (and not via deCONZ Serial Protocol like zigpy-deconz). As such Smanar's deCONZ Plugin for Domoticz is dependent on the deCONZ application (closed source propriatory software by Dresden Elektronik) to control and set up the Zigbee network.

In contrast, both the ZHA integration for Home Assistant and the Jeedom Zigbee Plugin, as well both as Zigbee2MQTT and IoBroker, instead only use the deCONZ Serial Protocol via either zigpy-deconz or zigbee-herdsman respectivly as their dependency, and as such they use direct serial-communication to the deCONZ firmware running on ConBee/RaspBee adapters with just the deCONZ firmware and are not in any way dependent on the deCONZ application software at all.

@manup Other than the deCONZ application software not being open source I personally think the main downside from ConBee/RaspBee adapters end-users point-of-view is that the two different methods do not support the same backup format and as such it is not easy for users to migrate between different implementation without having to manually repair all their Zigbee devices. I however beleieve that problem could however be solved by Dresden Elektronik could add support for the new "Open ZigBee Coordinator Backup Format" to deCONZ application software and/or deCONZ REST-API plugin, as this new "Open ZigBee Coordinator Backup Format" is now supported by those other mentioned implemenations, including ZHA integration for Home Assistant, Jeedom Zigbee Plugin, Zigbee2MQTT, and IoBroker,. Check out -> https://github.com/zigpy/open-coordinator-backup

@zigbeefordomoticz
Copy link
Owner

zigbeefordomoticz commented Mar 23, 2022

as of now and based on the integration work done with the nea-radio-API , I see the following major show stopper to push the deConz integration to production

We are awaiting the sample , so the other team members will be able to test and improve

cc: @Hedda , @puddly , @manup

@pipiche38
Copy link
Collaborator

pipiche38 commented Mar 29, 2022

short update

open issues are

cc: @Hedda , @puddly , @manup

@pipiche38
Copy link
Collaborator

zigpy-deconz maintenance and development seems quiet limited as zigp-zigate.

For now, not sure that deconz will go live on stable

@pipiche38
Copy link
Collaborator

awaiting for the upcoming new-radio-API.

@pipiche38
Copy link
Collaborator

release on the beta6 branch for now, for futur launch to stable. But deConz considered ready with minor limitation

  • no channel change possible
  • no support of Wiser/Livolo ... until new firmware release

Hedda added a commit to Hedda/Domoticz-Zigbee that referenced this issue Jun 29, 2022
Update readme.md deconz for beta6 as per zigbeefordomoticz#1081
pipiche38 pushed a commit that referenced this issue Jun 29, 2022
* Update readme.md deconz for beta6 

Update readme.md deconz for beta6 as per #1081

* Update readme.md ConBee/RaspBee compatibility

Update readme.md ConBee/RaspBee compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants