Mappings for switches in HABmin


Im trying to set up sitemap for HABmin.
When i add “Switch item=light_office_table” to .sitemap l cannot control the light from web. It doesn’t turn on or off. It works from Android app. When i add mappings “Switch item=light_office_table mappings=[“ON”=“ON”,“OFF”=“OFF”]” i can switch light on and off, but switch slider turns to dropdown menu. Am i doing something wrong. Im using snapshot version of OH2.


Sitemaps do not work with Habmin. You need ClassicUI or BasicUI to see your sitemap through the web interface. Habmin, as the name implies, is intended to be an administration UI. Sitemaps are for users.