-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Refactor Tuya into separate bundle #675
base: main
Are you sure you want to change the base?
Conversation
Hello @cdjackson, Thank you, |
Thanks @cz6ace
No - I don't think so. If you take this bundle and drop it in your addons folder, I think it ought to work. Let me make one more small change to move the channel definition into the Tuya binding otherwise you'd need to also update the main zigbee binding and this should be better decoupled (I just missed that earlier). |
I've now moved the channel definition into the separate Tuya bundle, so once CI completes this should work as a standalone bundle. I've also rebased on the current master. |
Hello Chris, thank you. I do not know I tried the updated version, copied the thuya into I looked into the 3.1.0 karaf into the zigbee bundle, the package is there, but probably issue will be the meta information in the manifests. |
I would hazard a guess that the issue is the library version since it was updated recently. It should be ok in 3.2 if you do a clean install of the snapshot so please let me know how you go. |
In case anyone is testing this, I suspect it doesn't work at the moment. I'm currently doing a larger refactoring to support more complex customisation (initially to support the Tuya roller blinds) and as I have one of these I will be able to do some general level of testing. Hopefully I'll have something further to test on this in the next week or two. |
Hello Chris, after a pause (need to solve issue with homematic & heating system after migration to a new control unit) I tried brand new install from the snapshot:
still, after copying the Tuya bundle: I can see the same error:
What are the correct steps to install the new bundle? Or should I copy other bundles into addons? |
As I posted above, this will not work at the moment. I'm currently refactoring this further to resolve this. |
Signed-off-by: Chris Jackson <[email protected]> (+4 squashed commits) Squashed commits: [8c397c9] Add tests for ZigBeeConverterTuyaButton Signed-off-by: Daniel Schall <[email protected]> [d68a96a] Fix build break Signed-off-by: Daniel Schall <[email protected]> [9a37f0e] Add Tuya button support Signed-off-by: Daniel Schall <[email protected]> [af45e77] Create Tuya specific handler binding Signed-off-by: Chris Jackson <[email protected]>
Signed-off-by: Chris Jackson <[email protected]>
Signed-off-by: Chris Jackson <[email protected]>
Dear all, |
@jflalande , Hi, I am afraid it is not fully refactored yet. Now it is not even compilable.
|
Hi @cdjackson , is this pull request abandoned or do you plan to work on it in the future? Thx, |
It is not abandoned, but I have had a lot of other things going on over the past few months and this has unfortunately dropped down the priority list.
|
Tell me about it, I'm glad that it is still on the list ;-) No stress. |
Hi, is it dead now? If not, do you remember what has to be done to finish this and can someone else help with this? I'd like to help, but I'm afraid I'll need few initial hints where to start and where to look for some docs. |
Hi, same here. I can test, but for now I understand that this specific bundle is not finished yet. Just found my MOES 3 tuya button, changed the battery, and I still see that openhab complains about the 253 command in the zigbee logs. |
@dschall - firstly, sorry this has taken so long. The past few months have been a bit hectic moving around the world, selling and buying houses, and changing jobs etc, all with the world in a mess.
I've refactored your PR into a separate bundle. Maybe you can take a look to see if it works as I can't really test.
Thanks
Intended to replace #629
Signed-off-by: Chris Jackson [email protected] (+4 squashed commits)
Squashed commits:
[8c397c9] Add tests for ZigBeeConverterTuyaButton
Signed-off-by: Daniel Schall [email protected]
[d68a96a] Fix build break
Signed-off-by: Daniel Schall [email protected]
[9a37f0e] Add Tuya button support
Signed-off-by: Daniel Schall [email protected]
[af45e77] Create Tuya specific handler binding
Signed-off-by: Chris Jackson [email protected]