Announcement

Collapse
No announcement yet.

ecobee plug-in failure - Fixed!

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

    ecobee plug-in failure - Fixed!

    Hi,
    I see various posts in the Forum about others having problems lately with the ecobee plug-in, but being a newbie I don't see anything I recognize as a solution I can apply. The plug in appears to indicate I've not authorized it, but it was authorized and when I attempt to authorize it again I recieve no code. The ecobee website indicates I have authorized the plug-in. This plug-in always worked before, but suddenly, with no changes on my part, it is not working. How do I restore the lost function?

    MESSAGE BOARD (copy/paste section below to message board posts)

    Current Date/Time: 10/30/2018 6:10:57 PM
    HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.475
    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 45 Minutes 36 Seconds
    IP Address: 192.168.1.26
    Number of Devices: 112
    Number of Events: 31
    Available Threads: 395
    HSTouch Enabled: True
    Event Threads: 2
    Event Trigger Eval Queue: 0
    Event Trigger Priority Eval Queue: 0
    Device Exec Queue: 0
    HSTouch Event Queue: 0
    Email Send Queue: 0
    Anti Virus Installed:

    Enabled Plug-Ins
    3.0.0.26: Ecobee
    1.2018.717.1011: MyQ
    3.0.6702.34494: UltraWeatherWU3
    3.0.1.243: Z-Wave


    Thanks, in advance, for your help!
    Attached Files

    #2
    Update to version 3.0.0.29 available in beta section of the updater. If you are on Linux this may still not work depending on the version of mono:

    related threads:
    https://forums.homeseer.com/forum/th...-with-ecobee-3
    https://forums.homeseer.com/forum/th...-was-cancelled

    Comment


      #3
      Thank you for the reply, as you recommended I have installed the plug-in version 3.0.0.29. Exact same issues - I assume due to your note about my HomeTrollerZeeS2V2 which is designed to run Linux.

      Comment


        #4
        What version of mono are you running?
        Code:
         
         mono --version
        Ecobee server now requires TLS 1.2, and it's only supported in mono version 4.8 or later.

        Comment


          #5
          Thanks for the question. I am sorry i don't know what mono is or how to determine what version I am running. I thought all the systems detail was included in the data I copied and pasted in my original posting. Could you tell me where to locate the mono version? Additionally, if that is something I need to update where is it located and how would I update it anyway? Sorry, I'm clueless...

          Comment


            #6
            After I send my last reply I Googled "Ecobee and TLS 1.2" to see if I could figure out anything. Nothing I found was very clear, except this seems to be related to something in Windows, if that's true the I'm guessing you're question about mono was in reference to the version and build of Windows I'm using - just in case that's what you need to know in order to help me:

            Microsoft Windows 10 Professional (x64) Build 17134.376 (1803/RS4)

            Hope that helps.

            Thanks, again.

            Comment


              #7
              Originally posted by SJ Miller View Post
              After I send my last reply I Googled "Ecobee and TLS 1.2" to see if I could figure out anything. Nothing I found was very clear, except this seems to be related to something in Windows, if that's true the I'm guessing you're question about mono was in reference to the version and build of Windows I'm using - just in case that's what you need to know in order to help me:

              Microsoft Windows 10 Professional (x64) Build 17134.376 (1803/RS4)

              Hope that helps.

              Thanks, again.
              If you run HS3 on a Hometroller Zee, here is the procedure you need to follow to check mono version and update it:
              https://helpdesk.homeseer.com/articl...e-to-mono-5-12
              https://forums.homeseer.com/forum/ho...vb-net-scripts

              Comment


                #8
                Thank you! This was very helpful, I appreciate your patience and the great instructions (although I was totally unsure of exactly what I was doing, whoever wrote the article did a great job, because I just read and typed carefully what was written) and it seems to have solved all my problems. I am very grateful!

                (Now with a boost in my confidence maybe I'll move on to a new project and upgrade from a Zee S2 to a SEL Pro.)

                Thank you, again!

                Comment


                  #9
                  How are your events triggering...

                  The thing they forgot to tell you is that events get wrecked when you updrade mono. That detail really ought to be in the mono upgrade instructions. I am in the process of trying to re-downgrade my mono so that I can export my events, then upgrade mono so ecobee will work again, and then reimport the events I spent years creating. Hopefully it all works...

                  Comment


                    #10
                    Just moved my HS3 from a Raspberry to an Odroid and I'm having trouble re-authorizing the Ecobee plugin as described above. The plugin is version 3.0.0.29 and my mono version is 5.0.1.1 (the latest that is fully compatible with HS3) Any suggestions? My ecobee account shows the ecobee previously authorized.

                    Comment


                      #11
                      Originally posted by ramans View Post
                      Just moved my HS3 from a Raspberry to an Odroid and I'm having trouble re-authorizing the Ecobee plugin as described above. The plugin is version 3.0.0.29 and my mono version is 5.0.1.1 (the latest that is fully compatible with HS3) Any suggestions? My ecobee account shows the ecobee previously authorized.
                      Please capture and post some debug logs

                      Comment


                        #12
                        Sorry for ignorance ... what logs would you need?

                        This is the ecobee log ...

                        Nov-17 07:25:00 ERROR One or more errors occurred.
                        Nov-17 08:07:07 ERROR System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledE$
                        --- End of inner exception stack trace ---
                        at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <a07d6b$
                        at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <a07$
                        at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <a07d6bf484a54da2861691df910339b1>:0
                        at HSPI_Ecobee.EcobeeApp.ResumeProgram (System.String ecobeeId) [0x00019] in <0531287c057f4fea9f31ac93e7e47baa>:0
                        ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

                        Nov-17 08:07:37 ERROR System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledE$
                        --- End of inner exception stack trace ---
                        at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <a07d6b$
                        at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <a07$
                        at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <a07d6bf484a54da2861691df910339b1>:0
                        at HSPI_Ecobee.EcobeeApp.ResumeProgram (System.String ecobeeId) [0x00019] in <0531287c057f4fea9f31ac93e7e47baa>:0
                        ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

                        Nov-17 11:00:49 ERROR One or more errors occurred.
                        Nov-17 11:01:19 ERROR One or more errors occurred.

                        Comment


                          #13
                          Originally posted by ramans View Post
                          Sorry for ignorance ... what logs would you need?

                          This is the ecobee log ...

                          Nov-17 07:25:00 ERROR One or more errors occurred.
                          Nov-17 08:07:07 ERROR System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledE$
                          --- End of inner exception stack trace ---
                          at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <a07d6b$
                          at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <a07$
                          at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <a07d6bf484a54da2861691df910339b1>:0
                          at HSPI_Ecobee.EcobeeApp.ResumeProgram (System.String ecobeeId) [0x00019] in <0531287c057f4fea9f31ac93e7e47baa>:0
                          ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

                          Nov-17 08:07:37 ERROR System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledE$
                          --- End of inner exception stack trace ---
                          at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <a07d6b$
                          at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <a07$
                          at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <a07d6bf484a54da2861691df910339b1>:0
                          at HSPI_Ecobee.EcobeeApp.ResumeProgram (System.String ecobeeId) [0x00019] in <0531287c057f4fea9f31ac93e7e47baa>:0
                          ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

                          Nov-17 11:00:49 ERROR One or more errors occurred.
                          Nov-17 11:01:19 ERROR One or more errors occurred.
                          From the config page of the plugin set the log level to Debug, then restart the plugin, try to authorize, then post all the logs lines you get in VIEW > Log from the
                          moment the plugin starts.

                          thanks

                          Comment


                            #14
                            OK ... HS3 log pasted below.
                            ecobee plugin off on startup and turned on after system initializes.
                            Then authorization initiated.
                            Hope this is what you need ... latest at the top.
                            Thanks - Robert Amans


                            Nov-17 12:40:56 PM Z-Wave Device: HVAC Zone 3 Aeotec Zone 3 Temperature Set to 65.7 (F)

                            Nov-17 12:40:31 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) [0x00011] in :0at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in :0at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in :0at HSPI_Ecobee.WebConfig.postBackProc (System.String page, System.String data, System.String user, System.Int32 userRights) [0x000cf] in <0531287c057f4fea9f31ac93e7e47baa>:0 ---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

                            Nov-17 12:40:31 PM Ecobee ERROR One or more errors occurred.

                            Nov-17 12:40:28 PM Z-Wave Device: HVAC Zone 3 Luminance Set to 19 (Lux)

                            Nov-17 12:40:01 PM Ecobee DEBUG GET https://api.ecobee.com/authorize?res...cP&format=json

                            Nov-17 12:39:45 PM Ecobee WARNING The Ecobee plugin hasn't been authorized to access your Ecobee account, please go to the config page to authorize.
                            Nov-17 12:39:45 PM Starting Plug-In Plugin Ecobee started successfully in 294 milliseconds
                            Nov-17 12:39:45 PM Ecobee INFO Ecobee version 3.0.0.29
                            Nov-17 12:39:45 PM Starting Plug-In Initializing plugin Ecobee ...
                            Nov-17 12:39:45 PM Info Plugin Ecobee has connected. IP:127.0.0.1:48788
                            Nov-17 12:39:44 PM Plug-In Finished initializing plug-in Ecobee
                            Nov-17 12:32:47 PM Z-Wave Starting Z-Wave Polling for Network 016A24F1...
                            Nov-17 12:32:24 PM Z-Wave ************************************************************ *******************
                            Nov-17 12:32:24 PM Z-Wave STARTUP COMPLETE: All configured interfaces were successfully initialized.
                            Nov-17 12:32:24 PM Z-Wave ************************************************************ *******************
                            Nov-17 12:32:22 PM Z-Wave rla_znet: ............................................................ ..........
                            Nov-17 12:32:22 PM Z-Wave rla_znet: .............................. FINISHED ..............................
                            Nov-17 12:32:22 PM Z-Wave rla_znet: ............................................................ ..........
                            Nov-17 12:32:22 PM Z-Wave rla_znet is the SIS for the network.
                            Nov-17 12:32:22 PM Z-Wave rla_znet There is a SUC/SIS in the network.
                            Nov-17 12:32:22 PM Z-Wave rla_znet Controller is static lib.
                            Nov-17 12:32:22 PM Z-Wave rla_znet Controller chip type is ZW050x.
                            Nov-17 12:32:22 PM Z-Wave The interface's security support has been set.
                            Nov-17 12:32:22 PM Z-Wave rla_znet: Found 40 Z-Wave nodes in interface node ID 1 (rla_znet)
                            Nov-17 12:32:22 PM Z-Wave rla_znet: Z-Wave interface node ID: 1, Home ID: 016A24F1
                            Nov-17 12:32:22 PM Z-Wave rla_znet: Z-Wave Serial API version: 5
                            Nov-17 12:32:22 PM Z-Wave rla_znet: Z-Wave services for the SECURITY COMMAND CLASS were successfully started.
                            Nov-17 12:32:21 PM Z-Wave rla_znet: Controller firmware version: 4.32
                            Nov-17 12:32:19 PM Starting Plug-In Plugin X10 started successfully in 1113 milliseconds
                            Nov-17 12:32:19 PM Info Initializing CM11A/12U on COM port /dev/ttyUSB0
                            Nov-17 12:32:19 PM Z-Wave rla_znet: Getting node information from controller...
                            Nov-17 12:32:19 PM Z-Wave rla_znet: The Z-Wave API Execution Thread was Started or Restarted.
                            Nov-17 12:32:18 PM Z-Wave rla_znet: Z-Wave Ethernet at IP 10.0.0.20, connected to interface ok.
                            Nov-17 12:32:18 PM Z-Wave rla_znet: The Z-Wave Command Execution Thread was Started or Restarted.
                            Nov-17 12:32:18 PM Z-Wave rla_znet: ----------------------------------------------------------------------
                            Nov-17 12:32:18 PM Z-Wave Initializing Z-Wave interface rla_znet (Ethernet Interface) at 10.0.0.20, port 2001
                            Nov-17 12:32:18 PM Z-Wave rla_znet: ----------------------------------------------------------------------
                            Nov-17 12:32:18 PM Z-Wave rla_znet: ============================================================ ==========
                            Nov-17 12:32:18 PM Z-Wave 465 Simple AV Control Command Class Control Commands have been loaded successfully.
                            Nov-17 12:32:18 PM Z-Wave 0 event triggers were loaded from HomeSeer.
                            Nov-17 12:32:18 PM Z-Wave 3 event actions were loaded from HomeSeer.
                            Nov-17 12:32:18 PM Starting Plug-In Initializing plugin X10 ...
                            Nov-17 12:32:18 PM Starting Plug-In Plugin Z-Wave started successfully in 3314 milliseconds
                            Nov-17 12:32:17 PM Info System connected to MyHS Service successfully with license ID 60725.
                            Nov-17 12:32:17 PM Z-Wave 105 total Z-Wave Data Objects loaded.
                            Nov-17 12:32:17 PM Info System connected to MyHS Service, waiting for acknowledge...
                            Nov-17 12:32:17 PM Z-Wave Network 016A24F1 has 105 device data elements.
                            Nov-17 12:32:17 PM Z-Wave 1 Networks were restored from the data in the database... Building data connections.
                            Nov-17 12:32:17 PM Z-Wave Loading Z-Wave Data Objects...
                            Nov-17 12:32:17 PM TTS Speak ():Welcome to Home-Seer
                            Nov-17 12:32:17 PM Startup Scripting is OK and is now running Startup.vb
                            Nov-17 12:32:17 PM Startup Start up complete.
                            Nov-17 12:32:17 PM Startup HSSentry is disabled in Setup, sentry will not be started.
                            Nov-17 12:32:17 PM Startup Starting Event Scheduler...
                            Nov-17 12:32:16 PM Z-Wave 1 total Z-Wave Network Objects loaded.
                            Nov-17 12:32:16 PM Z-Wave Loading Z-Wave Network Objects...
                            Nov-17 12:32:16 PM Z-Wave Database: Opening (Mode=Read Only) up HomeSeer database /usr/local/HomeSeer/Data/Z-Wave/Z-Wave2.db
                            Nov-17 12:32:15 PM Z-Wave InitIO called, plug-in version 3.0.1.246 is being initialized...
                            Nov-17 12:32:15 PM Starting Plug-In Initializing plugin Z-Wave ...
                            Nov-17 12:32:15 PM Z-Wave Note, Z-Wave send timeout is currently at 20000 seconds, which is not the default
                            Nov-17 12:32:15 PM Info Plugin X10 has connected. IP:127.0.0.1:48772
                            Nov-17 12:32:15 PM Info Plugin Z-Wave has connected. IP:127.0.0.1:48768
                            Nov-17 12:32:13 PM Startup Running the startup script Startup.vb
                            Nov-17 12:32:13 PM Startup Starting Find service...
                            Nov-17 12:32:13 PM Startup Updater services starting...
                            Nov-17 12:32:13 PM Speech Listening for remote speaker connections on port 10401
                            Nov-17 12:32:13 PM Startup Initializing Speaker Client Interface
                            Nov-17 12:32:13 PM Startup Start automation engine...
                            Nov-17 12:32:13 PM Web Server UPNP Discovery started
                            Nov-17 12:32:13 PM Web Server Web Server started on port 80
                            Nov-17 12:32:13 PM Web Server Local IP address is: 10.0.0.209
                            Nov-17 12:32:13 PM Startup HStouch server started, waiting for clients to connect.
                            Nov-17 12:32:13 PM HSTouch Server Server started on port 10200
                            Nov-17 12:32:13 PM Plug-In Finished initializing plug-in X10
                            Nov-17 12:32:13 PM Plug-In Finished initializing plug-in Z-Wave
                            Nov-17 12:32:13 PM Startup Initializing Plug-Ins
                            Nov-17 12:32:13 PM Plug-In Found plug-in: Z-Wave, version: 3.0.1.246
                            Nov-17 12:32:12 PM Plug-In Found plug-in: X10, version: 3.0.0.36
                            Nov-17 12:32:11 PM Plug-In Found plug-in: Ecobee, version: 3.0.0.29
                            Nov-17 12:32:10 PM Startup Checking for available plug-ins
                            Nov-17 12:32:10 PM Info Remote plug-in API interface started on port 10400
                            Nov-17 12:32:10 PM Startup This version of HomeSeer is registered as a HS3STANDARD version.
                            Nov-17 12:32:10 PM Startup Creating Speaker Client Interface Object...
                            Nov-17 12:32:10 PM Startup HomeSeer version is: 3.0.0.435
                            Nov-17 12:32:10 PM Load Config Loading TIMERS...
                            Nov-17 12:32:10 PM Load Config Loading COUNTERS...
                            Nov-17 12:32:10 PM Load Config 18 total events loaded.
                            Nov-17 12:32:10 PM Load Config Loading Events...
                            Nov-17 12:32:10 PM Load Config Loading Event Groups...
                            Nov-17 12:32:10 PM Load Config 145 total devices loaded.
                            Nov-17 12:32:10 PM Database Loading Devices...
                            Nov-17 12:32:09 PM Database Opening (Mode=Read Only) up HomeSeer database /usr/local/HomeSeer/Data/HomeSeerData.hsd
                            Nov-17 12:32:09 PM Startup Loading configuration file ...
                            Nov-17 12:32:09 PM Startup Database SAVE process started.
                            Nov-17 12:32:09 PM Startup Local voice recognition class started.
                            Nov-17 12:32:09 PM Startup Plug-In Interface class started.
                            Nov-17 12:32:09 PM Startup E-Mail RECEIVE class started.
                            Nov-17 12:32:09 PM Startup E-Mail SEND class started.
                            Nov-17 12:32:09 PM Startup Web server class started.
                            Nov-17 12:32:09 PM Startup Application interface class started.
                            Nov-17 12:32:09 PM Startup COM port classes started.
                            Nov-17 12:32:09 PM Startup Creating Class Objects...
                            Nov-17 12:32:08 PM Startup
                            Nov-17 12:32:08 PM Startup ************************************************************ ********************
                            Nov-17 12:32:08 PM Startup HomeSeer version 3.0.0.435 Edition: HS3 Standard Starting Now
                            Nov-17 12:32:08 PM Startup ************************************************************ ********************
                            Nov-17 12:32:08 PM Startup
                            Nov-17 12:32:07 PM Startup Settings Loaded.

                            Comment


                              #15
                              OK ... any update?
                              I did a complete install on an identical Odroid (OS=Armbian Bionic - Ubuntu 18.04) and Mono version 5.16. Same ecobee results as above. I am now back to my original Odroid with Mono v 5.0.1.1.
                              Anything I can try to help?

                              Comment

                              Working...
                              X