ziirish / OctoPrint-TuyaSmartplug

Tuya Smartplug plugin for OctoPrint
Other
19 stars 15 forks source link

fix: bring some fixes and improvements made on my fork #50

Closed andrelucca closed 1 year ago

andrelucca commented 1 year ago

I just gained access as a maintainer in this plugin and I'm bringing some fixes and improvements that I made on my fork of it. This includes:

For future releases:

Change the connection API to tinytuya, the current pytuya API in my tests didn't work, and I had a hard time configuring only one smart plug. On my fork I'm already using the tinytuya API and it's been working really good. Unfortunately to make this change I really need the help of the community testing the current version of the plugin and giving feedback if my experience with the current API is the same with other users.

As this version uses the pytuya API and wasn't upgraded yet it is a good option to test if solves the problema of the [Issue] (https://github.com/andrelucca/OctoTuya-SmartPlug/issues/4) opened in my fork