-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MoesGo WiFi Thermostat is not properly controllable using the new Tuya integration #57184
Comments
Hey there @tuya, @zlinoliver, @METISU, mind taking a look at this issue as it has been labeled with an integration ( tuya documentation |
I have the same issue. Not controllable. Status not updated and the temperature is 0. |
similar issue here. real target temp is 20 and integration says 4, real current temp is 20.5 and integration says 0 |
This comment has been minimized.
This comment has been minimized.
same issues with MoesHouse BHT-002-GBLW WiFi thermostats and SASWELL SEA801 / SASWG-01-RF-WiFi thermostats:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
related issues raised on tuya repo: |
This has been fixed in the current development version of Home Assistant. The climate integration had some serious rewrites for the upcoming release. Unfortunately, I was not able to verify if the temperature issue has been resolved. This requires someone running Home Assistant dev or nightly builds (or wait until the next beta or next release). |
Hey @frenck! Thanks for the update! I just tried the latest dev build available in docker (2021.11.0.dev20211016), and actually, it's become a bit worse than with stable version :) Now I can turn the thermostat off and on, but it's pretty much all I can do:
|
Hehe well that is better than unable to do it 😄 For the other issues, unfortunate. But, there is room for fixing stuff! If you log in, into the IoT cloud of Tuya, go to the device debugging for your thermostat, could you provide me with a dump of the following:
With that information, I should be able to create a reproduction. Help is greatly appreciated 👍 ../Frenck |
@frenck you can find everything below; I hope it will help you. In any case — I'll be happy to help with the testing/debugging. P.S. I'm a bit paranoid, so I masked the device ID a little; feel free to poke me if you need the full one :) Product Name: 柏益温控器(采暖) Control: The real set temperature on the thermostat is 23º. The current temperature is 22.5º. [
{
"code": "switch",
"value": true
},
{
"code": "child_lock",
"value": false
},
{
"code": "temp_set",
"value": 46
},
{
"code": "eco",
"value": false
},
{
"code": "upper_temp",
"value": 45
}
] Standard instruction set:
Standard status set:
|
@andrey-yantsen Could you add the real temperature that shown in the app/display for the temperatures shown in the above debug data? |
@frenck yup, sorry, I forgot about it. Added to the original comment. set=23º, current=22.5º. |
Thanks Frenck for all your work |
...same problems. We hope on @frenck resolution |
Well, I have some more information. As it seems, this device has customizations, specifically for this manufacturer/device. Thus isn't supported/being able to support the cloud API (according to Tuya). This makes it hard to implement. From an API consumer perspective (Home Assistant), we currently do not have a way to differentiate between this device and others. I've added some extra information in the upcoming Home Assistant release, that might help to find and implement a solution. But this means for 2021.11, this issue won't be fixed. |
@frenck, thanks for the update anyway. Any chance you can add some temporary ugly workaround for 2021.11? Like an option to add an attribute P.S. I wonder how the Smart Life app works appropriately while the API has no idea about the multiplication. Also, I'm surprised that the temperature displayed in HA has to be multiplied by 5, while the temperature visible in Tuya IoT debug has to be divided by 2 to get the correct temperature :) |
No, that is not something we accept or do. |
Well, that's understandable, but I had to try :) Thanks! P.S. Don't hesitate to poke me if you'll get any ideas on how I can assist here. |
Hi All! |
Hi, According to these tickets, it's not very optimistic: The main problem for me is that |
@frenck : I have just found out from Tuya support, that
EDIT: I just noticed this had been found already in #57403 (comment) I could use this data in e.g. templates to workaround the Is there any way to access it? maybe include it into the list of attributes of this climate entity, next to others:
|
In this case, the device is communicating non-standard. This is an issue that either Tuya or the manufacturer needs to resolve; as it is using customized data points, not supported by Tuya cloud, not documented and specific for this device model. We cannot add/support these things, as with 400K+ different models in Tuya's database, it would be one endless fest of exceptions. That is not a maintainable situation. |
@frenck : on a global scale - I do agree.
|
Not really relevant; as the API used there is no longer an option (as it is going to be discontinued). The question you ask at the end is more a question you should ask Tuya, as they developed those APIs. |
There isn't a way to access that parameter from within automations or templates, as it is not a used/known/picked up data point by Home Assistant. |
Is it possible to change to the previous (old) version, to get them working? I just installed HA for control and protocol those devices.... Great work with HA @frenck 👌 |
@mowl111 nope, unfortunately, it's not really possible. As it was said multiple times, Tuya will deprecate the old API sometime soon, and the old integration will stop working. You can try raising a ticket with Tuya (via their https://iot.tuya.com interface), but the chances are low. As an alternative, you can use LocalTuya — they just released thermostat support today, or you can use the old integration via HACS, installing it from the repo andrey-yantsen/home-assistant-tuya-old. |
HI @andrey-yantsen! |
@alexanderznamensky yeah, I set it up yesterday, working like a charm. I used values from rospogrigio/localtuya#548 (review) but removed the mode control altogether as it was somewhat broken for me. I'm using Schedy anyway, and just set the required temperature to 19ºC when don't need the heating. I don't think I would be able to help you with any questions, but it definitely will be better to continue the discussion in the PR to LocalTuya and not here, to avoid being too much off-topic. P.S. During the config flow the integration was failing to add the device, but after a few more attempts — it was indeed added. |
Update on the Tuya Developer IoT Platform / App solution:
UPD 01.27:
|
Home Assistant 2022.2 (now in beta, feel free to join!), will have a diagnostics dump tool on the device page, which contains information to share in issues like these. It can be helpful if all of you having issues with these MoesGo thermostats posted their diagnostics results here. I will allow finding a solution (or worst case, conclude there is none). |
Thank you, Franck, for not giving up on us! :) Here's what I have: https://gist.github.com/andrey-yantsen/fbf856451e0b0b36c269d334a04d36a9. Target temperature = 19 ºC |
Hi Franck! |
For reference, current temp=20.5°C, target temp=22.0°C |
Just copied the updated |
after update to 2022.2.8 - tuya thermostats are broken for me. Current temperature = 16,5 C (showing 90 C) Any idea how to fix it? |
@snorbik Please, don't respond the same message on every closed issue. |
The problem
I have 4 thermostats, and all of them not only report incorrect temperature but also do not allow to change the operation mode from HASS. The operation mode is always
off
, and the temperature is 5 times less than set on the thermostat.With the previous version, everything was warning like a charm.
What is version of Home Assistant Core has the issue?
2021.10.0
What was the last working version of Home Assistant Core?
2021.9.7
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
I tried collecting the device info/specifications as described in https://github.com/tuya/tuya-home-assistant/wiki/How-to-get-the-log, but the current logs do not show any info like this.
The text was updated successfully, but these errors were encountered: