Custom Widget: Ecobee thermostat

Hi @Signal11 I have an updated version of the widget that will allow multiple remote sensors.

Ecobee.widget.json (16.5 KB)

All you have to do is add more items under the gRemoteSensors group just as you already have and it will work.

Group gRemoteSensors (All)

/* remote sensor named Office connected to an ecobee3 with ID 123456789012 */
Number ecobee_office_temperature "Office [%.1f °F]" (gRemoteSensors) { ecobee="<[123456789012#remoteSensors(Office).capability(temperature).value]" }
Switch ecobee_office_occupancy "Ecobee Office Occupied [%s]"           (gRemoteSensors) { ecobee="<[123456789012#remoteSensors(Office).capability(occupancy).value]" }
Number ecobee_bedroom_temperature "Bedroom [%.1f °F]" (gRemoteSensors) { ecobee="<[123456789012#remoteSensors(Bedroom).capability(temperature).value]" }
Switch ecobee_bedroom_occupancy "Ecobee Bedroom Occupied [%s]"           (gRemoteSensors) { ecobee="<[123456789012#remoteSensors(Bedroom).capability(occupancy).value]" }

Note, for some reason I can’t get the item’s state presentation so the line displayed will be a combination of the temperature items name and the actual temperature

Also I fixed the significant digits for °C when holding.

I have been working on learning OpenHAB and this is my first widget. I worked off of the existing one and this is what I have come up with. I will post all code for reference as well. Try it out and let me know what you think.

It uses the same rule file as the existing widget and the same item names as well. With the addition of the ecobee_name item and some internal widget settings that have to be made prior to the control rendering correctly.

This is a comparison of the off Mode:
EcobeeOff

Comparison of sensors, I have moved the sensor data into a menu.
EcobeeSensors

Comparison of scaling, I modified the sliders to scale with the height of the control.
EcobeeScaling

Comparison of hold mode information, changed to more closely match the ecobee interface.
EcobeeHold

I have moved the HVAC Mode select into its own interface dialog.
EcobeeHVACSelect

Comparison of Auto mode, I combined the two sliders to overlap and use the floor and ceiling variables for each of the cooling and heating sliders.
EcobeeAutoHVAC

Here is the image file to put into conf/html/ecobee for the cancel hold dialog:
cancel

Here is the JSON file for the widget to import.
Ecobee3.widget (1).json (16.0 KB)

2 Likes

This looks great.
I haven’t switched to it yet because I want the remote sensors visible all the time myself, I’ll (hopefully) make a separate widget for sensors when I have a chance so I can upgrade to this.

@Signal11 had previously mentioned he won’t be getting around quickly to update the widget, maybe best for you to fork this into a new thread and post your alternate version so people can use it through the widget gallery?

Change made to widget: option to show sensor data on the main panel.

Ecobee3.widget.json (16.8 KB)

I will fork this version to a new thread once I have all the files compiled.

Is there anyone who has the icons for this widget? The download link no longer works.

Thanks!

I have an updated version of @Signal11’s widget I made that uses the same resources right now. You can try and grab mine or use my version of the widget instead:

1 Like

Thanks! I had actually found the fork shortly after I made this post, hence me trying to delete it. Didn’t realize it would take 4 days to delete. I’ll leave it up so others can see where to go. Thanks for maintaining the widget!