Announcement

Collapse
No announcement yet.

Installation in HomeSeer SEL

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

  • Installation in HomeSeer SEL

    Spud,

    Do I have to follow instructions for installation on a Linux machine. I'm not familiar with Linux and hate to mess something up. As others have reported, nothing happens when I click the authorize button.

    thanks, ocxoman

  • #2
    please set the log level to Debug, and post what you get when you try to authorize

    Comment


    • #3
      log

      Ecobee DEBUG System.AggregateException: ---> System.MissingFieldException: Field 'Mono.CSharp.CompilerSettings.WarningLevel' not found. at Microsoft.CSharp.RuntimeBinder.CSharpInvokeMemberBinder.Fall backInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject errorSuggestion) [0x00000] in :0 at System.Dynamic.InvokeMemberBinder.FallbackInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00000] in :0 at System.Dynamic.DynamicMetaObject.BindInvokeMember (System.Dynamic.InvokeMemberBinder binder, System.Dynamic.DynamicMetaObject[] args) [0x00000] in :0 at System.Dynamic.InvokeMemberBinder.Bind (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00000] in :0 at System.Dynamic.DynamicMetaObjectBinder.Bind (System.Object[] args, System.Collections.ObjectModel.ReadOnlyCollection`1 parameters, System.Linq.Expressions.LabelTarget returnLabel) [0x00000] in :0 at System.Runtime.CompilerServices.CallSiteBinder.BindCore[Action`3] (System.Runtime.CompilerServices.CallSite`1 site, System.Object[] args) [0x00000] in :0 at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[Authorization,Object] (System.Runtime.CompilerServices.CallSite site, Ecobee.Net.Authorization arg0, System.Object arg1) [0x00000] in :0 at Ecobee.Net.Authorization+d__18.MoveNext () [0x00000] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in :0 at HSPI_Ecobee.EcobeeApp+d__67.MoveNext () [0x00000] in :0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in :0 at System.Threading.Tasks.Task.Wait () [0x00000] in :0 at System.Threading.Tasks.Task`1[System.String].get_Result () [0x00000] in :0 at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, Int32 userRights) [0x00000] in :0 --> (Inner exception 0) System.MissingFieldException: Field 'Mono.CSharp.CompilerSettings.WarningLevel' not found. at Microsoft.CSharp.RuntimeBinder.CSharpInvokeMemberBinder.Fall backInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args, System.Dynamic.DynamicMetaObject errorSuggestion) [0x00000] in :0 at System.Dynamic.InvokeMemberBinder.FallbackInvokeMember (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00000] in :0 at System.Dynamic.DynamicMetaObject.BindInvokeMember (System.Dynamic.InvokeMemberBinder binder, System.Dynamic.DynamicMetaObject[] args) [0x00000] in :0 at System.Dynamic.InvokeMemberBinder.Bind (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args) [0x00000] in :0 at System.Dynamic.DynamicMetaObjectBinder.Bind (System.Object[] args, System.Collections.ObjectModel.ReadOnlyCollection`1 parameters, System.Linq.Expressions.LabelTarget returnLabel) [0x00000] in :0 at System.Runtime.CompilerServices.CallSiteBinder.BindCore[Action`3] (System.Runtime.CompilerServices.CallSite`1 site, System.Object[] args) [0x00000] in :0 at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[Authorization,Object] (System.Runtime.CompilerServices.CallSite site, Ecobee.Net.Authorization arg0, System.Object arg1) [0x00000] in :0 at Ecobee.Net.Authorization+d__18.MoveNext () [0x00000] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in :0 at HSPI_Ecobee.EcobeeApp+d__67.MoveNext () [0x00000] in :0
      Feb-06 9:43:11 AM Ecobee ERROR
      Feb-06 9:43:11 AM Ecobee DEBUG Response= { "ecobeePin": "6puk", "code": "F4nk9IpydA8SoM38SMGgpfPUTYhsk1tS", "scope": "smartWrite", "expires_in": 9, "interval": 30 }
      Feb-06 9:43:10 AM Ecobee DEBUG GET https://api.ecobee.com/authorize?res...cP&format=json

      Comment


      • #4
        so yes, you need to move Mono.CSharp.dll and CSScriptLibray.dl

        after your ssh to your SEL (user/password is homeseer/hsthsths3) the exact commands to run are:

        sudo mv /usr/local/homeseer/Mono.CSharp.dll /usr/local/homeseer/bin/Mono.CSharp.dll

        sudo mv /usr/local/homeseer/CSScriptLibray.dll /usr/local/homeseer/bin/CSScriptLibrary.dll

        Comment


        • #5
          I get the following error

          mv: cannot stat ‘/usr/local/homeseer/Mono.CSharp.dll’: No such file or directory
          homeseer@hometrollerSEL:~$ ..

          The following is a list of files in the directory
          homeseer@hometrollerSEL:/usr/local$ ls
          bin games HomeSeer\hspi_ultranetcam3_debug.log include man share
          etc HomeSeer HomeSeer\html\netcam\ lib sbin src

          I found your other post and discovered that the version of Mono is old.

          Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)

          Will have to figure out how to upgrade to version 4
          Last edited by ocxoman; February 6th, 2017, 11:52 AM.

          Comment


          • #6
            I may have the capitalization wrong it may be

            /usr/local/HomeSeer instead of /usr/local/homeseer

            Comment


            • #7
              Originally posted by ocxoman View Post
              I found your other post and discovered that the version of Mono is old.

              Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)

              Will have to figure out how to upgrade to version 4
              well, I'm not sure mono 4 is needed, did you manage to move those 2 dlls?
              Do you get another error now?

              Comment


              • #8
                files moved correctly Do I need to restart the system?

                homeseer@hometrollerSEL:/usr/local/HomeSeer/bin$ ls
                BLTVGuide HomeSeerUtil.dll Mono.CSharp.dll
                CSScriptLibrary.dll HSInsteon System.Data.SQLite.dll
                Ecobee HSPI_SurveillanceStation Z-Wave

                system restarted. Log is as follows

                Date/Time Pri Type/Error Message/Source
                Feb-06 7:52:11 PM Ecobee DEBUG at Ecobee.Net.ApiResult.ThrowException () [0x00000] in :0 at Ecobee.Net.Access+d__26.MoveNext () [0x00000] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in :0 at HSPI_Ecobee.EcobeeApp+d__84.MoveNext () [0x00000] in :0
                Feb-06 7:52:11 PM Ecobee ERROR The call failed for an unknown reason.
                Feb-06 7:52:11 PM Ecobee DEBUG Response= Bad Request
                Feb-06 7:52:09 PM Ecobee DEBUG POST https://api.ecobee.com/token?grant_t...cP&format=json
                Feb-06 7:48:10 PM Ecobee DEBUG at Ecobee.Net.ApiResult.ThrowException () [0x00000] in :0 at Ecobee.Net.Access+d__26.MoveNext () [0x00000] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in :0 at HSPI_Ecobee.EcobeeApp+d__84.MoveNext () [0x00000] in :0
                Feb-06 7:48:10 PM Ecobee ERROR The call failed for an unknown reason.
                Feb-06 7:48:10 PM Ecobee DEBUG Response= Bad Request
                Feb-06 7:48:09 PM Ecobee DEBUG POST https://api.ecobee.com/token?grant_t...cP&format=json
                Feb-06 7:48:03 PM Ecobee ERROR Ecobee Request authorization failed
                Feb-06 7:48:03 PM Ecobee DEBUG Response= Unauthorized
                Feb-06 7:48:02 PM Ecobee DEBUG POST https://api.ecobee.com/token?grant_t...cP&format=json
                Feb-06 7:47:03 PM Ecobee DEBUG Response= { "ecobeePin": "qvrs", "code": "t3hvplHgvZ7of6iUo6PYb5BozeJPt3Ch", "scope": "smartWrite", "expires_in": 9, "interval": 30 }
                Feb-06 7:47:02 PM Ecobee DEBUG GET https://api.ecobee.com/authorize?res...cP&format=json
                Feb-06 7:45:52 PM Ecobee ERROR Ecobee Request authorization failed
                Feb-06 7:45:52 PM Ecobee DEBUG Response= Unauthorized
                Feb-06 7:45:52 PM Ecobee DEBUG POST https://api.ecobee.com/token?grant_t...cP&format=json

                In the eccobee app is get the following message

                Ouch, something has gone wrong. Restart me and let's give this one more try.
                Last edited by ocxoman; February 6th, 2017, 09:03 PM. Reason: Log changes after a restart

                Comment


                • #9
                  do the authorization process again

                  also, make sure the 2 dlls are no longer in the HomeSeer directory

                  Comment


                  • #10
                    Got the interface authorized.

                    Spud,

                    Thanks for all the help. I am now authorized and see both Eccobees. Is there anyway to see the local outside temperature as shown on the device?

                    Also the upstairs eccobee has both HVAC mode and status but the downstairs only has HVAC status. Is there a way to add the HVAC mode without redoing everything?

                    I found that the android tablet APP has issues authorizing an app but when using a computer and the web interface, it worked. Their interface to get to the settings is not intuitive and it took me a bit to find it.

                    Also the mobile app (telephone as no way to authorize). The tablet app had the setting but it didn't work. Go figure.

                    ocxoman
                    Last edited by ocxoman; February 7th, 2017, 05:36 PM. Reason: found a missing tools

                    Comment


                    • #11
                      good to know about the mobile app

                      just to confirm, everything is working for you now, and you did not have to upgrade to mono 4, right?

                      Comment


                      • #12
                        Spud,
                        I confirm that I did not upgrade to mono 4. I have one strange thing. The HVAC Mode Device is not associated with any thermostat. So it is listed apart from the rest of the devices for that thermostat. I'm working on trying to get it associated but without success so far.
                        ocxoman

                        Comment


                        • #13
                          Originally posted by ocxoman View Post
                          Spud,
                          I confirm that I did not upgrade to mono 4. I have one strange thing. The HVAC Mode Device is not associated with any thermostat. So it is listed apart from the rest of the devices for that thermostat. I'm working on trying to get it associated but without success so far.
                          ocxoman
                          delete the device, then disable + enable the plugin this should recreate it correctly.

                          Comment


                          • #14
                            Got everything working with some error messages

                            Spud,

                            Thanks for the help. Now have everything working and just licensed the plugin.

                            I get the following in the log file a couple of times each day.

                            Mar-01 9:06:28 PM
                            Ecobee ERROR Cannot perform member binding on `null' value Mar-01 9:06:28 PM Ecobee DEBUG Response= { "page": { "page": 1, "totalPages": 1, "pageSize": 2, "total": 2 },


                            I use your Invisalink Ademco plug in also.

                            ocxoman

                            OvenControlledCrystalOscillator

                            Comment


                            • #15
                              Originally posted by ocxoman View Post
                              Spud,

                              Thanks for the help. Now have everything working and just licensed the plugin.

                              I get the following in the log file a couple of times each day.

                              Mar-01 9:06:28 PM
                              Ecobee ERROR Cannot perform member binding on `null' value Mar-01 9:06:28 PM Ecobee DEBUG Response= { "page": { "page": 1, "totalPages": 1, "pageSize": 2, "total": 2 },


                              I use your Invisalink Ademco plug in also.

                              ocxoman

                              OvenControlledCrystalOscillator
                              not sure what this error is about, could you activate the "Log To File" option, set the "File Log Level" to Debug, wait until this error shows up again and then send me the Logs/Ecobee.txt file

                              Comment

                              Working...
                              X