-
Notifications
You must be signed in to change notification settings - Fork 76
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
[Bug]: Climate control unavailable #216
Comments
Diagnostics information are broken fix the link. |
sorry about that. fixed. |
This issue has been fixed on the master release So if you want to fix this manually, edit: or you install master version using HACS and re-add the device |
I think what happening is that because to set Try this: Change the temperature unit from |
doing that makes the current temperature incorrect. this issue is set temp is reported in F while current temp is reported in C. this is a very shitty device lol |
I know that the fix should be in |
hah well yes you are correct that setting it to F fixes 1 of 2 temp outputs. not sure best way to fix this or even if it is possible - pretty dumb manufacture on this device. |
Not sure if the changes I made will handle this as expected, you can re-download master version and see if it will fix. note: If the min/max have incorrect values due to the target temp will be forced to match current if that happen let me know. |
I think it is nearly there!! Here is a loom video of what I am seeing. I trimmed out the section that exposed my keys - I kept everything as defaults. https://www.loom.com/share/863ece7841a5440d8d5ca981244657bd?sid=9ee3d581-8a44-445a-ae8c-4a4513d39861 |
ah ignore this! i realized everything is in C but the min/max is in F. i updated min/max to C values and it is working as expected. ok this is ridiculous now, but I can set the temp to 77F and 79F but not 78F (which is what I always set it to). is there possible rounding happening? |
here is an interesting section of the logs. it looks like dps
|
more data for you. in the tuya dev platform this is what my device being set to |
* If set temp is the one who have fahrenheit then convert min/max and handle set temp service. * Prefer set_temp over set_temp_f
Try latest master, by re-downloading it. |
getting this error when adding the device and the thermostat is blank
localtuya-7ecc619af53d32968e4b2b28a5834ea1-Air Conditioner-b973da2d1e8f88bad4c0badc31e1761c.json |
here is another loom video of the process |
whoops it's typo, I changed "target_temperature" instead "_target_temperature" :) |
Should be fixed in bf5d8f5 |
the unit isnt accepting the temperature change command. i think dps 2 is maybe out of the expected range since it expects it to be in F * 10?
|
"2" range is from |
i set the temp to 75 so i would expect dps 2 to be sent as 750, but instead it was sent as 462. creating a new loom to show the new behavior |
if there is a setting i should be adjusting before saving the device let me know |
* Added scale option in cloud_value * force to int if the float point is .0 * Fix set_temperture if set_temp forced to celsius. * Auto configure now will scale min/max for climates. * Removed dev logs.
Can you try the latest master version 😸 |
so close! in this video if i change the min/max it bugs out. |
controls look to be working but the device isn't actually updating when I verify with the tuya app.
|
Let me double-check this not sure why it set -70 as the value... |
Ok now I understand what happened, both Home Assistant and |
unfortunately still running into an issue. let me know if there is anything else I can provide to help. |
Hello, Can you give latest master a try. |
wow it is 99% working!! amazing job! 🥇 the only minor issue I am having is I cant set it to some temperatures, such as 76C and 78F, because of rounding. Expected -> Actual |
Enable the debug for the device. Let's see what localtuya is sending on 76 or 78 |
76F: 78F: I would have expected sending |
This comment was marked as outdated.
This comment was marked as outdated.
Try latest master 74c77aa it should fix the issue 😺 |
the most recent commit seems to have broken it. if you revert back I can grab the device diagnostics for you on the previous "working" commit. |
Just updated it, it seems MAX / MIN was being converted more then once. |
holy shit you did it! everything works and I wasn't able to break anything 😂 thank you! very much appreciated it. let me know if there is any place I can send you a tip for the help on this! |
LocalTuya Version
3.2.5.1
Home Assistant Version
2024.4.4
Environment
What happened?
Adding a climate device with auto-discovery populates everything but the entity is not controllable. It is related to a dp called
temp_set_f
which sayscloud-pull
Steps to reproduce.
Relevant log output
Diagnostics information.
config_entry-localtuya-7ecc619af53d32968e4b2b28a5834ea1.json
home-assistant_localtuya_2024-04-30T02-18-27.169Z.log
The text was updated successfully, but these errors were encountered: