Using myopenhab - still OFFLINE?

My OH2 Installation now works relatively stable and I’d like to add the myopenHAB Feature.

So what did I do (I’m the oldfashioned config-file guy):

  1. add misc = openhabcloud to my addons.cfg
  2. signup at
  3. added the openHAB UUID and openHAB UUID
  4. as I don’t know (yet), how to configure the items, I opend PaperUI and added some items to the config in openHAB Cloud
  5. Setting the mode to “notifications & Remote Access”
  6. Base URL for the openHAB Cloud Server: “
  7. in myopenHAB it still says “OFFLINE”.

is there something I missed? and how do I configure myopenHAB in a config file?
sorry, didn’t find much documentation…

There aren’t any mandatory entries in the cfg file.

Do you have a quite recent java version? 1.8.0_101 or later?

Have you confirmed the registration email?

Do you have previously used the old my.openhab service? If so, are there any pieces left (binding, persitence, cfg file)?

Does PaperUI (or Karaf console) show the cloud connector as installed?

And (but maybe just a typo): In point 3, you wrote two times UUID. You need the UUID and the secret.

Hi Stefan,

  1. JAVA Version is recent ```
    [20:31:29] pi@openHABian2:~$ java -version
    java version "1.8.0_121"
    Java™ SE Runtime Environment (build 1.8.0_121-b13)
    Java HotSpot™ Client VM (build 25.121-b13, mixed mode)
2. Registration email is confirmed
3. I didn't use my.openhab before
4. PaperUI shows openHAB Cloud: <img src="//" width="690" height="343">
`208 | Active   |  80 |    | openHAB Cloud Connector Bundle`
5. yeah, was a typo, I have filled in both `UUID` and `Secret`! ;)
UUID was in `/var/lib/openhab2/uuid`
secret was in `/var/lib/openhab2/myopenhab/secret`

I'm using - but no port blocks are live.


Try it with a restart of Openhab?

tried rebooting also.

But! thing was: It was the wrong secret!
the one in /var/lib/openhab2/openhabcloud/secret was the right one!
after restart of OH2, the following was in the log:

2017-01-19 21:38:16.604 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 8a79dc98-1baf-40a4-9f7b-c2fe1edf20aa, base URL = http://localhost:8080)

So: be careful which one to use! :wink: Now I’M ONLINE!!!

1 Like