Ecobee

Can you help me how to setup my ecobee 3 lite? I don’t understand any of the instructions online. Can you send me easy instructions? Or if possible can you remote desktop to my PC and set it up? I would appreciate the help.

I assume you’re referring to these instructions?
http://docs.openhab.org/addons/bindings/ecobee1/readme.html

How far did you get? Were you able to set up a developer account and get an API key?

1 Like

I got the developer account and got the API key. and on openHAB I got the binding installed.

Ok, that’s a good start. The next set of steps is a bit complicated.

I forget if the binding automatically puts the ecobee.cfg file in the services directory. I think it does. Check in the services directory to see if there’s a file named ecobee.cfg.

If the file’s not there, you’ll need to create the file. Use the sample from here as a starting point.
http://docs.openhab.org/addons/bindings/ecobee1/readme.html#example-ecobeecfg

Once you have the ecobee.cfg file, you’ll need to make the following changes to the file.

  • Uncomment the appkey line, and replace the API key with your key
appkey=your-key-goes-here
  • Uncomment the scope line
scope=smartWrite
  • Uncomment the tempscale line if you want your temperatures in Celsius. Otherwise, leave it alone for Fahrenheit.
tempscale=C

Once you’ve done this, you’re on the clock! You have 9 minutes to do the following.

Once you get that done, post back here and I’ll walk you through the remainder.

1 Like

I edited the ecobee.cfg file but I didn’t get anything in the C:\openHAB2\userdata\logs\openhab

Is it possible for you to connect to my PC and do it?

Is it possible for you to connect to my PC and do it?

I would prefer to not do that.

Maybe you need to define some items.

First get the thermostat identifier for your thermostat.

Where can I find my thermostat identifier? A thermostat identifier is a long, decimal number. For ecobee3 users, one way to find the number is to login to your Ecobee portal and read the URL you were taken to in the browser’s address bar: https://www.ecobee.com/consumerportal/index.html#/thermostats/318973256526 The final component of the URL is your thermostat identifier.

Create a file, call it ecobee.items, in the items directory. Start off with something fairly simple, like this. Replace the 123456789012 with the identifier of your thermostat. Then save the file.

DateTime lastModified      "last mod [%1$tH:%1$tM:%1$tS]"   { ecobee="<[123456789012#lastModified]" }
Number actualTemperature   "actual temp [%.1f °F]"          { ecobee="<[123456789012#runtime.actualTemperature]" }
Number actualHumidity      "actual hum [%d %%]"             { ecobee="<[123456789012#runtime.actualHumidity]" }
Number desiredHeat         "desired heat [%.1f °F]"         { ecobee="<[123456789012#runtime.desiredHeat]" }
Number desiredCool         "desired cool [%.1f °F]"         { ecobee="<[123456789012#runtime.desiredCool]" }

Now look in openhab.log for the authorization information.

If this doesn’t work, the next thing would be to restart openHAB.

how do i create .item file

You’re on windows, right. Any Windows text editor will do, even Notepad. I use Notepad++. Make sure the file is in the items directory, and ends with the .items extension.

Thank You very much helping me set this up I got it. Now one last question. Do you know how to setup the Ecobee widget in the HABPanel

Also how do I get it added to the Paper UI?

Glad you got it working!

Unfortunately, I’m probably not the best one to ask about HABpanel.

There’s a thread here, which has a HABpanel widget. You also could get some help with the setup by posting in the thread.

Since the Ecobee binding is an openHAB 1 binding, it doesn’t show up in Paper UI.

So is there anyway to control thee thermostat with openHAB?

Certainly!

You can add it to your sitemap. See the example here. Note that you might need to add a few more items to your items file to match what’s in the sitemap.
http://docs.openhab.org/addons/bindings/ecobee1/readme.html#ecobeesitemap

You can also control it with rules, as described in this example.
http://docs.openhab.org/addons/bindings/ecobee1/readme.html#ecobeerules

I’d suggest you get it running in your sitemap before messing with rules.

where do i paste the sitemap

It’s a text file with the extension .sitemap in the sitemaps directory, as described here.
http://docs.openhab.org/configuration/sitemaps.html

I got the sitemap now how do I control it?

The Setpoint elements of the sitemap should give you buttons to increase and decrease the heating and cooling setpoints.

cant find the buttons

1 Like