Basic UI Can't find Sitemap - OpenHabian: SOLVED

I’ve put together a simple sitemap:

sitemap our-home label=“Our Home”
Dimmer item=FF_Living_Light label=“Light”

And I have it sitting in the home/openhabian/sitemaps directory (where the original yo program put it). I have an items file in home/openhabian/items defining the dimmer light:

Dimmer FF_Living_Light “Light” (FF_Living, Lights) { channel=“zwave:device:3fa2d1ea:node5:switch_dimmer” }

I’ve set the default sitemap field in Paper UI to our-home, but when I got into Basic UI, I get the error message:

“It seems like you have not defined any sitemaps yet. To build one, please check the documentation for guidance.”

In the tutorial, the sitemap path is listed as $OPENHAB_CONF/sitemaps, but there is no such directory under the OpenHabian configuration.

Am I getting the error because the program is looking for the $OPENHAB_CONF/sitemaps path, or is it something else? Thanks ahead!

I assume your running openHAB on a Pi with openHabian? Then I’m afraid, there was some error while installing it, because with openHABian there’s definitely another file structure…

/home/openhabian is empty (except the Linux files)
all configuration is
/etc/openhab2/... (html,icons,items,persistance,rules,scripts,services,sitemaps,sounds,things,transform)

Did you do much with your Installation already? If not, you should try to install openHABian again (v1.4?)

binderth, yes, I am running on a Raspberry Pi 2 with openHabian. I wasn’t having a lot of luck with the other Linux distribution I was using, so I installed a fresh openHabian on a new SD card. I don’t have a lot setup, and I’m still trying to learn the system, so I could conceivably reinstall.

that would be the best solution at this Point. So you get a clean fresh install (you can still backup your configuration files and copy them later at the right Location).

binderth, I just did a fresh install and re-enrolled my bindings and things. I built new items and sitemaps files using very basic parameters below at directory /etc/openhab2/items and /etc/openhab2/sitemaps:

Dimmer FF_LivingRoom_Lights “Living Room Lights” { channel=“zwave:device:80457dfb:node5:switch_dimmer” }

sitemap our-home label=“Our Home”
Dimmer item=FF_LivingRoom_Lights label=“Lights”

I set the Basic UI to point to “our-home” sitemap.

Same problem as before. Any other suggestions? Thanks!

Remove the “-” from your sitemap name.
=> ourhome

That one - and please have a look on your openhab.log located in /var/log/openhab2/ the should be a error message on this


Please have a look at the sitemaps docs as well. “Dimmer” is not a sitemap element. Use either Selection, Slider or Setpoint.


binderth, I checked the log and see:

2017-12-23 20:52:34.006 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘our-home.sitemap’ has errors, therefore ignoring it: [1,12]: mismatched input ‘-’ expecting ‘{’

So it does look like the dash might be an issue. I’ll removed and try again. Thanks!

Joachim, I’ll make the change and try again. Thanks!

Thomas and Joachim, your edits did the trick! Thanks! Nice to have some silverbacks around here to lean on! So much to learn…