Help with OpenHAB on Ubuntu 16.04

I tried to create i sitemape file by texting in terminal, but i Believe it did now work. Do you know if its possible do download some demo sitemap file with after i tested my open hab i can adjust to my “things”?

Best regards Alan

I hate playing 20 questions. Still unanswered from my original question:

  • what did you put in the file?
  • where did you put it?

Search the forum for sitemap and you will see tons of examples.

But if you don’t know where to put it or the proper syntax that won’t do you much good.

Thanks, I agree.

answerar to q 1)

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
}
}
}

Answear to Q2:

Named default and tryed to put it in etc/openhab2/sitemaps/default.sitemap But was not alowed to save it there.

So my follow up Q is how to I get acees to modify or ad files it this directory?

Thanks Alan