neilkplugins / evohome-indigo-plugin

Python 3 version of indigo plugin
MIT License
0 stars 0 forks source link

Unable to login #1

Open farberm opened 8 months ago

farberm commented 8 months ago

I have the Evohome app and have also signed up and can see my thermostats /devices on the app and on the website. When I enter my login and password however I get a validation /error below

`Evohome [Wed Oct 25 22:10:02 2023] Processed plugin preferences. Evohome Error [Wed Oct 25 22:10:02 2023] Cannot read Evohome data

Oct 25, 2023 at 10:10:27 PM Evohome Error [Wed Oct 25 22:10:27 2023] Cannot read Evohome data using new password/user name details Evohome Error Validation Errors Evohome Error [Wed Oct 25 22:10:32 2023] Cannot read Evohome data Evohome Error [Wed Oct 25 22:10:32 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 seconds

neilkplugins commented 8 months ago

First of all sorry you have run into this. Could you please try a couple of things.

1) Can you turn on debug logging in the plugin config and retry the process. The logging will give much more detail to help track this down.

2) Does your password or account have any special characters (shouldn't be a problem but just for checking) ?

3) Do you have more than one location? (Two homes or even two Evohome installs in the same building)?

If this doesn't work I will send a simple test script to try and validate the connection.

Thanks Neil

farberm commented 8 months ago
  1. Here is the debug info. I redacted my username and password. The only special charter is the @ sign in my user name. Only have one location. I have two thermostats that use red link connector to communicate/login. They are NOT WiFi thermostats. I have it registered and can see it with several of the apps. I have the Redlink adapter (THMR6000R1002) registered at Honeywell and Resideo. When I try and register it at the international site, it says that it is already registered.

DEBUG:Plugin:Vaidating Plugin ConfigurationDEBUG:Plugin:UiValuesDict : (dict)     access_token :  (string)     access_token_expires :  (string)     evohome_Password : xxxxxx (string)     evohome_UserID ***@***.*** (string)     infoLabel :  (string)     interval : 30 (string)     refresh_token :  (string)     showDebugInLog : false (bool)     simpleSeparator1 :  (string)     simpleSeparator2 :  (string)     simpleSeparator5 :  (string)ERROR:Plugin:[Thu Oct 26 22:45:05 2023] Cannot read Evohome data using new password/user name detailsDEBUG:Plugin:Unable to obtain an Access Token, hint: {"error":"invalid_grant"}ERROR:Plugin: Validation ErrorsERROR:Plugin:[Thu Oct 26 22:45:23 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:23 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 secondsERROR:Plugin:[Thu Oct 26 22:45:53 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:53 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 seconds

Sent from my iPadOn Oct 26, 2023, at 4:09 AM, neilkplugins @.***> wrote: First of all sorry you have run into this. Could you please try a couple of things.

Can you turn on debug logging in the plugin config and retry the process. The logging will give much more detail to help track this down.

Does your password or account have any special characters (shouldn't be a problem but just for checking) ?

Do you have more than one location? (Two homes or even two Evohome installs in the same building)?

If this doesn't work I will send a simple test script to try and validate the connection. Thanks Neil

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

neilkplugins commented 8 months ago

I have a feeling it is the redlink that is the issue.  The library uses the EMEA servers and API, and it is failing at logon which suggests you don’t have credentials for that site.  I am travelling this weekend but will send you a link to the web portal version, but this is the app that the plugin supports https://apps.apple.com/gb/app/total-connect-comfort-intl/id783653368If you cannot use this app, then the plugin is not going to work.NeilOn 27 Oct 2023, at 04:05, farberm @.> wrote: 1.Here is the debug info. I redacted my username and password. Only special charter is the @ sign in my user name. Only have one location. I have two thermostats that use red link connector to communicate/login. They are NOT WiFi thermostats. I have it registered and can see it with several of the apps.DEBUG:Plugin:Vaidating Plugin ConfigurationDEBUG:Plugin:UiValuesDict : (dict)     access_token :  (string)     access_token_expires :  (string)     evohome_Password : xxxxxx (string)     evohome_UserID @. (string)     infoLabel :  (string)     interval : 30 (string)     refresh_token :  (string)     showDebugInLog : false (bool)     simpleSeparator1 :  (string)     simpleSeparator2 :  (string)     simpleSeparator5 :  (string)ERROR:Plugin:[Thu Oct 26 22:45:05 2023] Cannot read Evohome data using new password/user name detailsDEBUG:Plugin:Unable to obtain an Access Token, hint: {"error":"invalid_grant"}ERROR:Plugin:

Validation ErrorsERROR:Plugin:[Thu Oct 26 22:45:23 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:23 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 secondsERROR:Plugin:[Thu Oct 26 22:45:53 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:53 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 secondsESent from my iPadOn Oct 26, 2023, at 4:09 AM, neilkplugins @.***> wrote:

First of all sorry you have run into this. Could you please try a couple of things.

Can you turn on debug logging in the plugin config and retry the process. The logging will give much more detail to help track this down.

Does your password or account have any special characters (shouldn't be a problem but just for checking) ?

Do you have more than one location? (Two homes or even two Evohome installs in the same building)?

If this doesn't work I will send a simple test script to try and validate the connection.

Thanks

Neil

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

farberm commented 8 months ago

That must be an app from a different country other than the US cuz it says I cannot connect to that App store. I can connec to the Resideo App and Honeywell TCC apps. I have an account at the international and US mytotalconnect websites.

On Oct 27, 2023, at 11:40 AM, neilkplugins @.***> wrote:

I have a feeling it is the redlink that is the issue. The library uses the EMEA servers and API, and it is failing at logon which suggests you don’t have credentials for that site. I am travelling this weekend but will send you a link to the web portal version, but this is the app that the plugin supports https://apps.apple.com/gb/app/total-connect-comfort-intl/id783653368If you cannot use this app, then the plugin is not going to work.NeilOn 27 Oct 2023, at 04:05, farberm @.> wrote: 1.Here is the debug info. I redacted my username and password. Only special charter is the @ sign in my user name. Only have one location. I have two thermostats that use red link connector to communicate/login. They are NOT WiFi thermostats. I have it registered and can see it with several of the apps.DEBUG:Plugin:Vaidating Plugin ConfigurationDEBUG:Plugin:UiValuesDict : (dict) access_token : (string) access_token_expires : (string) evohome_Password : xxxxxx (string) evohome_UserID @. (string) infoLabel : (string) interval : 30 (string) refresh_token : (string) showDebugInLog : false (bool) simpleSeparator1 : (string) simpleSeparator2 : (string) simpleSeparator5 : (string)ERROR:Plugin:[Thu Oct 26 22:45:05 2023] Cannot read Evohome data using new password/user name detailsDEBUG:Plugin:Unable to obtain an Access Token, hint: {"error":"invalid_grant"}ERROR:Plugin:

Validation ErrorsERROR:Plugin:[Thu Oct 26 22:45:23 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:23 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 secondsERROR:Plugin:[Thu Oct 26 22:45:53 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:53 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 secondsESent from my iPadOn Oct 26, 2023, at 4:09 AM, neilkplugins @.***> wrote:

First of all sorry you have run into this. Could you please try a couple of things.

Can you turn on debug logging in the plugin config and retry the process. The logging will give much more detail to help track this down.

Does your password or account have any special characters (shouldn't be a problem but just for checking) ?

Do you have more than one location? (Two homes or even two Evohome installs in the same building)?

If this doesn't work I will send a simple test script to try and validate the connection.

Thanks

Neil

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***> — Reply to this email directly, view it on GitHub https://github.com/neilkplugins/evohome-indigo-plugin/issues/1#issuecomment-1783128005, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3BWWOQXRRTAZZF2EMKNXLYBPIX3AVCNFSM6AAAAAA6QKDKXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGEZDQMBQGU. You are receiving this because you authored the thread.

neilkplugins commented 8 months ago

I am afraid that will be the issue, as far as I am aware the Evohome system is EMEA specific, certainly the library in the plugin in is, so Nick’s plugin was using the US API as per the Wifi models, and it looks like that worked with Redlink as well.  I am afraid it will be the same issue and not be possible to support.On 27 Oct 2023, at 16:52, farberm @.***> wrote: That must be an app from a different country other than the US cuz it says I cannot connect to that App store. I can connec to the Resideo App and Honeywell TCC apps. I have an account at the international and US mytotalconnect websites.

On Oct 27, 2023, at 11:40 AM, neilkplugins @.***> wrote:

I have a feeling it is the redlink that is the issue. The library uses the EMEA servers and API, and it is failing at logon which suggests you don’t have credentials for that site. I am travelling this weekend but will send you a link to the web portal version, but this is the app that the plugin supports https://apps.apple.com/gb/app/total-connect-comfort-intl/id783653368If you cannot use this app, then the plugin is not going to work.NeilOn 27 Oct 2023, at 04:05, farberm @.***> wrote:

1.Here is the debug info. I redacted my username and password. Only special charter is the @ sign in my user name. Only have one location. I have two thermostats that use red link connector to communicate/login. They are NOT WiFi thermostats. I have it registered and can see it with several of the apps.DEBUG:Plugin:Vaidating Plugin ConfigurationDEBUG:Plugin:UiValuesDict : (dict) access_token : (string) access_token_expires : (string) evohome_Password : xxxxxx (string) evohome_UserID @.*** (string) infoLabel : (string) interval : 30 (string) refresh_token : (string) showDebugInLog : false (bool) simpleSeparator1 : (string) simpleSeparator2 : (string) simpleSeparator5 : (string)ERROR:Plugin:[Thu Oct 26 22:45:05 2023] Cannot read Evohome data using new password/user name detailsDEBUG:Plugin:Unable to obtain an Access Token, hint: {"error":"invalid_grant"}ERROR:Plugin:

Validation ErrorsERROR:Plugin:[Thu Oct 26 22:45:23 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:23 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 secondsERROR:Plugin:[Thu Oct 26 22:45:53 2023] Cannot read Evohome data DEBUG:Plugin:'key refresh_token not found in dict'ERROR:Plugin:[Thu Oct 26 22:45:53 2023] Failed to retrieve Evohome data. Aborting update and trying again in 30 secondsESent from my iPadOn Oct 26, 2023, at 4:09 AM, neilkplugins @.***> wrote:

First of all sorry you have run into this. Could you please try a couple of things.

Can you turn on debug logging in the plugin config and retry the process. The logging will give much more detail to help track this down.

Does your password or account have any special characters (shouldn't be a problem but just for checking) ?

Do you have more than one location? (Two homes or even two Evohome installs in the same building)?

If this doesn't work I will send a simple test script to try and validate the connection.

Thanks

Neil

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Reply to this email directly, view it on GitHub https://github.com/neilkplugins/evohome-indigo-plugin/issues/1#issuecomment-1783128005, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3BWWOQXRRTAZZF2EMKNXLYBPIX3AVCNFSM6AAAAAA6QKDKXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGEZDQMBQGU.

You are receiving this because you authored the thread.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

neilkplugins commented 8 months ago

I can confirm for the plugin to work you must be able to logon https://international.mytotalconnectcomfort.com/Account/Login with the credentials you will use in the plugin.