My.openhab: openHAB is Offline

Hi,

I am having a problem with the connection between my openHAB and my.openhab.
I installed openHAB v. 1.8.3 on Raspberry Pi2, with HABmin and mqtt.
Used the apt-get installation method. Java SE RE is version 1.8.0_65 (the default from Raspbian Jessie).

Installed Z-Wave USB stick with a Fibaro Wall Plug, and created a test site with items. Works like a charm! Also from the ios app.

Tried to setup my.openhab. Installed my.openhab addon, found Secret en UUID, from the /usr/share/openhab/webapps directory and created an account on my.openhab.org.
Copied and pasted the Secret and UUID over to my.openhab.org.
Created /etc/openhab/configurations/persistence/myopenhab.persist with the following content:

// persistence strategies have a name and a definition and are referred to in the “Items” section
// myopenhab.persist
Strategies {
default = everyChange
}
Items {
* : strategy = everyChange
}

In openhab.log I noticed these these msgs, which concerns me, in particular ‘config is null’:

2016-08-03 17:32:07.093 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - config is null
2016-08-03 17:32:07.097 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - UUID file found at
’/usr/share/openhab/webapps/static/uuid’ with content ‘120d6973-7299-4127-b16c-95e5bd1fc203’
2016-08-03 17:32:07.099 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - Secret file already exists at
’/usr/share/openhab/webapps/static/secret’ with content ‘JDmn26ImaMeDEKYxZste’
2016-08-03 17:32:07.101 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - UUID = 120d6973-7299-4127-b16c-95e5bd1fc203, secret = JDmn26ImaMeDEKYxZste
2016-08-03 17:32:07.110 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - store(All), state = Undefined
2016-08-03 17:32:07.152 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - store(GF_Corridor), state = Undefined
2016-08-03 17:32:07.164 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - UUID file found at
’/usr/share/openhab/webapps/static/uuid’ with content ‘120d6973-7299-4127-b16c-95e5bd1fc203’
2016-08-03 17:32:07.166 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - Secret file already exists at
’/usr/share/openhab/webapps/static/secret’ with content ‘JDmn26ImaMeDEKYxZste’
2016-08-03 17:32:07.169 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl] - Version file found at
’/usr/share/openhab/webapps/static/version’ with content ‘1.8.3’

Searched the forum, but could not find an item describing this. Hope someone can help me
with this issue.

Kind regards, Bert

It maybe will not solve your whole problem, but at first you should update java/install the newest version. See this thread:

https://community.openhab.org/t/my-openhab-org-is-online-but-ios-app-doesnt-show-sitemap-in-remote-mode/12858

Since they use a new certificate for my.openhab since yesterday, old java versions do not support this certificate anymore.

If you are german, you can find a possible helpful tutorial for my.openhab installation here:

https://klenzel.de/3687

Or an english tutorial (scroll further down):

http://www.makeuseof.com/tag/getting-started-openhab-home-automation-raspberry-pi/

In this tutorial it’s mentioned that Raspbian Jessie comes with JRE 1.8, but it’s not set as default. Maybe this already is the problem?

2 Likes

Hi Stefan,
That did the trick. in my.openhab.org ny openHAB site is now Online.
Thanks for your tutorial on your site. I might need it still.
Having the next problem, I do not see any devices:
No Devices
You currently have no devices registered with my.openHAB.

So i have to search further.
And your German language tutorial is no problem for me, i live in Die Niederlande. Ich kann ziemlich Deutsch lesen.

Vielen Dank fĂźr Ihre Antwort
Grüße, Bert

Bert,
Could you explain what did the trick?
I am new to this and I am not sure how to send a notification message through my.openhab.

Thanks,

1 Like

Thanks Stefan, your german version did the trick. If only more people would mention openhab needs a restart.oddly though your restart command did not work, so i just restarted my raspi.
Thanks, hope that was the last hurdle for a while

Yes, updating java helps.