-
Notifications
You must be signed in to change notification settings - Fork 20
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
Implement new radio API #172
Conversation
287bfcd
to
ba4ea80
Compare
@puddly FYI, it was just mentioned by @pipiche38 in dresden-elektronik/deconz-serial-protocol#17 that for "Wiser (legacy) devices by Schneider Electric" they like to use this in new radio API for zigpy-deconz, which is possible zigpy-znp and bellows:
According to @manup reply dresden-elektronik/deconz-serial-protocol#17 both should be possible via deCONZ Serial Protocol?
|
Any reason why there is no permit() api ? |
Zigpy implements |
Just trying the latest update and I'm unable to launch, did you do some changes which could explain such error ?
App_deconz is called like that and is defined here: https://github.com/zigbeefordomoticz/Domoticz-Zigbee/blob/56e3e85e2e356ba34d35704aa17aaec2e579ea8c/Classes/ZigpyTransport/AppDeconz.py#L43 |
I've created an It's a combination of the default deCONZ endpoints with the ZNP defaults. If you have any suggestions for additional clusters or another endpoint (since the Conbee can only support three), let me know. |
Excellent, so can you tell me how I should use it ? Here after would be to do the standard way
If now I want to add additional endpoint like 0x03 |
In addition if I do the following:
|
@puddly Is it possible to also create a That request was brought up by @pipiche38 in zigbeefordomoticz/Domoticz-Zigbee#1145 Originally posted by @pipiche38 in zigbeefordomoticz/Domoticz-Zigbee#1145 (comment)
|
from zigpy_deconz.zigbee.application import ControllerApplication as DeconzControllerApplication
class YourDeconzControllerApplication(DeconzControllerApplication):
async def register_endpoints(self):
await self.add_endpoint(
zdo_types.SimpleDescriptor(
endpoint=1,
profile=zigpy.profiles.zha.PROFILE_ID,
...
Please post the full
I don't think this is possible.
|
Here are the logs. And line 94 is AppDeconz is the call to
|
Your Can you try deleting this line of code? |
This looks much better, and there is no more hang/crash . Now what should I do if I want to add an extra EndPoint like 0x03 ? I was thinking to do taht:
|
That should work, just make sure |
Looks like write of EndPoint 0x03 doesn't work. This is a deconz issue, as it works well with ZNP
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can the limitation be to 2 EndPoints, while on a default ConBee we are able to see 3 EndPoints ?
Codecov Report
@@ Coverage Diff @@
## dev #172 +/- ##
==========================================
+ Coverage 96.93% 97.00% +0.06%
==========================================
Files 7 7
Lines 980 1067 +87
==========================================
+ Hits 950 1035 +85
- Misses 30 32 +2
Continue to review full report at Codecov.
|
zigpy/zigpy#848
So far the only data that's "lost" during migration is the channel mask if it isn't just a single channel. This isn't a problem for coordinators and can be addressed if we ever support router mode.
I was able to migrate my network from a ZZH to a Conbee II with fairly boilerplate code: