PaulAnnekov / tuyaha

Implements the special Tuya Home Assistant API.
Other
141 stars 106 forks source link

ZMAI-90 not logging energy W and kwh #44

Closed swolffke closed 3 years ago

swolffke commented 3 years ago

When syncing the cloud plugin with Domoticz the KWH and Watt devices are not added for ZMAI-90

PaulAnnekov commented 3 years ago

Sorry, I don't understand. How is your issue related to this library?

dereitz commented 3 years ago

I'm not certain what the original author intended, but what led me to this issue was that I recently bought some BN-Link BNC-60/U133TJ smart plugs and setup the Tuya integration in Home Assistant. These plugs are capable of monitoring energy usage. When I look at the switch in Home Assistant, it doesn't appear to be logging the energy usage. Is that a limitation of Home Assistant or this library -- or both? Thanks in advance! Appreciate all your work on this library!

dereitz commented 3 years ago

To the OP, it appears there is another integration option for Home Assistant which includes ability to monitor energy/power: https://github.com/rospogrigio/localtuya

PaulAnnekov commented 3 years ago

Original poster gone.

@dereitz please, create a separate issue for your device. Also check https://github.com/PaulAnnekov/tuyaha#how-to-check-whether-the-api-this-library-using-can-control-your-device for data returned by Tuya API before creating.