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:
Fix GCODE command processing, now using M80/M81 and G4
Fix a bug on GCODE processing where the plugin only read the M80 command and where ignoring all the rest, being unable to Turn Off Tuya devices using it
Minor improvements on plugin settings interface making it easier to understand
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.
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