You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the discussion of #4550@kaikreuzer argued that using RegEx is not typically used in "the web".
However openHAB API users already know how to use a RegexFilter when requesting item metadata.
I know it seems the world is getting dumber every day but I don't think that applies to the openHAB users who are obviously the most brilliant and intelligent individuals and thus exempt from the general cognitive decline.
[In case you are already getting your pitchforks and torches ready: this is a joke]
How can it be that in a simple api endpoint regex is not too complicated yet when setting up a websocket filter which is a magnitude harder regex suddenly is too difficult. It just doesn't make any sense.
In #3764 another user explicitly requested a regex filter which was conveniently ignored.
The migration argument when switching over from SSE is void because currently there is already a filter mechanism which does apply to the event type. Websockets exist since some time so any possible migration would have already been done long ago.
Additionally if the filter is set up wrong it will not return any event so it's immediately clear that there is an issue and thus it's not possible to make an error unnoticed.
There is also a clear and easy migration path which can easily added to the docs: replace * with .*
It's very strange and misleading that there is a custom openHAB implementation to filter topics.
I was already confused and assumed that the * wildcard will only match one level in the topic, yet it matches anything.
Please either directly expose the regex or adhere to a topic filtering standard (e.g. the topic filtering used MQTT).
The text was updated successfully, but these errors were encountered:
During the discussion of #4550 @kaikreuzer argued that using RegEx is not typically used in "the web".
However openHAB API users already know how to use a RegexFilter when requesting item metadata.
I know it seems the world is getting dumber every day but I don't think that applies to the openHAB users who are obviously the most brilliant and intelligent individuals and thus exempt from the general cognitive decline.
[In case you are already getting your pitchforks and torches ready: this is a joke]
How can it be that in a simple api endpoint regex is not too complicated yet when setting up a websocket filter which is a magnitude harder regex suddenly is too difficult. It just doesn't make any sense.
In #3764 another user explicitly requested a regex filter which was conveniently ignored.
The migration argument when switching over from SSE is void because currently there is already a filter mechanism which does apply to the event type. Websockets exist since some time so any possible migration would have already been done long ago.
Additionally if the filter is set up wrong it will not return any event so it's immediately clear that there is an issue and thus it's not possible to make an error unnoticed.
There is also a clear and easy migration path which can easily added to the docs: replace
*
with.*
It's very strange and misleading that there is a custom openHAB implementation to filter topics.
I was already confused and assumed that the
*
wildcard will only match one level in the topic, yet it matches anything.Please either directly expose the regex or adhere to a topic filtering standard (e.g. the topic filtering used MQTT).
The text was updated successfully, but these errors were encountered: