xtend_tuya icon indicating copy to clipboard operation
xtend_tuya copied to clipboard

Unable to obtain Zigbee plug "Power" and Wifi plug"Consumption"

Open desmondyipyc opened this issue 6 months ago • 4 comments

Hi sorry, was multi tasking so my raised issue was messy, Here's a much clearer description, this is gonna be a lenghty issue hahaha

I use Power to track if the device is running at the point of time when i check on the device Consumption will be for energy used.

Currently i am facing two issue that never worked from 2.0.5 as i started using xtend tuya on 2.0.5

Zigbee plug POWER Regardless of version, Zigbee plug is unable to obtain LIVE data for POWER , it requires me to open up the app. For example, i plugged my device out from the smartplug, it was at 10W. but should reflect 0W after unplug, however due to not opening of the app. POWER on HA is stuck at 10W forever until i open up tuya > device > energy it will reflect 0W However Consumption B can be updated and able to retrieve past data as of 2.0.7 BETA

Here is the diagnostic log for zigbee plug POWER issue https://pastecode.io/s/mfz3rsdd

Wifi plug CONSUMPTION

I am unable to update accurate information for consumption and unable to retrieve past data of the plug's consumption as per my tuya account Example, Aircon Plug is with 100+ KW, it does not state so. After using AIrcon App for entire night, app is showing 3 KW, but xtend tuya is indicating less than 0.5KW which is impossible. However power is updated LIVE whenever there is a jump. which i used integral sum as a workaround to get consumption. It is not accurate to the app but it is as close as i can get with the consumption not working for WIFI plug. Will further clarify later as i have reinstall xtend tuya entirely, will check on the consumption and consumption B again with 2.0.7 beta.

Here is the diagnostic log for Wifi plug consumption issue. https://pastecode.io/s/yec5w1om

In conclusion, POWER not updating for zigbee smart plug but it is updating for wifi smart plug Wifi plug is not able to retrieve current total KW reflecting on TUYA app and it cannot accurately update actual consumption. It is tested with consumption A and B but it is doing so for Zigbee smart plug under consumption B.

As per the previous messy issue raise, i apologize for it and please dont be sorry for the issue of xtend tuya, xtend tuya have reduced my hassle to manually check the consumption individually on the TUYA app and supported actual consumption data of tuya app for zigbee device. I am thankful that you have created xtend tuya,

Thank you for your time, dedication and fast response.

desmondyipyc avatar Aug 16 '24 17:08 desmondyipyc