meingraham
(Michael Ingraham)
October 3, 2018, 7:37pm
1
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
vzorglub
(Vincent Regaud)
October 4, 2018, 6:55am
2
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.
2018-12-06
Implemented a really nice interactive SVG floorplan in BasicUI using SSE, Refactored Injection method so we can use sitemap sub-pages and not lose our injected code on reload etc. Put up some more NodeMCU sensors and shellys around the house, fixed a bunch of stuff, i don’t remember. Gonna commit later today.
[image]
[image]
2018-11-22
fixed some js template code, added 2 new echo dots, shelly fixes, refactored wifi presence code, added 3d printer status through ocotoprint mq…