-
Notifications
You must be signed in to change notification settings - Fork 18
Tuya Thermostat unavailable after setting temperature #49
Comments
Hi I am having the same issue. Able to switch on, switch off thermostat but changing the temperature makes thermostat unavailable in home assistant. |
Its looks like PaulAnnekov/tuyaha#51 (comment) If this is a problem with out of range value you can change set_temperature function in the tuyaha/devices/climate.py file def set_temperature(self, temperature):
I think about pull request with this small fix but not sure that all devise work similar |
I have always wondered if the scaled temperature should be reset to the original value in the set method, but to maintain back compatibility and not having received any related issue until now, I set it as is. |
Fix issue in setting temperature for some devices (issue #49)
Just released a new version to fix this issue. |
Hi ollo,
So you mean to updata tuya custom in my custom_components folder?
…On Tue, 8 Dec 2020 at 18:59 ollo69 ***@***.***> wrote:
Just released a new version to fix this issue.
There is a ne config option (Set Temperature value divided) that should be
checked for this case.
Before pushing PR in TuyaHA and HA, please confirm this fix the issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIY77IWR62EMZPDFYY73H3STZLPPANCNFSM4TNVJ3AQ>
.
|
Yes, please. You can also use HACS for this if you installed it. |
I have updated throw hacs.still when changing temp from ha the thermostat
goes to unavailable state and the temp instead for example 24 is 2.4
…On Tue, 8 Dec 2020 at 19:10 ollo69 ***@***.***> wrote:
Yes, please. You can also use HACS for this if you installed it.
Tuya Custom is intended to test new functionality for Tuya integration
before pushing change in official library and integration, to speed-up test
and avoid breaking change. Now this component is aligned again with last
version of official HA integration and device configuration is managed from
UI integration options.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIY77MIHBCWTFGMMJTD3RDSTZMXHANCNFSM4TNVJ3AQ>
.
|
Did you change some option in integration page? |
Logger: custom_components.tuya_custom.tuyaha.tuyaapi
Source: custom_components/tuya_custom/tuyaha/tuyaapi.py:273
Integration: Tuya Custom (documentation
<https://www.home-assistant.io/integrations/tuya>)
First occurred: 19:21:01 (3 occurrences)
Last logged: 20:11:01
control device error, error code is ValueOutOfRange
This is the main error
…On Tue, 8 Dec 2020 at 19:35 ollo69 ***@***.***> wrote:
Did you change some option in integration page?
Can you check HA logs for error message?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIY77NTO22DFCKPI4POEUDSTZPVZANCNFSM4TNVJ3AQ>
.
|
2020-12-08 20:08:41 WARNING (SyncWorker_12)
[custom_components.tuya_custom.tuyaha.tuyaapi] control device error, error
code is ValueOutOfRange
2020-12-08 20:11:01 WARNING (SyncWorker_10)
[custom_components.tuya_custom.tuyaha.tuyaapi] control device error, error
code is ValueOutOfRange
On Tue, 8 Dec 2020 at 20:11 Andreas Stylianou <[email protected]>
wrote:
… Logger: custom_components.tuya_custom.tuyaha.tuyaapi
Source: custom_components/tuya_custom/tuyaha/tuyaapi.py:273
Integration: Tuya Custom (documentation
<https://www.home-assistant.io/integrations/tuya>)
First occurred: 19:21:01 (3 occurrences)
Last logged: 20:11:01
control device error, error code is ValueOutOfRange
This is the main error
On Tue, 8 Dec 2020 at 19:35 ollo69 ***@***.***> wrote:
> Did you change some option in integration page?
> Can you check HA logs for error message?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#49 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKIY77NTO22DFCKPI4POEUDSTZPVZANCNFSM4TNVJ3AQ>
> .
>
|
Did you change some option in integration page? |
Hi,
Here are my options:
Because my thermostat was in program mode i have tried to chabge it to
manual and then went into ha and tried to change the temperature but still
the same.I don’t remember changing something in the integration page.If
there is something specific you want me to check let me know
…On Tue, 8 Dec 2020 at 20:41 ollo69 ***@***.***> wrote:
Did you change some option in integration page?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIY77KO4D3WMMBVQTVHZL3STZXOBANCNFSM4TNVJ3AQ>
.
|
And thr temperature from 2.4 when i press the up arrow goes directly to 2.9 in the thermostat control.is this the correct behavior? Shouldn't go to 2.5 2.6 e.t.c? |
I don't see your options, I think you should post using browser and not e-mail. |
Allow divider value in range 0.1 - 0.9 (issue #49)
You should select your device from the list and select submit to configure it! Please first of all install the last version I just released (v0.1.2) and then configure your device as in picture below: Eventually define also minimum and maximum target values. Than let me know if value are correct and set command works properly |
Ok after following the instructions:
On/off works fine.
Temperature instead of 240 shows as 2400.
When i press temperature from 2400 goes to 30 and nothing change on the
thermostat.then i press the down arrow changes to 29, goes to unavailable
and still get the same error.so basically the up arrow once takes you to
the correct maximum temperature and then arrow down gives you the same
error out of range.
…On Wed, 9 Dec 2020 at 01:21 ollo69 ***@***.***> wrote:
You should select your device from the list and select submit to configure
it!
Please first of all install the last version I just released (v0.1.2) and
then configure your device as in picture below:
[image: image]
<https://user-images.githubusercontent.com/60491700/101552729-a2e86300-39b3-11eb-8e47-53ea30934bc0.png>
Eventually define also minimum and maximum target values.
Than let me know if value are correct and set command works properly
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIY77JSQ4OW2MTAIQFDLHLST2YHHANCNFSM4TNVJ3AQ>
.
|
Sorry but your explanation is totally unclear and conflicting with previous information. |
Please set option |
Hi changed and the temperature is correct. But when changing temperature still goes to unavailable and get the same warning. |
Check option |
Hi now is working. Thank you very much.
I think you should add a note somewhere with this additional steps
…On Wed, Dec 9, 2020 at 2:30 PM ollo69 ***@***.***> wrote:
Check option Use Temperature value previously divided in set option
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIY77NNXD74LPL4NMIZME3ST5UVBANCNFSM4TNVJ3AQ>
.
|
Ollo one more question. For tuya covers do you know any way to make the cover work with a slider? Instead of up down stop? |
Don't think it is possible, API do not provide information about current cover position. |
@ollo69 - I am too lazy to fiddle with custom component :) Any idea when the change will be available in official HA new version? |
Still need some adjustment and feed-back, than I will create PR but need commit from library and HA. It will take some times, may be 1 month... |
OK, I did setup the tuya custom integration and works like a hell :) Thank you very much for your effort @ollo69 . Wish you all the best and Merry Xmas. |
Hi @ollo69, still not quite right for me I'm afraid. Still getting these in the log, then the device goes unavailable.
The temperature values are fine with the divider set at 10. But I'm getting the same 'unavailable' problem with and without the 'Use divider for set' ticked. EDIT: Just to add... if I set the temp to 18, the display on the radiator shows 80.0. If I set it to 15, it shows 50.0. If I set it to 20, it shows 0.0. And it does this even when I untick the 'Use divider for set' box. Many thanks for your efforts sorting all these things :-) Amanda |
thank you for your hard work. that fixed my issues and now my Moes thermostats are working fine. Temperature is displayed correctly and also I can set the desired target temperature. |
I'm having a issue with my thermostat from smart life I have a saswell thermostat. Hassio reports 45 degrees and im unable to adjust the tempature. here is what is interesting. When I add the thermostat to google, it creates 2 thermostats. But I only have one on smart life. One of them allows me to adjust the tempature and reports it correctly the other one just allows me to turn the power off to the device and reports 45 degrees... Why two thermostats. I looked in hassio and I only got one thermostat. So it's not correctly pulling information from tuya? can anyone help? This is very frustrating. |
This component is not supported anymore. Please refer to integration main page. |
Hi ollo,
My thermostats were working with tuya custom. After uninstalling tuya
custom and installing tuya integration my thermostats have options only off
and auto and the temperature is wrong.
…On Wed, Aug 4, 2021 at 12:46 PM ollo69 ***@***.***> wrote:
This component is not supported anymore. Please refer to integration main
page.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKIY77MTXZHZST5ZYTNBFODT3EEA7ANCNFSM4TNVJ3AQ>
.
|
Tuya original and Tuya custom integration behave the same.
After reload of the hassio server temperature is shown on climate entity.
Besides wrong temperature showing which can be adjusted also setting of temperature does not work
Switch on and switch off of the thermostat works normally.
If I want to set the temperature to different value then immediately thermostat becomes unavailable in hassio lovelace.
Thank you in advance for possible suggestions.
Regards
Robert
The text was updated successfully, but these errors were encountered: