We have moved at community.getvera.com

Author Topic: Plug-in for ecobee thermostats in development  (Read 231083 times)

Offline charettepa

  • Sr. Member
  • ****
  • Posts: 314
  • Karma: +5/-0
Re: Plug-in for ecobee thermostats in development
« Reply #750 on: October 25, 2018, 02:54:48 pm »
you fixed it in HASS or in Vera

Was Watou correct in that it needs to be TLS 1.2?

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Plug-in for ecobee thermostats in development
« Reply #751 on: October 25, 2018, 02:58:50 pm »
Fixed it on openLuup... I can probably do the same on hass after this. I am not sure what version of TLS the vera can support but I think it should support it too.

Try this https://github.com/rafale77/vera-ecobee/tree/2.1

I updated it on the AltAppStore too. Use version 2.1.
« Last Edit: October 25, 2018, 03:12:11 pm by rafale77 »
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline watou

  • Community Beta
  • Hero Member
  • ******
  • Posts: 889
  • Karma: +44/-12
Re: Plug-in for ecobee thermostats in development
« Reply #752 on: October 25, 2018, 03:11:14 pm »
Fixed it on openLuup... I can probably do the same on hass after this. I am not what version of TLS the vera can support but I think it should support it too.

Try this https://github.com/rafale77/vera-ecobee/tree/2.1

Great!  rafale77, can you supply the L_ecobee.lua file I supplied you to someone with the tlsv1_2 change and a working client ID, so they can use that in place of the encrypted file on their Vera, so that it can be determined empirically if tlsv1_2 works on Vera?  If I get word that the apps.mios.com plugin version should be changed in this way based on a proper observation, I will update the plugin on apps.mios.com (or at least try to) with that one-line change, and a bumped version number.

Otherwise Ecobee will have to revert their supported SSL versions change, or users of that version of the plugin will have to abandon it.

watou

Offline niharmehta

  • Sr. Member
  • ****
  • Posts: 377
  • Karma: +17/-0
Re: Plug-in for ecobee thermostats in development
« Reply #753 on: October 25, 2018, 03:18:21 pm »
I am happy to test by manually changing that file.     If we abandon the app store version, would the @rafale77 version work if manually installed without AltUI or OpenLuup.
2x VeraLite; 2xTrane Tstats; 45 x Switches/Dimmers/Appliance Modules; 4x Everspring Water Sensors; DSC Integration; 2 x Zwave Door Locks; 1x Ted5K; 1x Rainforest Eagle; Onkyo AVR; 6x Squeezebox;

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Plug-in for ecobee thermostats in development
« Reply #754 on: October 25, 2018, 03:26:27 pm »
Fixed it on openLuup... I can probably do the same on hass after this. I am not what version of TLS the vera can support but I think it should support it too.

Try this https://github.com/rafale77/vera-ecobee/tree/2.1

Great!  rafale77, can you supply the L_ecobee.lua file I supplied you to someone with the tlsv1_2 change and a working client ID, so they can use that in place of the encrypted file on their Vera, so that it can be determined empirically if tlsv1_2 works on Vera?  If I get word that the apps.mios.com plugin version should be changed in this way based on a proper observation, I will update the plugin on apps.mios.com (or at least try to) with that one-line change, and a bumped version number.

Otherwise Ecobee will have to revert their supported SSL versions change, or users of that version of the plugin will have to abandon it.

watou

Can I email it to you so you can re-encode it and use your user code? This would minimize the changes needed to test. Otherwise one could just use the one I released which requires creating a developer account on Ecobee.com and generate a key.

I am happy to test by manually changing that file.     If we abandon the app store version, would the @rafale77 version work if manually installed without AltUI or OpenLuup.

My fork works fine on UI7. If you don't have ALTUI or openluup, you just have to download all the files from the git report and upload them to your vera /etc/cmh-ludl folder or by pulling them into the apps/advanced/apps file upload. Right now I just don't know whether the vera supports the TLS protocol by default.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline charettepa

  • Sr. Member
  • ****
  • Posts: 314
  • Karma: +5/-0
Re: Plug-in for ecobee thermostats in development
« Reply #755 on: October 25, 2018, 03:48:30 pm »
i dont mind testing but i dont have altui
if i install alt ui, can i use it alongside the default ui
or will it replace it

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Plug-in for ecobee thermostats in development
« Reply #756 on: October 25, 2018, 03:50:27 pm »
ALTUI is a plugin within the main UI .. so no it doesn't replace it. You need to call a different port to get to ALTUI.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline charettepa

  • Sr. Member
  • ****
  • Posts: 314
  • Karma: +5/-0
Re: Plug-in for ecobee thermostats in development
« Reply #757 on: October 25, 2018, 03:55:33 pm »
i have installed alt ui

can the 2.1 app from the altui appstore be installed without interfering with the one from vera app store
will it co-exist or replace
« Last Edit: October 25, 2018, 04:24:32 pm by charettepa »

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Plug-in for ecobee thermostats in development
« Reply #758 on: October 25, 2018, 04:21:52 pm »
i will try to install ALTUI when i get home.
what is the port #

does it add much load to the vera controller

You probably want to check out the ALTUI section of the forum. There is actually a link from the UI7 device to get you to the ALTUI screen. Otherwise the URL should be

http://*Vera.IP*/port_3480/data_request?id=lr_ALTUI_Handler&command=home.

I don't think it adds much load to the vera.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline charettepa

  • Sr. Member
  • ****
  • Posts: 314
  • Karma: +5/-0
Re: Plug-in for ecobee thermostats in development
« Reply #759 on: October 25, 2018, 04:44:45 pm »
im already installed and in the gui
can i install the alt ui ecobee plugin without causing issue to the watou version
will they coexist

i tried installing an item from the alt app store
it just says faliure

now if i click the vera bubble instead of alt it works
but then i am geting the mios store version am i not?

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Plug-in for ecobee thermostats in development
« Reply #760 on: October 25, 2018, 05:01:16 pm »
Are you sure you picked version 2.1?

This would be odd. Short of it can you try downloading the files from GitHub and uploading them on the vera?
I might have messed something up on the AltAppstore.

The files will overwrite the original plugin files.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline charettepa

  • Sr. Member
  • ****
  • Posts: 314
  • Karma: +5/-0
Re: Plug-in for ecobee thermostats in development
« Reply #761 on: October 25, 2018, 05:03:34 pm »
the failed happens for any app when i click alt but works when i click vera

if i get it to function
when it over writes the files
will i lose my config

ie. device number, room placement
i have several other items that depend on the existing items and their device #s

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Plug-in for ecobee thermostats in development
« Reply #762 on: October 25, 2018, 05:11:30 pm »
the failed happens for any app when i click alt but works when i click vera

if i get it to function
when it over writes the files
will i lose my config

ie. device number, room placement
i have several other items that depend on the existing items and their device #s

No you won't lose your device configs. If you had installed the plugin as a new plugin then yes, it would have created new devices. If you just replace your existing files and reload the luup engine, it won't.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.

Offline charettepa

  • Sr. Member
  • ****
  • Posts: 314
  • Karma: +5/-0
Re: Plug-in for ecobee thermostats in development
« Reply #763 on: October 25, 2018, 05:38:51 pm »
unfortunately the alt app store is not working for any app when clicking alt

if you have any ideas, im willing to try


Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1749
  • Karma: +101/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Plug-in for ecobee thermostats in development
« Reply #764 on: October 25, 2018, 05:44:55 pm »
unfortunately the alt app store is not working for any app when clicking alt

if you have any ideas, im willing to try

Try downloading from GitHub and install drag the files (json, Lua, xml only) into your vera UI Apps/develop apps/ luup files screen and click upload.

The rest of the instructions are on the Github readme as you will need to setup an ecobee dev account.
openLuup (79 devices, 141 scenes, 19 apps) master to VeraPlus (142 zwave nodes, 8 Zigbee nodes, 221 devices,  20 scenes , 2 apps) +  Hubitat (15 Zigbee nodes) + Home-Assistant (API Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and mios server independent.