Don’t forget that if you are using a WKWebView you can interact in both directions from your Cocoa (Swift/Objective - c) code and the javascript of the html.
So in theory you could use an Xcode Search Field (NSSearchField) for user input and a list done in the Xcode app itself that will return the correct rooms by controlling the Scenes.
I wrote an example thread here that shows some interaction. the App controlling scenes and the HTML/js controlling the App.
Some of it maybe out of date now but you should be able to work out whats what. And Xcode will update the project as normal.