Announcement

Collapse
No announcement yet.

Ecobee Config=> Authorization

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

  • Ecobee Config=> Authorization

    I just installed HS3 on RPi 3 b+, running latest version of Raspian Stretch...

    I installed the Ecobee plugin, and when I click the config button, nothing happens... What exactly should be occuring when I click the config button...

    Here is my profile:
    Code:
    Current Date/Time: 04/01/2018 20:46:20
    HomeSeer Version: HS3 Standard Edition 3.0.0.368
    Linux version: Linux raspberrypi 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux System Uptime: 0 Days 0 Hours 3 Minutes 26 Seconds
    IP Address: 10.10.1.30
    Number of Devices: 39
    Number of Events: 0
    Available Threads: 388
    
    Enabled Plug-Ins
    3.0.0.22: Ecobee
    2.0.2.1: JowiHue
    1.5.0.0: MQTT
    3.0.0.31: Nest

  • #2
    what do you have in the logs when you click the "Ecobee Authorization" button?

    did you move the Mono.CSharp.dll and CSScriptLibray.dll as explained in the user guide?

    Comment


    • #3
      Thanks... I did not move those, so will give a try when I get back to house. My apologies for not seeing those instructions earlier

      Comment


      • #4
        I moved the two files as requested, however, I still receive no response when I click the button...

        Here is the log output (I had debug mode checked)

        Code:
        Apr-02 11:20:44	 	Ecobee	DEBUG No authorization. Please go to the config page to authorize
        Apr-02 11:18:41	 	Ecobee	DEBUG System.AggregateException: One or more errors occurred. ---> System.MissingFieldException: Field 'Mono.CSharp.CompilerSettings.WarningLevel' not found. at Microsoft.CSharp.RuntimeBinder.CSharpInvokeMemberBinder.FallbackInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject errorSuggestion) [0x00006] in <7175e130f4634a60b0a49adbfc45babc>:0 at System.Dynamic.InvokeMemberBinder.FallbackInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00000] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.DynamicMetaObject.BindInvokeMember (System.Dynamic.InvokeMemberBinder binder, System.Dynamic.DynamicMetaObject[] args) [0x0000b] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.InvokeMemberBinder.Bind (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00016] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.DynamicMetaObjectBinder.Bind (System.Object[] args, System.Collections.ObjectModel.ReadOnlyCollection`1[T] parameters, System.Linq.Expressions.LabelTarget returnLabel) [0x000de] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T] (System.Runtime.CompilerServices.CallSite`1[T] site, System.Object[] args) [0x0001c] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1] (System.Runtime.CompilerServices.CallSite site, T0 arg0, T1 arg1) [0x00115] in <63992662b765477a898ef49cdcc99ee2>:0 at Ecobee.Net.Authorization+d__18.MoveNext () [0x0010d] in <689d70016f174e4a97eea7c1b2df72fa>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_Ecobee.EcobeeApp+d__67.MoveNext () [0x000b7] in :0 --- 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 :0 ---> (Inner Exception #0) System.MissingFieldException: Field 'Mono.CSharp.CompilerSettings.WarningLevel' not found. at Microsoft.CSharp.RuntimeBinder.CSharpInvokeMemberBinder.FallbackInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject errorSuggestion) [0x00006] in <7175e130f4634a60b0a49adbfc45babc>:0 at System.Dynamic.InvokeMemberBinder.FallbackInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00000] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.DynamicMetaObject.BindInvokeMember (System.Dynamic.InvokeMemberBinder binder, System.Dynamic.DynamicMetaObject[] args) [0x0000b] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.InvokeMemberBinder.Bind (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00016] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.DynamicMetaObjectBinder.Bind (System.Object[] args, System.Collections.ObjectModel.ReadOnlyCollection`1[T] parameters, System.Linq.Expressions.LabelTarget returnLabel) [0x000de] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T] (System.Runtime.CompilerServices.CallSite`1[T] site, System.Object[] args) [0x0001c] in <63992662b765477a898ef49cdcc99ee2>:0 at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1] (System.Runtime.CompilerServices.CallSite site, T0 arg0, T1 arg1) [0x00115] in <63992662b765477a898ef49cdcc99ee2>:0 at Ecobee.Net.Authorization+d__18.MoveNext () [0x0010d] in <689d70016f174e4a97eea7c1b2df72fa>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at HSPI_Ecobee.EcobeeApp+d__67.MoveNext () [0x000b7] in :0 <---
        Apr-02 11:18:41	 	Ecobee	ERROR One or more errors occurred.
        Apr-02 11:18:41	 	Ecobee	DEBUG Response= { "ecobeePin": "w5nk", "code": "eWKMaXZIAUf5bzPl04q0yrP7vKMLZuKA", "scope": "smartWrite", "expires_in": 9, "interval": 30 }
        Apr-02 11:18:40	 	Ecobee	DEBUG GET https://api.ecobee.com/authorize?response_type=ecobeePin&scope=smartWrite&client_id=aQLWgv1alPoUfBnA5Ez52iRujqkJJdcP&format=json

        Comment


        • #5
          did you remove those dll files from /usr/local/HomeSeer? copying them in /bin is not enough.
          Then restart the plug-in

          Comment


          • #6
            That Got it!!!! Thanks

            Comment


            • #7
              M apologies for my ignorance here:

              Where do I find these files? (I'm guessing it is not int he HS3 software interface.)

              From the user guide
              "Note:
              On Linux, if you have Mono.CSharp.dll and CSScriptLibrary.dll in the root HomeSeer folder you must move them to the bin folder. (This problem is already fixed on recent HS3 versions)"

              System info:
              Current Date/Time: 5/31/2019 2:58:35 PM
              HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.531
              Linux version: Linux HomeTrollerZeeS2V2 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
              System Uptime: 0 Days 0 Hours 11 Minutes 42 Seconds
              IP Address: 172.16.xx
              Number of Devices: 72
              Number of Events: 94
              Available Threads: 396
              HSTouch Enabled: True
              Event Threads: 1
              Event Trigger Eval Queue: 0
              Event Trigger Priority Eval Queue: 0
              Device Exec Queue: 0
              HSTouch Event Queue: 0
              Email Send Queue: 0

              Enabled Plug-Ins
              3.0.19.0: BLLock
              2.0.27.0: BLOccupied
              3.0.0.32: Ecobee
              3.9.610.5: HSBuddy
              3.0.1.190: Z-Wave

              Comment


              • #8
                Originally posted by CinBRandon View Post
                M apologies for my ignorance here:

                Where do I find these files? (I'm guessing it is not int he HS3 software interface.)

                From the user guide
                "Note:
                On Linux, if you have Mono.CSharp.dll and CSScriptLibrary.dll in the root HomeSeer folder you must move them to the bin folder. (This problem is already fixed on recent HS3 versions)"

                System info:
                Current Date/Time: 5/31/2019 2:58:35 PM
                HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.531
                Linux version: Linux HomeTrollerZeeS2V2 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
                System Uptime: 0 Days 0 Hours 11 Minutes 42 Seconds
                IP Address: 172.16.xx
                Number of Devices: 72
                Number of Events: 94
                Available Threads: 396
                HSTouch Enabled: True
                Event Threads: 1
                Event Trigger Eval Queue: 0
                Event Trigger Priority Eval Queue: 0
                Device Exec Queue: 0
                HSTouch Event Queue: 0
                Email Send Queue: 0

                Enabled Plug-Ins
                3.0.19.0: BLLock
                2.0.27.0: BLOccupied
                3.0.0.32: Ecobee
                3.9.610.5: HSBuddy
                3.0.1.190: Z-Wave
                You need to connect to your Zee through SSH using putty:
                Follow the 7 first steps of the instructions in this thread: https://forums.homeseer.com/forum/ho...re-using-putty

                Comment


                • #9
                  ok thanks... I think. Didn't realize all this was involved.

                  Was able to get to this in the Command Prompt window:
                  homeseer@HomeTrollerZeeS2V2:/usr/local/HomeSeer $

                  Now what?

                  Comment


                  • #10

                    Comment


                    • #11
                      if the dll files are not there, this is not the cause of the problem.

                      Can you describe the problem you have and post the logs you get?

                      Comment


                      • #12
                        When I click "Ecobee Authorization" nothing happens.

                        Comment


                        • #13
                          Originally posted by CinBRandon View Post
                          When I click "Ecobee Authorization" nothing happens.
                          please set the log level to debug from the config page, then capture again the problem

                          Comment


                          • #14
                            May-31 4:20:53 PM 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) <0x74e6904c + 0x0003c> in :0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) <0x74e50ec0 + 0x00073> in :0 at System.Threading.Tasks.Task`1[TResult].get_Result () <0x74e50e60 + 0x00027> in :0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) <0x71fbc000 + 0x001a7> in :0 ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---
                            May-31 4:20:53 PM Ecobee ERROR One or more errors occurred.
                            May-31 4:20:32 PM Z-Wave Device: First Floor Kitchen Watts Set to 37.888 (37.888 Watts)
                            May-31 4:20:23 PM Ecobee DEBUG GET https://api.ecobee.com/authorize?res...cP&format=json

                            Comment


                            • #15
                              Originally posted by CinBRandon View Post
                              May-31 4:20:53 PM 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) <0x74e6904c + 0x0003c> in :0 at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) <0x74e50ec0 + 0x00073> in :0 at System.Threading.Tasks.Task`1[TResult].get_Result () <0x74e50e60 + 0x00027> in :0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) <0x71fbc000 + 0x001a7> in :0 ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---
                              May-31 4:20:53 PM Ecobee ERROR One or more errors occurred.
                              May-31 4:20:32 PM Z-Wave Device: First Floor Kitchen Watts Set to 37.888 (37.888 Watts)
                              May-31 4:20:23 PM Ecobee DEBUG GET https://api.ecobee.com/authorize?res...cP&format=json

                              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

                              Working...
                              X