BasicUI Browser Render Desktop vs. Mobile

Is it possible in openHAB to detect the device type that the UI is being rendered on? I want to be able to set Visibility on some Sitemap elements based on whether it’s being rendered on a PC desktop or on a mobile device (phone or tablet).

Thanks.

Mike

That may be possible with HABPanel with some suitable device/browser detection js scripting.
But not with the Classic and Basic UIs.

Have a look at this guys work, may have something useful.