openhab / org.openhab.ui.habpanel

OUTDATED repo - HABPanel has moved to the openhab-webui repo!
https://github.com/openhab/openhab-webui
Eclipse Public License 1.0
96 stars 92 forks source link

Don't forward smarthome events to rootScope #317

Closed ghys closed 6 years ago

ghys commented 6 years ago

Only allow custom events (i.e. those whose topic doesn't start with "smarthome") to be emitted on the root scope. This prevents flooding and a potential performance hit for users who don't need this feature.

Related to #315.

Signed-off-by: Yannick Schaus habpanel@schaus.net

hww3 commented 6 years ago

"smarthome" is the designated prefix for events generated in openhab, so filtering out events that have that prefix will prevent any from being passed.