Announcement

Collapse
No announcement yet.

"Ecobee Authorization" Not Working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "Ecobee Authorization" Not Working

    Setting up a new Ecobee and using this plugin for the first time, I'm trying to authorize the thermostat and the button is not responding (ie: click the button and nothing happens).

    I set the log level to debug and this is what I see:
    Mar-01 10:58:58 Ecobee DEBUG System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x00034] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) [0x000cf] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---
    Mar-01 10:58:58 Ecobee ERROR One or more errors occurred.
    This is on HS3-PI-3 (3B+) and on the most current software release.

  • #2
    What's your version of mono? You need 4.8 or later, read this thread
    https://forums.homeseer.com/forum/th...-was-cancelled

    If this is a Zee, there is a guide here: https://helpdesk.homeseer.com/articl...e-to-mono-5-12

    Comment


    • #3
      That worked, thank you!

      Comment


      • #4
        I have just updated my mono and now I get this message. I seem to have lost my internet connection, although I am still able to access my Homeseer remotely.
        Any idea what is wrong?

        May-02 11:49:17 AM Ecobee DEBUG System.AggregateException: One or more errors occurred. (Method not found: void System.Net.WebHeaderCollection.AddValue(string,string)) ---> System.MissingMethodException: Method not found: void System.Net.WebHeaderCollection.AddValue(string,string) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <6649516e5b3542319fb262b421af0adb>:0 at System.Net.Http.HttpClientHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00024] in :0 at System.Net.Http.HttpMessageInvoker.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.__BaseCallProxy0 (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) [0x00089] in :0 at Ecobee.Net.Http.Get (System.String address, System.Boolean allowTokenRefresh) [0x0017d] in :0 at Ecobee.Net.Authorization.GetPinAuthorization () [0x00095] in :0 at HSPI_Ecobee.EcobeeApp.GetPinAuthorizationCode () [0x000b7] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <6649516e5b3542319fb262b421af0adb>:0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <6649516e5b3542319fb262b421af0adb>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <6649516e5b3542319fb262b421af0adb>:0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) [0x000cf] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 ---> (Inner Exception #0) System.MissingMethodException: Method not found: void System.Net.WebHeaderCollection.AddValue(string,string) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <6649516e5b3542319fb262b421af0adb>:0 at System.Net.Http.HttpClientHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00024] in :0 at System.Net.Http.HttpMessageInvoker.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.__BaseCallProxy0 (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in :0 at System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) [0x00089] in :0 at Ecobee.Net.Http.Get (System.String address, System.Boolean allowTokenRefresh) [0x0017d] in :0 at Ecobee.Net.Authorization.GetPinAuthorization () [0x00095] in :0 at HSPI_Ecobee.EcobeeApp.GetPinAuthorizationCode () [0x000b7] in <176fb2178c3c4c7eb39a18c47d0b6285>:0 <---
        May-02 11:49:17 AM Ecobee ERROR One or more errors occurred. (Method not found: void System.Net.WebHeaderCollection.AddValue(string,string))
        May-02 11:49:16 AM Ecobee DEBUG GET https://api.ecobee.com/authorize?res...cP&format=json

        Comment


        • #5
          What version of mono have you installed and how?
          You may have some missing packages, try:

          Code:
          sudo apt-get install mono-complete

          Comment


          • #6
            I have Mono JIT compiler version 5.20.1.19
            I was upgrading from version 3

            I used this link to upgrade:
            https://helpdesk.homeseer.com/articl...-sel-to-mono-5

            I have also tried the code:
            sudo apt-get install mono-complete

            Didn't seem to help at all

            Comment


            • #7
              Hello. I am having similar problems. When I click the authorize button, nothing happens. I'm a bit confused on the mono verison, one place I read it said I need version 5 and one place it said version 8 or later. I tried updating the mono version according to the instructions found here https://helpdesk.homeseer.com/articl...date-to-mono-5 but that didnt seem to work. It updated, but then after going through the whole process it said that there was nothing to install because I have the latest mono version. It appears like the version I have is 4.6.2.7 Any help is appreciated. Here is by debug log:
              Oct-09 22:12:28 Ecobee DEBUG No authorization. Please go to the config page to authorize
              Oct-09 22:08:28 Ecobee DEBUG No authorization. Please go to the config page to authorize
              Oct-09 22:06:50 Ecobee DEBUG System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x00034] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) [0x000cf] in <2425484103da41ba8e15d174260e802a>:0 ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---
              Oct-09 22:06:50 Ecobee ERROR One or more errors occurred.
              Oct-09 22:06:11 Ecobee ERROR One or more errors occurred.
              Oct-09 22:05:41 Ecobee ERROR One or more errors occurred.

              Comment


              • #8
                Originally posted by samwisefrodo View Post
                Hello. I am having similar problems. When I click the authorize button, nothing happens. I'm a bit confused on the mono verison, one place I read it said I need version 5 and one place it said version 8 or later. I tried updating the mono version according to the instructions found here https://helpdesk.homeseer.com/articl...date-to-mono-5 but that didnt seem to work. It updated, but then after going through the whole process it said that there was nothing to install because I have the latest mono version. It appears like the version I have is 4.6.2.7 Any help is appreciated. Here is by debug log:
                Oct-09 22:12:28 Ecobee DEBUG No authorization. Please go to the config page to authorize
                Oct-09 22:08:28 Ecobee DEBUG No authorization. Please go to the config page to authorize
                Oct-09 22:06:50 Ecobee DEBUG System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x00034] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) [0x000cf] in <2425484103da41ba8e15d174260e802a>:0 ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---
                Oct-09 22:06:50 Ecobee ERROR One or more errors occurred.
                Oct-09 22:06:11 Ecobee ERROR One or more errors occurred.
                Oct-09 22:05:41 Ecobee ERROR One or more errors occurred.
                The plugin needs mono 4.8 or later
                What kind of hometroller do you have? Zee or SEL ?

                Try first to install mono-complete

                sudo apt-get install mono-complete

                Comment


                • #9
                  I have a Zees2. When I try install mono-complete it says "mono-complete is already the newest version (4.6.2.7+dfsg-1) 0 upgraded, 0 newly installed, 0 to remove, and 0 not upgraded."

                  Comment


                  • #10
                    then you need to update to a version of mono > 4.8
                    if the instructions here don't work, please contact homeseer support

                    Comment


                    • #11
                      Ok. Those instructions are for mono version 5? Or does it automatically update to the latest version. I just notice in the command script it says sudo wget homeseer.com/linux/mono5_zees2.sh Just curious in the "mono5" part.

                      Comment

                      Working...
                      X