Major update using tinytuya for all plugs versions - #63
Open
Carlsans wants to merge 11 commits into
Open
Conversation
for now this is just a drop in replacement, but since this new lib offers some discovery functionality as well as a dual mode (local or cloud)
Changed version 3.3 by 3.4
Updated version number (will load default values)
Will force to erase old data from your previous installation
You only now need to insert you tuya api key and secret in settings. After, do M1234 in gcode terminal. It may take a while. Refresh your browser window and go back to your settings. Your plugs should now be there.
Added instructions video
Author
|
Hey there @ziirish, I've you had a look to the pull request. I put quite a lot of work to make it happen. Would be nice for other to profit. I guess many tuya plugs are now incompatible with the current version. This pull request fix that and add many other functionnalities. You can look at this video for a quick look at what I programmed : http://moduloinfo.ca/tuyavideo.mp4 |
Author
|
Still there, please consider making me a collaborator. I could sort some trouble out. |
mspica72
approved these changes
Mar 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @ziirish, I've worked on the project and get it working with newer versions of tuya plug using tinytuya library. Used the autodiscovery option. Go see the video on top of the readme file. It work quite well and it's easier to set. Thanks for your work :)