How to use DP ID report logs from tuya ac unit (for power meter) (solved kinda)

Hello,
I got smart ac, and I’ve noticed that under debug logs in tuya cloud iot site, there is DP id that gives power consumption, and also rounded value of same, with many other ones.

Is there a way for me to configure a virtual device that will use DP id from those ones, or how can I extract the data… First time tuya eco system; sorry if its basic question

Solved in a funnYY way →

I tried localtuya to get the DP ID value, but i guess since given ID(116 in my case) is report only (applies for some other, they dont work either, the one with send mark work) it simply doesn’t pass (-1) for current power report one. So I used query properties call from api explorer in tuya iot with a simple script for generating sign for curl get command. It gives json, which then can be extracted with command_line platform sensor. Homeassistant in docker doesn’t have openssl (idk why) so i had to add that for signing. It also reports last value before turning off when it doesnt cool/heat, so I just give it 5W standby mode when climate.ac entity from tuya is off :slight_smile: otherwise with 2 minute update time it updates rather well, and is roughly accurate based on workload.

Ac in question was TESLA split ac air conditioner with tuya smart life, it doesnt show whatsoever power consumption when you look it outside of iot.tuya

Hello, I’m interested in executing the same, would you care sharing a bit more details about the simple script and curl get command. I start from further then you on this apparently. Thanks.

Hello,
I’m also interested, would you care sharing a bit more details about the simple script and curl get command.
I want to get th add_ele value of monitor plugs. I would like to know how you script the sign and access_token headers.
Thanks in advance.