Szaki-dev / tuya_fix

8 stars 0 forks source link

Wrong Temperature and Humidity readings #3

Open Auryza opened 3 months ago

Auryza commented 3 months ago

Thank you for the good code, TUYA electrical appliance scale correction. I had the same problem, 10 times higher readings.

However, activating TUYA Fix also changed the TUYA temperature and humidity readings. They decreased by 10 times. Only my electricity measuring devices showed incorrect values, temperature and humidity were fine, now 10 times lower. Maybe some code correction so that the code only corrects the readings of electrical appliances, and not others? I'm a complete novice, where to find what to change?

Szaki-dev commented 3 months ago

Hi, I have updated the code. Now it should fix the current, power and voltage data only. And it should leave the temperature data as is. Please let me know if it is working as described. :)

Auryza commented 3 months ago

Hi, Thank you very much, I will try that. I used a solution using a template. But if your solution works, I'm good to go with it. I'll Let you know is working as intended or not.