Skip to content
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

[MainUI] Point "OpenState" is ignored #499

Closed
lolodomo opened this issue Nov 2, 2020 · 7 comments
Closed

[MainUI] Point "OpenState" is ignored #499

lolodomo opened this issue Nov 2, 2020 · 7 comments
Labels
main ui Main UI question Further information is requested

Comments

@lolodomo
Copy link
Contributor

lolodomo commented Nov 2, 2020

I tagged some of my door/window sensors with [ "OpenState", "None" ] .
This kind of point/property is ignored by the Main UI in locations, equipment or properties tabs.

And there is no card "None" in the properties tab.

PS: what would be the appropriate point/property to select for such a door/window state ?

@ghys ghys added question Further information is requested main ui Main UI labels Nov 2, 2020
@ghys
Copy link
Member

ghys commented Nov 2, 2020

There is no "None" property tag in the ontology.
The 4th tab is only to display points which have a related semantic property.
Your best bet is to tag your parent equipment as "Window", then you'll see all your windows in "Equipment".

@ghys ghys closed this as completed Nov 2, 2020
@lolodomo
Copy link
Contributor Author

lolodomo commented Nov 2, 2020

None is proposed in the UI and you can create such an item.
image
If "None" is not valid, why proposing it ?

I also tried earlier to set only [ "OpenState" ] as tag. Is it allowed to have a point without property ?

If I set [ "Status", "Presence" ] on a motion detector, it is correctly handled, even without any equipment. The property is attached to the location.

Is the UI ignoring points without a property ? In this case, what to do when you find no appropriate property in the ontology ... like for representing an opened or closed door/window ?

@lolodomo
Copy link
Contributor Author

lolodomo commented Nov 2, 2020

If you have no property, you need an equipment. Understood.

@ghys
Copy link
Member

ghys commented Nov 2, 2020

It doesn't have to be like this, in fact, but it's just that I saw little value in presenting the types of Points in a tab, having the Properties instead was more interesting. But your case is interesting too, there's no property normally associated with a open/closed state, so you have to go to the Equipment tab to see your windows and their state. The problem, I assume, is that you'll see every other Point related to the window, like the battery level of the sensor attached to them, while you're just interested in whether they're open or closed...

If "None" is not valid, why proposing it ?

None is just the label for "no tag" so your item would be a Point with no related Property, those are not shown separately in the home page. :)

@lolodomo
Copy link
Contributor Author

lolodomo commented Nov 2, 2020

But your case is interesting too, there's no property normally associated with a open/closed state, so you have to go to the Equipment tab to see your windows and their state. The problem, I assume, is that you'll see every other Point related to the window, like the battery level of the sensor attached to them, while you're just interested in whether they're open or closed...

Exactly !

As the open/close is a very standard property, I think we should define a property and add it to the ontology. Just have to find a clear name and it is not obvious ;)

None is just the label for "no tag" so your item would be a Point with no related Property, those are not shown separately in the home page. :)

Ok, fine.

@lolodomo
Copy link
Contributor Author

lolodomo commented Nov 3, 2020

Maybe a generic property "Other" should be added. It would allow to attach any item as property for a location.

@lolodomo
Copy link
Contributor Author

lolodomo commented Nov 3, 2020

I opened openhab/openhab-core#1791.
I thing a new "Opening" property could be the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
main ui Main UI question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants