hello everyone. i have installed openhab2 on my laptop and connected to mqtt. now i want make simple light switch which i created in homebuilder. now i don’t know where to pest created site map. please help. thanks…
File locations Linux:
https://docs.openhab.org/installation/linux.html#file-locations
File locations Windows:
https://docs.openhab.org/installation/windows.html#file-locations
basic ui not showing created sitemap. i created sitemap then made a text document named “demo.sitemap” in “desktop/openhab-2.2.0/conf/sitemaps” folder pest the sitemap in that document. still not getting output.
Read through this tutorial how to setup mqtt properly:
already configured mqtt as per the given tutorial and working fine. dont know how to make simple on off button. tried to use homebuilder and created sitemap then made a text document named “demo.sitemap” in “desktop/openhab-2.2.0/conf/sitemaps” folder pest the sitemap in that document. still not getting output in Basic UI. using simple demo code given below.
sitemap demo label=“My home automation” {
Frame label=“Date” {
Text item=Date
}
Frame label=“Demo” {
Switch item=Lights icon="light"
Text item=LR_Temperature label="Livingroom [%.1f °C]"
Group item=Heating
Text item=LR_Multimedia_Summary label=“Multimedia [%s]” icon=“video” {
Selection item=LR_TV_Channel mappings=[0=“off”, 1=“DasErste”, 2=“BBC One”, 3=“Cartoon Network”]
Slider item=LR_TV_Volume
}
}
}
please help me to solve this problem thanks.
Want to make this project. " https://www.youtube.com/watch?v=S6ElHdadrhA " understood the node muc program but dident know how to make button.
Sorry, I don’t intend to watch a 6 minutes video to find out what you want to do …
at lest tell me how to create simple on off demo button.
items file:
Switch TestButton "Test Button"
https://docs.openhab.org/configuration/items.html#type
sitemap file:
Switch item=TestButton
https://docs.openhab.org/configuration/sitemaps.html#element-type-switch