-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] [mainui] Add Thing as Equipment - Select/deselect all checkbox #377
Comments
Right, been thinking about this one for a while. "Simple mode" is gone with openhab/openhab-core#1385 and probably not coming back. An additional option would be to have the equivalent of simple mode but as a developer tool, you pick one or several things, it will create temporary items and links and display a card to monitor their states. I suspect it would then be used by non-developers to speed up the linking though. |
I suspect a feature-(or I would say a UX-)equivalent of simple mode would be a big miss on the new OH3 UI, and not just for developers! I think a new user should be able to first model its home, then add a binding and be able (with least possible button clicks) to see controls for items generated for those auto-discovered things. I suspect many new OH3 users will fly away if such immediate and simple approach is not offered out of the box in OH3. |
The "non-advanced" channels were once meant to be the ones that users most likely want to have - things with 200+ channels somehow defeat this idea, but let's consider them to not be the norm. Maybe we could add a button to the "Add Thing as Equipment"/"Add Points from Thing" features to create links+items for the non-advanced (=suggested) channels and apply the default naming scheme to them. Ideally the list of channels is editable by the user first (to remove channels or add some advanced ones). The risk I see is that it could create a big number of unused items which simply clutters everything. Maybe we could also reduce such a feature to only channels that have semantic metadata in place, i.e. the ones that will in consequence also turn up on existing pages automatically. |
@ghys and now @kai (you posted as i was typing this) if channels configurations contained default or recommended semantic tags vs the generic categories that they do now, would this help the auto generation of items and widgets? For example, if a Thermostat was able to define that a set point channel is a |
I was thinking exactly the same thing when I read this. I don't know if extending categories or using some other mechanism would be the better approach, but it seems like adding some sort of additional (optional) metadata to the channel definitions to aid in semantic modeling, automatic linking of channels, and UI rendering of controls would be really useful. |
That was the main problem with simple mode, it was fine while you were okay with abstracting away the notions of items and separate physical & functional layers, and then when you realized their value, next to impossible to recover from the mess it created.
That would be a godsend, to be honest. But it's a lot of work to revisit every channel of every thing type (all 2412 of them as it stands now) to add proper semantic tagging... |
Maybe, but i think for many of our most popular bindings, it would not be that hard to modify the channel definition with reasonable semantic tags. My guess is we could really narrow that list down, and anyone with a reasonable understanding of the semantic model could infer the right tags. I think it would be better to start now, and have some shining examples of how it's done right, and let the rest of the bindings follow . I don't have a sense how big the change is on the backend to support this however. |
I agree, and that will help us refine the semantic ontology in the process to handle such common equipments as thermostats or media players, so that the "default widget algorithms" will easily detect those semantic patterns and offer specialized widgets tailored to them. |
I beg to differ... I just was looking over the list of current devices that theoretically could be controlled with the miio binding... the list of smartdevices in the Xiaomi ecosystem is currently >7000. Ranging from indeed obvious things like thermostats, to everything from watercookers, toiletseats, curtains, televisions, oven, fridges, foot bath.... you name it, they have it as smart device. I think it is unlikely OH will ever hold clear semantic tags for all of these properties... However, following the logic suggested, these would not be considered for simple user friendly auto channel creation... |
Another vote for a select all button, as it is often quicker to select all and then untick the ones you don't want. A separate but related suggestion/feedback is that when ticking multiple channels I find it annoying that they expand and move the list down each time a box is ticked. I can not speed click when they do this. Can they not auto expand unless you click on a + icon or similar? At the moment I have been going to the bottom and ticking the boxes from the bottom up as a work around. |
Add `searchbar-ignore` class to link skeletons to prevent the height of the accordion to be initialized at 0px. Should fix openhab#401. Add filters to display only linked or unlinked channels. Closes openhab#395. Hide item linking controls for trigger channels. Closes openhab#390. Add option to select/unselect all checkboxes when in multiple links mode. This will take the linked/unlinked filter into account, and the advanced toggle, but not the name filter. Closes openhab#377. Signed-off-by: Yannick Schaus <github@schaus.net>
Add `searchbar-ignore` class to link skeletons to prevent the height of the accordion to be initialized at 0px. Should fix #401. Add filters to display only linked or unlinked channels. Closes #395. Hide item linking controls for trigger channels. Closes #390. Add option to select/unselect all checkboxes when in multiple links mode. This will take the linked/unlinked filter into account, and the advanced toggle, but not the name filter. Closes #377. Signed-off-by: Yannick Schaus <github@schaus.net>
While developing and testing bindings, the simple mode of paperUI was always very helpful.
In the OH UI quickly testing is a real big pain as there is no simple fast way to create items.
Preference would be to have a similar mode as the good-old simple mode (e.g. triggered by single click) but otherwise improve the 'Add Thing as Equipment' functionality to not have to click each and every channel
The text was updated successfully, but these errors were encountered: