I am a newbie trying to install openhab on my raspberry PI 3. I found few google tutorials none of them are working. I am getting the below mesg
HTTP ERROR 500
Problem accessing /openhab.app. Reason:
Sitemap ‘default’ could not be found
Can someone help me fix this or full step by step installation instructions.
Thanks for the reply. I installed from makeuseof.
Do you recommend installing oh2? If I want to install oh2, do o have to uninstall oh1 first? If so, how do I do that?
If I am keeping oh1, how do I add sitemap?
Sorry for asking too many questions I am new to raspberry and oh.
But again I suggest to read the documentation at docs.openhab.org to understand the idea of OpenHAB. It’s not done with a sitemap. At first, there are things to discover (devices), then you have to create items to get the information of each thing (e. g. the temperature of a sensor). And then you can use these items in your sitemap.
It’s a bit of work, but it’s worth it. Keep fighting through!
I am finally able to install OH2. This is so much easier than command line.
Now I have another question. I have few wemo light switches. How do I add them to my home page. when I go into my home page - http://openhabianpi:8080/basicui/app, I see an empty screen.
I installed the wemo binding and it recognize the switches but they are not on my home page.
An empty screens probably means that you haven’t yet created an individual sitemap. Have you?
A sitemap has to be created in /etc/openhab2/sitemaps. Either using a ssh connection or with the Eclipse Smart Home Designer software. You have to name it according to your definition inside the sitemap. You can have a look at the Wemo binding documentation:
The sitemap there is called “demo” (sitemap demo label=“Main Menu”). So the filename has to be demo.sitemap. This file has to be put into the above mentioned folder.
And you have to create an item file, where you put your item definition in. Again, an example especially for the wemo configuration can be found in the above link. You can create an item file for this (as for the sitemap) and put it in etc/openhab2/items. Or you can use PaperUI to link the channels of the things to the item names.
And again: Take a close look at the documentation at docs.openhab.org. You can find tutorials for Beginner and Demo installations there. Also you can find a user manual there where all these thing/channel/item/sitemap stuff is explained. And it’s explained much better then I could ever do it…
I am finally able to see the switches on home page. I have another problem now. When I turn on/off one switch all the switches turn on/off. Do you know why? How do I turn on/off one switch at a time?Also if I manually on/off the switch status is not updated in the dashboard. What do I have to do to make this happen?
I finally got the switches to work independently. But I still can’t control it outside of wifi(remotely)
I installed the myopenhab binding through paper ui. The instructions ask me to look for 2 files for uid and secret ids. But I don’t see these files. My openHAB says I am offline.
What am I doing wrong? How do I install myopenhab addin and make this to work.
If I can’t connect remotely, this is not really useful for me.
One possible problem: Have you installed the latest java version? There were some changes to my.openhab some time ago and with an older java version my.openhab stayed offline (and AFAIK hasn’t created those two files). But you know where to look for these files?
You can find many informations about the java update (how to check which version you have and how to perform the update) in this thread:
First, you have to make sure that my.openhab.org shows ONLINE when you use it. If that’s the case, the App will work virtually straight away.