Skip to content
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

Error when setting target temperature in Sonoff NS Panel EU thermostat #1107

Closed
zanna1972 opened this issue Feb 6, 2023 · 5 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@zanna1972
Copy link

zanna1972 commented Feb 6, 2023

Hi, I have just installed the last version of SonoffLAN integration.
I have some Sonoff NS Panel EU (firmware 1.4.0) and when I try to set the target temperature from Home Assistant, nothing happens, and in the log I get this error:
This error originated from a custom integration.

Logger: custom_components.sonoff.core.ewelink.cloud
Source: custom_components/sonoff/core/ewelink/cloud.py:342
Integration: Sonoff (documentation, issues)
First occurred: 9:41:14 AM (1 occurrences)
Last logged: 9:41:14 AM

Cloud ERROR: {'error': 400, 'deviceid': '10015cd151', 'apikey': '647f9a26-a71f-4250-934c-e28e8f3d2c39', 'sequence': '1675672874000', 'uid': '647f9a26-a71f-4250-934c-e28e8f3d2c39'}

Could you please correct it?
If you need some further data, please let me know.
Thanks and bye

@AlexxIT AlexxIT added the question Further information is requested label Feb 6, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 6, 2023

You need to collect some debug logs. Because this is response on some unknown request

@zanna1972
Copy link
Author

Hi AlexxIT, these are my tests and what I have found in the log of the Sonoff integration.

Changed setpoint to 22° from eWelink app in the thermostat. Home Assistant shows the new setpoint. Very good.
Log in Sonoff integration:
2023-02-06 11:44:19 [D] 100156adce <= Cloud3 | {'ATCMode': 0, 'ATCExpect0': 22} | 1675680258240

Changed setpoint to 20° in Home Assistant for the same thermostat as before. eWelink app still shows the previous setpoint.
Log in Sonoff integration:
2023-02-06 11:46:02 [D] 100156adce => Cloud4 | {'ATCExpect0': 20.0} | 1675680362000
2023-02-06 11:46:02 [W] Cloud ERROR: {'error': 400, 'deviceid': '100156adce', 'apikey': '647f9a26-a71f-4250-934c-e28e8f3d2c39', 'sequence': '1675680362000', 'uid': '647f9a26-a71f-4250-934c-e28e8f3d2c39'}

This is all I can see in the log.
Hope this can help you.
Let me know.

@AlexxIT AlexxIT added bug Something isn't working and removed question Further information is requested labels Feb 6, 2023
@AlexxIT AlexxIT added this to the next milestone Feb 6, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 6, 2023

Ok. Thanks. It's helpful.

@proxlx
Copy link

proxlx commented Feb 8, 2023

Hi, I had to re apply the NS Panel Climate Control patch #1014 after the last update in order to get the NS Panel thermostat to work correctly from HA again. @sipimokus created a test climate.py which is the only way i can get the NS Panel to work correctly. Originally shown in issue #979

Hope this helps for now!

AlexxIT added a commit that referenced this issue Mar 30, 2023
@AlexxIT AlexxIT modified the milestones: todo, 3.5.1 Mar 30, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Mar 31, 2023

@AlexxIT AlexxIT closed this as completed Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants