Default sitemap not picked up by Basic UI

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage RPI 3
    • OS: what OS is used and which version Raspbian 10 Buster
    • Java Runtime Environment: which java platform is used and what version 11.0.9
    • openHAB version: openhab 2
  • Issue of the topic: default sitemap not picked up by Basic UI

So I created a default.sitemap in /etc/openhab2/sitemaps

sitemap default label=“My first sitemap”
{
Switch item=Switch=Bureau label=“Switch Bureau”
}

I have a items file.

The default was added to the BasicUI configuration, according to the tutorial https://www.openhab.org/docs/tutorial/sitemap.html

But BasicUI still says there is none configured.

What am I doing wrong? Everything else seems to work.

Java Runtime Environment: which java platform is used and what version 11.0.9
openHAB version: openhab 2

openHAB 2 requires Java 8, not 11.

I have just installed the java jdk (latest)

sudo apt install default-jdk

should I downgrade to 8?

pi@rpiCloudkey:/etc/openhab2/sitemaps $ java -version
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment (build 11.0.9+11-post-Raspbian-1deb10u1)
OpenJDK Server VM (build 11.0.9+11-post-Raspbian-1deb10u1, mixed mode)

Certainly. openHAB 3 when it is released will use Java 11. For a RPI 3 Zulu Java is strongly recommended.

The easiest way for a Pi is to flash the latest openHABian image. It makes resolving dependencies much simpler and you should not run any other services on a Pi 3 anyway.

OK, I just thought I could run it on the same PI with the Unifi cloudkey in order to save up hardware and consumption, but I’ll set up a new one.

1 Like

Do you by any chance have any idea what the default pasword is for the user pi on Openhabian? Doesn’t seem to be “raspberry”

openhabian:openhabian

1 Like

You can still install unifi cloudkey on openHabian. Basically it is a Raspbian/Debian with some helper thingies for openHAB.

True but the developer, @mstormi strongly recommends against running much, especially on a Pi 3