Xenomes / Domoticz-TUYA-Plugin

Implements the special Tuya Home Assistant API.
22 stars 8 forks source link

Adding measures from devices (smartplugs for instance) #6

Closed ricorico94 closed 3 years ago

ricorico94 commented 3 years ago

Hi, So far, I'm using the Guino branch of the plugin to switch on/off my smartplugs, but I see that your plugin might be more advanced as it now includes also some lights. Do you think you could include in your plugin the retrieve of measures done by devices like SmartPlugs (voltage, current, consumption) ? There used to be a plugin doing it: https://github.com/sincze/Domoticz-Tuya-SmartPlug-Plugin I didn't try it and I'm not sure if it still works as it is now old, but tracking voltage and current would be great. br,

Xenomes commented 3 years ago

Hi, sorry that is not possible jet, the plug-in you mention use local communication, Guino and my modified version of the Guino are using the tuyaha library, which use the official Tuya API but the API is under develop from the Tuya company. The only thing we can try is to report the unsupported devices. as mention there https://github.com/PaulAnnekov/tuyaha#my-device-is-not-listed-in-tuya-api-response-or-contains-incomplete-state-what-should-i-do