This widget links to a Drayton Wiser Room (a group with the same name as the prefix for all the other items for the Drayton Room, e.g. RoomItemID), and any items linked to it. Its setup to allow only a room item to be used, and therefore expects the items to be defined in a certain way.
RoomItemID_CurrentlyRequestingHeat
RoomItemID_Temperature
RoomItemID_SetPoint
RoomItemID_BoostDuration
RoomItemID_BoostRemaining
I tried to avoid having loads of config and instead concatenate the item suffix onto the item room name. This is perfect for any items added via PaperUI as it will use these item IDs by default. I’m open to adding more config to link to individual items if the community thinks this approach is better.
So far we have
the current temperature
a slider to change the setpoint
an icon to show there is heat demand
boost options
boost remaining if boost is on.
I’ll carry on working on this, and most likely add widgets for the controller, hot water and TRVs too.
Drayton Wisor Room Widget Setup guide
Required OpanHab Items and Channels
A named room “Item” with the following Channels, named
Search for things in Paper UI, using the Drayton Wiser binding.
a. Go to “Inbox”
b. Click “Search for things” at the bottomm, and choose the Drayton binding
c. When finished, go to “Inbox” again
d. Add each room it finds as a thing. (Ignore TRVs, etc, unless you want them for something else).
Add group items for the rooms (optional, but good for Paper UI organisation)
a. Go to “Configuration”, then “items”
b. Add a room “Item” for the room. (Type = Group, Base Type = None, Category = - see https://www.openhab.org/docs/configuration/iconsets/classic/)
Add channels and items required by this widget
a. Go to “Configuration”, then “Things”, then click on the room item that has just been created
b. Click on “Temperature”
c. In the “Link Channel” dialog, choose “Create new item”
d. Everything will be filled in, apart from “Dimension”, and optionally “Parent Group”. Choose Temperature for the dimension, and the room item created in step 2 if you want (not required). Click the tick to accept the config
e. Repeat steps 3b to 3d for the following (item’s dimension shown in brackets):- Set Point (temperature), Currently Requesting Heat (N/A), Boost Duration (leave empty), Is Boosted (N/A), Boost Remaining (leave empty)
Configure the HabPanel widget
Choose the icon
Choose the room item you created above
Choose a min and max temperature you want the widget to use
Choose locked, to make the widget read-only, e.g. temparature cannot be changed and it cannot be boosted (good for kids)
Hi - you should be able to use the little settings cog to configure it and choose a room binding (group in PaperUI). It’s important that the other item name match, as per the notes above.
No, I just used a simple switch to do that. However, it probably wouldn’t be too difficult to change my code to do that. Just change the names of the items it’s pointing too.
A bit new to all this.
In the “template”: setting in your json, the tags have loads of formatting built into the long line.
What editor do you use to unravel all those new line and tab tags?
Then also manually putting them back in with a text editor seems quite laborious
I regularly use Notepad++ and Visual Studio Code but haven’t come across a way of doing this?