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:
Comparison of sensors, I have moved the sensor data into a menu.
Comparison of scaling, I modified the sliders to scale with the height of the control.
Comparison of hold mode information, changed to more closely match the ecobee interface.
I have moved the HVAC Mode select into its own interface dialog.
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.
Here is the image file to put into conf/html/ecobee for the cancel hold dialog:
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?
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:
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!