Plugin will work on UI7 as well though I see no specific reason to not use the Appstore Released version which does not require your own developer's account. Note: As of 10/24/2018 no version prior to V2.1 will connect to the ecobee API. Please upgrade to V2.1 or above.
- Added services to control mode in scene editor. Thanks rigpapa
- Changed Icon location to be compatible with FW 7.30. Icons must now be located under /www/cmh/skins/default/icons
- Improved connectivity resilience.
- Implemented TLS v1.2 to support updates to the ecobee API from 10/23/18
- Implemented API Key Retention: If connection is lost, clicking the getpin button even without the API key field will get you a new pin if you have previously been connected.
- Split out Implemetation xml logic into L_Ecobee1.lua file
- Integrated encrypted API file communication into main Lua file
- Cosmetic refactoring with icons and layout for the main Ecobee device and Housemode device
- Localized icons to reduce browser network traffic
- Eliminated use of compressed json decoder
- Cosmetic adjustments for UI7 Housemode
-
Download the content of this repository
-
Make sure your Openluup/lua library supports https. For this You can go to the Misc/OsCommand tab under Altui and install LUASEC using this command "luarocks install luasec". This assumes that you also have luarocks installed. Follow the instructions here: https://github.com/luarocks/luarocks/wiki/Download
For openLuup:
- Copy the content of the icons folder into the /#your Openluup folder#/icons.
- Copy the content of the repo into /#your Openluup folder#
For UI7:
- Copy the content of the repo except the icon folder into the /etc/cmh-ludl folder
- Copy the icon folder in the /www/cmh/skins/default/
Then if this is a new installation (not needed for upgrade):
-
Create a new device in ALTUI using the D_Ecobee1.xml and I_Ecobee1.xml as your device files
-
Now you need to create an ecobee developer account:
- Go to https://www.ecobee.com/developers/
- Login with your ecobee credentials.
- Accept the SDK agreement.
- Fill in the fields.
- Click save.
-
Create an API Key:
- Login to the regular consumer portal, and in the main options menu there will be a new option Developer.
- Select the Developer option.
- Select Create New.
- Give your app a name (i.e Openluup)
- For Authorization method select ecobee PIN.
- You don’t need an Application Icon or Detailed Description.
- Click Create.
- Copy the API Key provided
-
Establish Link between API and Openluup
- Paste the API key above into the API key field of the Ecobee device in Openluup and click "get pin"
- Use the pin obtained to create a new
Please see reference documentation here.