-
Notifications
You must be signed in to change notification settings - Fork 41
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
Code samples #166
Comments
Anyone? |
Zigpy at the moment is lacking documentation but there are code snippets referenced in this issue that may help: zigpy/zigpy#715 (comment) |
@puddly thank you |
I would appreciate some further help here: Then, pressing the button further delivers nothing. No warning, no error, no message at all.
Now, when I restart the script, I get all the above messages, but if I continue to press the button, the new method is being called and I can see messages coming through, like: thx in advance |
just for completeness: a single click is |
problem solved |
@naive-HA You might for reference also want to look at the code of the Zigbee Plugin for Domoticz (Beta branch), and the Zigbee Plugin for Jeedom (competing open-source home automation software) are all using zigpy libraries as dependencies with and without the main zigpy library: https://github.com/zigbeefordomoticz/Domoticz-Zigbee/ PS: Note that to get to code of Zigbee Plugin for Jeedom you would actually need to buy and install that plugin in Jeedom (which once installed will give you access to Python code of all installed plugins) as they, unfortunately, do not actually distribute their Zigbee plugin code directly via a Git repository. |
@Hedda your help is appreciated |
@naive-HA By the way, the latest code for Zigbee Plugin for Domoticz is only in their Beta ( https://github.com/zigbeefordomoticz/Domoticz-Zigbee/tree/beta6 |
Hopefully no one will struggle like me:
|
@naive-HA Since this specific issue is closed and could thus easily be ignored may I suggest that you instead open either new issues -> https://github.com/zigpy/zigpy-znp/issues/new/choose (noting that each issue is usually meant to separate for specific issues for tracking so that is can be closed once answered or fixed/resolved) or open new discussion(s) for little broader ongoing generic dialogue(s) that will not be closed -> https://github.com/zigpy/zigpy-znp/discussions |
@naive-HA For example see that the Zigbee plugin for the Domoticz project started as a discussion here before it grew so large that needed to move to posting specific things as issues for tracking -> zigpy/zigpy#865 |
Are there any code samples showing how to use zigpy-znp standalone?
I am writing my own code for raspberry pi zero 2W: not making use of Home Assistant or alike.
I am writing my own python code and would like to grow my code base with code interfacing with zigbee devices.
I have a sonoff usb 3.0 and zigpy-znp seems the solution upon I could build my code
Any tips on how/where to start?
Any guidance is much appreciated
The text was updated successfully, but these errors were encountered: