Ecobee

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

Can you post a screen snip of the part of your sitemap that shows the thermostat items?

That’s the sitemap source code. The sitemap is rendered by BasicUI.

When rendered in BasicUI, the setpoint widgets will look like this.
http://docs.openhab.org/configuration/sitemaps.html#element-type-setpoint

Read the section on UIs.
http://docs.openhab.org/addons/uis.html

There you go! The heating (Heat) and cooling (Cool) setpoints can be adjusted with the up/down arrows.

Is this the only UI I can use for the thermostat

Of course not. Other popular UIs are:

  • Andoid app
  • IOS app
  • HABpanel.