(Evohome) login failed with message: invalid_grant
Moderator: leecollings
-
- Posts: 25
- Joined: Friday 04 February 2022 14:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
(Evohome) login failed with message: invalid_grant
Hi,
I just installed a new thermostat system (Honeywell Evohome) and noticed that I can also add this in Domoticz.
I created an account at international.mytotalconnectcomfort.com and managed to add my system to this account. I can see all zones in the Evohome app and are able to control the temperature.
When I try to add the system to Domoticz using the Web API method, I get the following in the logfile:
2022-08-31 10:27:35.952 Status: (Evohome) Worker started...
2022-08-31 10:27:45.961 Status: (Evohome) connect to Evohome server
2022-08-31 10:27:47.599 Error: (Evohome) login failed with message: invalid_grant
2022-08-31 10:29:47.672 Status: (Evohome) connect to Evohome server
2022-08-31 10:29:49.156 Error: (Evohome) login failed with message: invalid_grant
I tried changing the password (perhaps too many special characters or something) but this didn't solve the issue.
Any suggestions on how to debug or solve?
Thanks!
Friso
I just installed a new thermostat system (Honeywell Evohome) and noticed that I can also add this in Domoticz.
I created an account at international.mytotalconnectcomfort.com and managed to add my system to this account. I can see all zones in the Evohome app and are able to control the temperature.
When I try to add the system to Domoticz using the Web API method, I get the following in the logfile:
2022-08-31 10:27:35.952 Status: (Evohome) Worker started...
2022-08-31 10:27:45.961 Status: (Evohome) connect to Evohome server
2022-08-31 10:27:47.599 Error: (Evohome) login failed with message: invalid_grant
2022-08-31 10:29:47.672 Status: (Evohome) connect to Evohome server
2022-08-31 10:29:49.156 Error: (Evohome) login failed with message: invalid_grant
I tried changing the password (perhaps too many special characters or something) but this didn't solve the issue.
Any suggestions on how to debug or solve?
Thanks!
Friso
-
- Posts: 25
- Joined: Friday 04 February 2022 14:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Anyone with any ideas? Looked at the source code but the only moment this invalid_grant issue is creates is when the token is no longer valid. Don't know how to solve this...
Code: Select all
if (!j_login.isMember("access_token"))
{
std::string szError;
if (j_login.isMember("error"))
szError = j_login["error"].asString();
if (j_login.isMember("message"))
szError = j_login["message"].asString();
if (!szError.empty())
{
if (szError == "invalid_grant") // refresh token is no longer valid
m_v2refresh_token = "";
_log.Log(LOG_ERROR, "(%s) renewing login failed with message: %s", m_Name.c_str(), szError.c_str());
return false;
}
_log.Log(LOG_ERROR, "(%s) renewing login returned unknown data", m_Name.c_str());
return false;
}
-
- Posts: 1
- Joined: Monday 19 September 2022 14:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Hello friso82,
It's not just the new install. I've been using the evohome with domoticz for two year now and it worked fine until last (somewhere) june. Evohome lost the connection to honeywell cloud somehow. Ones that has been restored I've been receiving the same message as you mention.
It could be that honeywell changes something on their side with te result that it is not possible to get the info using the domoticz plugin as is.
This would mean that the plugin needs an update. Haven't seen one yet. What I'm curious about is if more users experience this issue after a loss of the cloud connection or otherwise... like first install. Or, even beter, a permanent solution to this issue.
Br
It's not just the new install. I've been using the evohome with domoticz for two year now and it worked fine until last (somewhere) june. Evohome lost the connection to honeywell cloud somehow. Ones that has been restored I've been receiving the same message as you mention.
It could be that honeywell changes something on their side with te result that it is not possible to get the info using the domoticz plugin as is.
This would mean that the plugin needs an update. Haven't seen one yet. What I'm curious about is if more users experience this issue after a loss of the cloud connection or otherwise... like first install. Or, even beter, a permanent solution to this issue.
Br
-
- Posts: 25
- Joined: Friday 04 February 2022 14:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Seems like we're the only people using Evohome with Domoticz Or no one else is experiencing the same issue...
-
- Posts: 15
- Joined: Sunday 03 March 2019 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10532
- Location: the Netherlands
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Same problem here. Beta environment Build 14498
devices last seen 2022-08-15 11:51:24
Best regards,
Jero
devices last seen 2022-08-15 11:51:24
Best regards,
Jero
OrangePi Plus 2e with Armbian Buster.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
-
- Posts: 15
- Joined: Sunday 03 March 2019 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10532
- Location: the Netherlands
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Thank you, i will follow this one also.
Best regards,
Jero
Best regards,
Jero
OrangePi Plus 2e with Armbian Buster.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
You're not, but i'm experiencing other issues.
Since yesterday it's crashing all of Domoticz.
See: viewtopic.php?t=39151
-
- Posts: 12
- Joined: Monday 16 December 2013 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Having the same problem. It was working fine until this morning as I changed the polling interval. Interval was 363 secs to overcome the "Request count limitation exceeded error" and adjusted it to 120 secs. After that the error "login failed with message: invalid_grant" occurred.
Domoticz beta 2022.1 (build 14534)
-
- Posts: 25
- Joined: Friday 04 February 2022 14:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: (Evohome) login failed with message: invalid_grant
The pull request you're referring to is five years old, or am I looking at it the wrong way?MikeyMan wrote: ↑Wednesday 05 October 2022 18:08 The API needs a rework:
https://github.com/domoticz/domoticz/pull/1752
-
- Posts: 237
- Joined: Wednesday 17 October 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Nope... It should have been picked up in the meantime, but it isn't...friso82 wrote: ↑Thursday 06 October 2022 13:08The pull request you're referring to is five years old, or am I looking at it the wrong way?MikeyMan wrote: ↑Wednesday 05 October 2022 18:08 The API needs a rework:
https://github.com/domoticz/domoticz/pull/1752
Now it's an accident waiting to happen.
-
- Posts: 12
- Joined: Monday 16 December 2013 13:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
I got it working again by doing some research on the same and similar error messages. Can't find the URL's but please try the following.
1. In your Evohome account, create a new password which meets the password requirements but contains only 1 special character, preferably a *
2. In Domoticz under hardware adjust "Evohome via web API" and disable "show schedule". You can leave "synchronize installation" and "show location" to on.
3. Set "poll interval" to be above 300 seconds.
4. adjust the password to what has been created under 1
5. click update
Please let me know if this works for you.
1. In your Evohome account, create a new password which meets the password requirements but contains only 1 special character, preferably a *
2. In Domoticz under hardware adjust "Evohome via web API" and disable "show schedule". You can leave "synchronize installation" and "show location" to on.
3. Set "poll interval" to be above 300 seconds.
4. adjust the password to what has been created under 1
5. click update
Please let me know if this works for you.
-
- Posts: 15
- Joined: Sunday 03 March 2019 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10532
- Location: the Netherlands
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Great! this workaround work for me as well.
Thank you.
Best regards,
Jero
Thank you.
Best regards,
Jero
OrangePi Plus 2e with Armbian Buster.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
1x Evohome setup (6x radiators), 1x Tuya floorheater bathroom,
1x RGBW led strip, Satel INTEGRA 256+
IKEA-Trädfri Gateway with 48 controlable lights COAP-Client,
SolarEdge inverter, homebrew P1 meter.
-
- Posts: 1
- Joined: Wednesday 25 March 2020 0:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Had the same problem after upgrading Domoticz to 2022.2 and this solution worked for me as well
Thanks!
Thanks!
-
- Posts: 6
- Joined: Wednesday 29 November 2023 11:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
Yesterday evening the Webapi to the Evohome stopped, I get: (EvoHome) login failed with message: invalid_grant
I run Domoticz 2024 dot 3. Anyone else with this problem?
I run Domoticz 2024 dot 3. Anyone else with this problem?
-
- Posts: 6
- Joined: Wednesday 29 November 2023 11:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: (Evohome) login failed with message: invalid_grant
I solved the problem using: https://github.com/domoticz/domoticz/issues/6011
- In your Evohome account, create a new password which meets the password requirements but contains only 1 special character, preferably a *
- In Domoticz under hardware adjust "Evohome via web API" and disable "show schedule". You can leave "synchronize installation" and "show location" to on.
- Set "poll interval" to be above 300 seconds.
- adjust the password to what has been created under 1
- click update
- In your Evohome account, create a new password which meets the password requirements but contains only 1 special character, preferably a *
- In Domoticz under hardware adjust "Evohome via web API" and disable "show schedule". You can leave "synchronize installation" and "show location" to on.
- Set "poll interval" to be above 300 seconds.
- adjust the password to what has been created under 1
- click update
Who is online
Users browsing this forum: No registered users and 0 guests