Closed geced closed 2 months ago
Hi, I haven't encountered this problem. Are you using the latest released version (2024.8.3)? Does the problem always occur? Are there more details in the Home Assistant logs to understand the problem? Thanks
Hello in my Home Assistant server this integration not working - Core 2024.8.3 my config is: tuya_smart_ir_ac: access_id: "nxxxxxxxxxxxxxxxxxxxxxxxxxx" access_secret: "6xxxxxxxxxxxxxxxxxxxxxxxxxxxx" country: "EU"
Help me!!! Grazie Enzo
Enzo, I wasn't in the latest version. I just updated and it is still happening. I don't have any log info. It happens to the 3 IR devides that I have. Is there any way I can help you understanding the problem?Thanks --Javier EstebanEl 27 ago 2024, a las 11:11, PakyITA @.***> escribió: Hello in my Home Assistant server this integration not working - Core 2024.8.3 my config is: tuya_smart_ir_ac: access_id: "nxxxxxxxxxxxxxxxxxxxxxxxxxx" access_secret: "6xxxxxxxxxxxxxxxxxxxxxxxxxxxx" country: "EU" Help me!!! Grazie Enzo
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
My telegram is @PakyITA create a telegram group please
@geced It's very strange because I fixed this bug in an old version of the integration.
You can try to enable debug logs by adding these lines in your configuration.yaml file
logger:
logs:
custom_components.tuya_smart_ir_ac: debug
You need to restart HA and see if this way there are more details in the logs. Thanks
@EnzoD86 why you delete my messages?
@paky888 It is important to open a different issue for your request to avoid confusion. In any case I created the telegram group and added you. Thanks
This is what I get now:
Logger: custom_components.tuya_smart_ir_ac Source: custom_components/tuya_smart_ir_ac/api.py:62 integration: Tuya Smart IR AC (documentation https://github.com/EnzoD86/tuya-smart-ir-ac, issues https://github.com/EnzoD86/tuya-smart-ir-ac/issues) First occurred: 4:09:59 PM (1 occurrences) Last logged: 4:09:59 PM Error sending multiple command to climate bf5f45a094f1096905ilp7: {'url': '/v2.0/infrareds/bfb90d9ab7cb0fa414ysza/air-conditioners/bf5f45a094f1096905ilp7/scenes/command', 'request': {'power': '1', 'mode': '4', 'temp': '25.0', 'wind': '0'}, 'response': {'code': 30100, 'msg': '没有查询到码库', 'success': False, 't': 1724767799369, 'tid': '0b6eab94647e11ef9a8c4604aebef837'}}
El mar, 27 ago 2024 a las 11:46, EnzoD86 @.***>) escribió:
@paky888 https://github.com/paky888 It is important to open a different issue for your request to avoid confusion. In any case I created the telegram group and added you. Thanks
— Reply to this email directly, view it on GitHub https://github.com/EnzoD86/tuya-smart-ir-ac/issues/14#issuecomment-2312057933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTLL7672T2DYMKTSPO5JETZTRDJBAVCNFSM6AAAAABNFPL6L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSGA2TOOJTGM . You are receiving this because you were mentioned.Message ID: @.***>
Javier Esteban Zarza
Sorry about the grey color.
Some more info:
2024-08-27 16:12:59.887 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] API fetch_all_data url: /v1.0/cloud/rc/infrared/ac/status/batch?device_ids=bf9e30bb9b*7el,bf5f45a****096905***,bf9a12a115cdcz* 2024-08-27 16:13:00.039 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] API fetch_all_data response: {'result': [{'devId': 'bf9e30bb9b***7el', 'fan': '0', 'mode': '0', 'powerOpen': True, 'swing': 'false', 'temp': '26'}, {'devId': 'bf5f45a****096905**', 'fan': '0', 'mode': '0', 'powerOpen': True, 'swing': 'false', 'temp': '25'}, {'devId': 'bf9a12a1****15cdcz', 'fan': '2', 'mode': '4', 'powerOpen': True, 'swing': 'false', 'temp': '26'}], 'success': True, 't': 1724767980011, 'tid': '**883136d89ae34f8e'} 2024-08-27 16:13:00.039 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] Finished fetching tuya_smart_ir_ac data in 0.152 seconds (success: True)
El mar, 27 ago 2024 a las 16:11, Javier Esteban @.***>) escribió:
This is what I get now:
Logger: custom_components.tuya_smart_ir_ac Source: custom_components/tuya_smart_ir_ac/api.py:62 integration: Tuya Smart IR AC (documentation https://github.com/EnzoD86/tuya-smart-ir-ac, issues https://github.com/EnzoD86/tuya-smart-ir-ac/issues) First occurred: 4:09:59 PM (1 occurrences) Last logged: 4:09:59 PM Error sending multiple command to climate bf5f45a094f1096905ilp7: {'url': '/v2.0/infrareds/bfb90d9ab7cb0fa414ysza/air-conditioners/bf5f45a094f1096905ilp7/scenes/command', 'request': {'power': '1', 'mode': '4', 'temp': '25.0', 'wind': '0'}, 'response': {'code': 30100, 'msg': '没有查询到码库', 'success': False, 't': 1724767799369, 'tid': '0b6eab94647e11ef9a8c4604aebef837'}}
El mar, 27 ago 2024 a las 11:46, EnzoD86 @.***>) escribió:
@paky888 https://github.com/paky888 It is important to open a different issue for your request to avoid confusion. In any case I created the telegram group and added you. Thanks
— Reply to this email directly, view it on GitHub https://github.com/EnzoD86/tuya-smart-ir-ac/issues/14#issuecomment-2312057933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTLL7672T2DYMKTSPO5JETZTRDJBAVCNFSM6AAAAABNFPL6L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSGA2TOOJTGM . You are receiving this because you were mentioned.Message ID: @.***>
--
Javier Esteban Zarza
Javier Esteban Zarza
I think last logs were fetching info. This is the error:
2024-08-27 16:09:59.181 INFO (MainThread) [custom_components.tuya_smart_ir_ac] climate.hvac_p1 setting hvac mode to dry 2024-08-27 16:09:59.181 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] API send_multiple_command url: /v2.0/infrareds/bfb90+0fa414ysza/air-conditioners/bf5f45a096905ilp7/scenes/command 2024-08-27 16:09:59.182 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] API send_multiple_command request: {'power': '1', 'mode': '4', 'temp': '25.0', 'wind': '0'} 2024-08-27 16:09:59.404 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] API send_multiple_command response: {'code': 30100, 'msg': '没有查询到码库', 'success': False, 't': 1724767799369, 'tid': '0b6eab**a8c4604a**'} 2024-08-27 16:09:59.404 ERROR (MainThread) [custom_components.tuya_smart_ir_ac] Error sending multiple command to climate bf5f4f109****: {'url': '/v2.0/infrareds/bfb9**/air-conditioners/bfa094f10**/scenes/command', 'request': {'power': '1', 'mode': '4', 'temp': '25.0', 'wind': '0'}, 'response': {'code': 30100, 'msg': '没有查询到码库', 'success': False, 't': 1724767799369, 'tid': '0b6e4647e11efc4604aeb*****'}} 2024-08-27 16:09:59.406 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547862252272] Unable to change hvac mode
El mar, 27 ago 2024 a las 16:18, Javier Esteban @.***>) escribió:
Sorry about the grey color.
Some more info:
2024-08-27 16:12:59.887 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] API fetch_all_data url: /v1.0/cloud/rc/infrared/ac/status/batch?device_ids=bf9e30bb9b*7el,bf5f45a****096905***,bf9a12a115cdcz* 2024-08-27 16:13:00.039 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] API fetch_all_data response: {'result': [{'devId': 'bf9e30bb9b***7el', 'fan': '0', 'mode': '0', 'powerOpen': True, 'swing': 'false', 'temp': '26'}, {'devId': 'bf5f45a****096905**', 'fan': '0', 'mode': '0', 'powerOpen': True, 'swing': 'false', 'temp': '25'}, {'devId': 'bf9a12a1****15cdcz', 'fan': '2', 'mode': '4', 'powerOpen': True, 'swing': 'false', 'temp': '26'}], 'success': True, 't': 1724767980011, 'tid': '**883136d89ae34f8e'} 2024-08-27 16:13:00.039 DEBUG (MainThread) [custom_components.tuya_smart_ir_ac] Finished fetching tuya_smart_ir_ac data in 0.152 seconds (success: True)
El mar, 27 ago 2024 a las 16:11, Javier Esteban @.***>) escribió:
This is what I get now:
Logger: custom_components.tuya_smart_ir_ac Source: custom_components/tuya_smart_ir_ac/api.py:62 integration: Tuya Smart IR AC (documentation https://github.com/EnzoD86/tuya-smart-ir-ac, issues https://github.com/EnzoD86/tuya-smart-ir-ac/issues) First occurred: 4:09:59 PM (1 occurrences) Last logged: 4:09:59 PM Error sending multiple command to climate bf5f45a094f1096905ilp7: {'url': '/v2.0/infrareds/bfb90d9ab7cb0fa414ysza/air-conditioners/bf5f45a094f1096905ilp7/scenes/command', 'request': {'power': '1', 'mode': '4', 'temp': '25.0', 'wind': '0'}, 'response': {'code': 30100, 'msg': '没有查询到码库', 'success': False, 't': 1724767799369, 'tid': '0b6eab94647e11ef9a8c4604aebef837'}}
El mar, 27 ago 2024 a las 11:46, EnzoD86 @.***>) escribió:
@paky888 https://github.com/paky888 It is important to open a different issue for your request to avoid confusion. In any case I created the telegram group and added you. Thanks
— Reply to this email directly, view it on GitHub https://github.com/EnzoD86/tuya-smart-ir-ac/issues/14#issuecomment-2312057933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTLL7672T2DYMKTSPO5JETZTRDJBAVCNFSM6AAAAABNFPL6L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSGA2TOOJTGM . You are receiving this because you were mentioned.Message ID: @.***>
--
Javier Esteban Zarza
--
Javier Esteban Zarza
Javier Esteban Zarza
Thanks for the logs, I got an idea of the reason for this error. When you set the dry mode from smart life, what temperature is set?
For the first time is set to 16ºC. --Javier EstebanEl 27 ago 2024, a las 16:24, EnzoD86 @.***> escribió: Thanks for the logs, I got an idea of the reason for this error. When you set the dry mode from smart life, what temperature is set?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
ok, as I thought. Currently when the HVAC mode is changed, the integration keeps the same set temperature (even if it is not normally used for the dry or fan mode). Most likely your air conditioner doesn't like this. It needs the minimum temperature to be set to change to dry mode. In my case this problem does not occur for the temperature, but only for the fan. I had in fact corrected this problem by resetting the fan speed when the HVAC mode is changed. Give me a few days to try to release a fix on this. We'll update as soon as I have something ready. Thanks for reporting the bug!
I understand. Great news that can be fixed!Thanks for the support!PS: it would be great to have a solution like this one for the covers that are not supported by HA--Javier EstebanEl 27 ago 2024, a las 16:40, EnzoD86 @.***> escribió: ok, as I thought. Currently when the HVAC mode is changed, the integration keeps the same set temperature (even if it is not normally used for the dry or fan mode). Most likely your air conditioner doesn't like this. It needs the minimum temperature to be set to change to dry mode. In my case this problem does not occur for the temperature, but only for the fan. I had in fact corrected this problem by resetting the fan speed when the HVAC mode is changed. Give me a few days to try to release a fix on this. We'll update as soon as I have something ready. Thanks for reporting the bug!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
At least we try to fix it! Just out of curiosity, what brand is the air conditioner?
It is kosner, but the real hardware brand is Gree, at least for the remote control. --Javier EstebanEl 27 ago 2024, a las 16:56, EnzoD86 @.***> escribió: At least we try to fix it! Just out of curiosity, what brand is the air conditioner?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
One more thing that may help. If I change to dry in the ac wall panel, it keeps the temp I had in this mode. It does not go to 16°C. --Javier EstebanEl 27 ago 2024, a las 18:24, Javier Esteban @.> escribió:It is kosner, but the real hardware brand is Gree, at least for the remote control. --Javier EstebanEl 27 ago 2024, a las 16:56, EnzoD86 @.> escribió: At least we try to fix it! Just out of curiosity, what brand is the air conditioner?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Could you tell me if the problem occurs also if you change to fan only mode? Thank you
It only occurs with dry mode. Fan only is ok. Fan mode does not take into account the temperature, while dry mode does. It does not only extract humidity, it tries to achirve the temperature that has been set. --Javier EstebanEl 28 ago 2024, a las 1:15, EnzoD86 @.***> escribió: Could you tell me if the problem occurs even if you change to fan only mode? Thank you
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
If I set 16°C before I change to dry mode, it works fine. --Javier EstebanEl 28 ago 2024, a las 10:04, Javier Esteban @.> escribió:It only occurs with dry mode. Fan only is ok. Fan mode does not take into account the temperature, while dry mode does. It does not only extract humidity, it tries to achirve the temperature that has been set. <Vídeo.mov>--Javier EstebanEl 28 ago 2024, a las 1:15, EnzoD86 @.> escribió: Could you tell me if the problem occurs even if you change to fan only mode? Thank you
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Hi @geced , I'm trying to fix the problem, I need you to try the beta version I released to see if the problem is solved in your case.
You can find it here: https://github.com/EnzoD86/tuya-smart-ir-ac/releases/tag/2024.8.4-beta
After installing it, you need to update your air conditioning configuration; you will find a new flag called "Set minimum temperature in dry mode", try to activate it and let me know if anything changes. Thanks
I've the same issue with "official" and "beta" release
hi @SabatoArdolino, it seems that there are 2 different problems depending on the air conditioner models; I released a "beta2" version where you can also set the fan to minimum when switching to dry mode. Let me know if this change fixes the problem. You can find it here: https://github.com/EnzoD86/tuya-smart-ir-ac/releases/tag/2024.8.4-beta2
Experiment a bit by activating both flags or just the second. Thank you
@EnzoD86 I've the same issue with beta2. I want to share that with the "old / cloned" repository all work fine. Unfortunately the old repository is not available / compatible with new version of Home Assistant
@SabatoArdolino do you have any logs to share to better identify the problem?
@SabatoArdolino can you confirm that you have tried activating both or just one of the two flags in the configuration?
Sorry... this method works well but, for me, since I use the dry mode more than the cold one, it is more inconvenient. Is there a way to "set" different temperatures instead of the minimum one?
@SabatoArdolino the flag sets the minimum temperature when you switch to dry mode, but you should be able to increase the temperature manually. Unfortunately this is how tuya works, in fact even from the SmartLife application when you change to dry mode, it should have the same behavior. Then you could create some automations in home assistant that allow you to automatically set a temperature.
In both betas this id happening.--Javier EstebanEl 30 ago 2024, a las 8:43, EnzoD86 @.***> escribió: @SabatoArdolino the flag sets the minimum temperature when you switch to dry mode, but you should be able to increase the temperature manually. Unfortunately this is how tuya works, in fact even from the SmartLife application when you change to dry mode, it should have the same behavior. Then you could create some automations in home assistant that allow you to automatically set a temperature.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
@geced I don't understand what you wrote
Sorry Enzo. I had a problem setting the minimum and maximum temp but now it's working fine with beta2. I also need the low fan activated.
El vie, 30 ago 2024 a las 10:43, EnzoD86 @.***>) escribió:
@geced https://github.com/geced I don't understand what you wrote
— Reply to this email directly, view it on GitHub https://github.com/EnzoD86/tuya-smart-ir-ac/issues/14#issuecomment-2320514719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTLL77LCK3X5ULIBW6FC43ZUAWDRAVCNFSM6AAAAABNFPL6L2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRQGUYTINZRHE . You are receiving this because you were mentioned.Message ID: @.***>
Javier Esteban Zarza
@geced ok so the problem for you has been solved! I can make the beta2 release official
Thank you!!--Javier EstebanEl 30 ago 2024, a las 12:03, EnzoD86 @.***> escribió: @geced ok so the problem for you has been solved! I can make the beta2 release official
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Since the last update of OS and supervisor (I think, not sure if there has been some other updates) I am unable to set de dry mode on the HVAC. It used to work perfectly. The rest of the modes, temperature and fan work correctly.
If I set the dry mode through the smart life/tuya app, it updates to the dry mode on HA.
The log detail:
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:283 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 9:10:23 AM (5 occurrences) Last logged: 9:12:54 AM
[547490217648] Unable to change hvac mode