AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
202 stars 51 forks source link

Teckin SP22 - Outlet is missing consumption information #210

Open apauly opened 3 years ago

apauly commented 3 years ago

Hi,

I do have some Teckin SP22 outlets which basically work great with the plugin in terms of turning them on and off. However, I'm struggling to get the current voltage and current.

At first glance, it seems they don't provide any information about this:

[TuyaLan] Ready to handle OUTLET_NAME (Outlet:3.3) with signature {"1":true}

But the tuya app itself is actually capable of showing that information. The outlets cannot communicate to the outside of my network (they are also listed as offline when I open the app outside of my network), so I assume that the tuya app gets these values directly from the devices.

What I do see in Homebridge is a characteristic named "Outlet In Use" which is always false.

So my question now is: Is there a way to get these values with this plugin? What could be a starting point for debugging?