Smart Life (tuya) show wrong temperature

Szia, nem. A topicban irtam, hogy talaltam azt a leirast es megrendeltem a mqtt zigbee illeszteshez a cuccokat. Kozben rajottem, hogy a radios termosztat esp kompatibilis, lehet, kiprobalom atasmotat.

All,

I understand that there are some issue with Tuya climate devices, especially related to precision used.
Unfortunately Tuya manage many different devices with different specification and in some case one fix broke functionality for another.
At this moment there are a couple of PR opened in TuyaHA and other opened in HA, some of them in conflict each other.
I don’t have Tuya climate device, but as codeowner of Tuya integration my objective is to have integration working fine for all.
I created some times ago custom integration Tuya Custom with the only scope to perform tests before creating PR in official integration and related library.
I just finished today to re-align this integration with my last changes released HA official component, so features provided are exactly the same, but perform test will be simplest. I also added some fixes for climate device based on issues open in the repository itself, but tester with climate device are required to validate the fixes.
My suggestion is to create PR there, I will be happy to review them together to find the best solution, than we will come back to official repository when everything is fine, avoiding any possible breaking change for device that doesn’t have any issue.

3 Likes

After adding divider into configuration, I can’t control temperature from HA

Logger: tuyaha.tuyaapi
Source: /usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py:273
First occurred: 13:51:57 (2 occurrences)
Last logged: 16:03:55

control device error, error code is ValueOutOfRange
1 Like

same problem. following the thread

Hi,

Great job!
Only on more thing:
The HVAC_MODE seems to only show ‘Off’ or Auto. Anyone know how it can be persuaded to show ‘Heat’ when it is heating and maybe even ‘Idle’ when it is switched on but at target temp and hence not using power.

Is it possible to connect the device locally?

Thank you

1 Like

This might be an old post, but I faced the same issue
and found out that there is a simple solution without custom component or code changes

I’m using Home Assistant Core 2020.12.2, I guess it is the same for some older versions as well

In the integrations -> tuya -> options
Select your climate device under the option “Select the devices to configure…” and click submit.
This will forward you to a climate device settings screen

image
Then you can configure the “current temperature value divider”

Hope this helps :slight_smile:

9 Likes

Hi @ollo69

I followed your GitHub manual installation instructions and created the “custom_components” folder in my /config/custom_components/tuya_custom. I then copied your GitHub folder in to the sub directory. But after restating the server I could not find any “Tuya Custom” version in the Integrations menu…only the original Tuya version is present.

EDIT: my system is running the latest versions 2020.12.7 & HA OS 5.9

Is there some thing else that I have missed?

With the standard Tuya integration my ProTouch start thermostats don’t see any temperatures at all. Please see the screen shot from my HA instance. Does anyone have any suggesting?

I read 150 pages. I’ve tried all the ways. Isn’t it ridiculous that this problem still remains unsolved?

I got it working for me with the custom component integration “Tuya Custom” installed with HACS.

This is normally a browser cache problem. Clear the cache a try again

1 Like

Solving is in progress. There is one PR open in HA and one in TuyaHA library. As immediate work-around use Tuya Custom component.

3 Likes

Thanx @ollo69

I installed TUYA_CUSTOM from my mobile phone after uninstalling the standard Tuya integration. I then restarted my server and checked the thermostat overview page that I had previously created. Unfortunately its still not showing actual temperatures (just shows 0 degC) is all that is displayed. I can only use the cards to turn on (Auto) and off the heating systems. I changed the Tuya_custom settings as suggested in the earlier posts to halves and now when i move the green circular temperature set point it does show the setting from the Dashboard card however these are not retained when the thermostat is cycled on and off and on again.

When I edit the dashboard page and check the code for one thermostat I have the following:

type: thermostat
entity: climate.4220004198f4abba4650

Should that be all the code required to get temperature status from the thermostat?

Could you explain this issue more clearly?

Not sure if this is in scope for the fix in progress, but I have a radiator in Tuya (an Ecostrad IQ Ceramic), which works just fine from the app. I can see the correct temperatures in HA, now I’ve set the divider to 10.

I can turn the thing on and off with HA, but a couple of important things not working:

  • Setting temp via HA never works. If I change set temp from say 18 to 19 via Lovelace climate card shows no error in log. But the radiator display then incorrectly shows the set temperature and believes it is out of range (90 degrees) and hence doesn’t change its set temp. I think there’s still some divider issue somewhere. If I remove the divider in Tuya integration config, it still doesn’t work and believes the value is out of range.

  • Although I can turn it on and off, I can’t set it to other modes (Night, Eco, Sensor, Anti Freeze).

Problem is that I can’t find any errors in the HA log, even with debug logging on. So I guess its related to the interpretation of the values by Tuya - just a guess???

Thanks,
Amanda

I experience the same…If I change the temperature from HA, the thermostat shows wrong value…

This fixed it for me, thank you. Such an easy thing to miss!

1 Like

Thank you so much! Thought I would have to figure out things with folders and code…
Just had to put divider by 2 and it is fixed.

2 Likes

did you solve it? I still show the values as x2?

Hi I think we are still hoping that someone can find a fix for this issue. I have control of my Protouch thermostats through the Tuya plug in for home assistant but can’t see any temperatures at all. Nor can I obviously set any temperature. I have to rely on the actual thermostats temperature settings.

This is the case with me. Unfortunately we have been waiting for a long time, but I want to take it out of the tuya plug