Cloud OFFLINE

Hello!

I know there are quite a few posts about the cloud setup and issue, many of which I read before posting…My cloud connector showed in the logs that it installed properly, I matched the uuid and secret, and there are no issues showing in the logs…but, it won’t go online. All I need it for is remote access, no third party at this time. If it matters…The last time it was connected was over 2 years ago.

What Java version are you on?

Sometimes it takes a bit before it goes online. Has it been over 24 hours?

Yes, its been since friday

What do you have in var/lib/openhab2/config/org/openhab/openhabcloud.config for :org.apache.felix.configadmin.revision ?

:org.apache.felix.configadmin.revision:=L"5"
baseURL=“https://myopenhab.org/
expose=(
“LED_110_Strip”,
)
mode=“remote”
service.pid=“org.openhab.openhabcloud”

Stop OH and remove the expose part and see if OH connects.
Example:

:org.apache.felix.configadmin.revision:=L"5"
baseURL="https://myopenhab.org/"
mode="remote"
service.pid="org.openhab.openhabcloud"

Also from the console use bundle:list command and verify all below and they are active.

299 | Active   |  80 | 1.0.0                 | IO.Socket Engine Client
300 | Active   |  80 | 1.0.0                 | IO.Socket Socket Client
301 | Active   |  80 | 20180813.0.0          | JSON in Java
302 | Active   |  80 | 3.8.1.1               | Apache ServiceMix :: Bundles :: okhttp
303 | Active   |  80 | 1.13.0.1              | Apache ServiceMix :: Bundles :: okio
304 | Active   |  80 | 2.5.0.M4              | openHAB Add-ons :: Bundles :: IO :: openHAB Cloud Connector

?
Is there special for suggesting such change via this file instead of doing that change via PaperUI?

I have made the changes and am letting her restart. Logs say the connector is started.

Cloud is still offline

I like files… :upside_down_face: :laughing:

1 Like

Have you uninstalled the cloud binding, stopped OH, manually removed the current UUID from the file, cleaned the cache, reinstalled the binding and used the new UUID?

Also as @opus mentioned have you checked your Java version?

Yes, I did that before. But now, for some odd reason, upon restart…Cloud connector and rest-docs got uninstalled?!

Im going to try again, I’ll let you know in a few minutes.

You may need to restart a few times before everything starts working correctly again. It usually takes 2-3 restarts…not reboots.

If you can’t get your account online, please verify this suggestion from the documentation:

For best compatibility, namely with the openHAB Cloud service myopenhab.org and the Eclipse IoT Marketplace, the minimum recommended Java 8 revision is “161”. Attention: Most package managers serve an older revision . Check your current Java version by opening a command line console and typing java -version :

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) Client VM (build 25.121-b13, mixed mode)

After second restart:

2020-04-15 11:50:34.291 [thome.event.ExtensionEvent] - Extension ‘misc-ruleengine’ has been uninstalled.

2020-04-15 11:50:36.293 [hingStatusInfoChangedEvent] - ‘ntp:ntp:local’ changed from UNINITIALIZED to INITIALIZING

2020-04-15 11:50:36.544 [hingStatusInfoChangedEvent] - ‘astro:moon:local’ changed from UNINITIALIZED to INITIALIZING

2020-04-15 11:50:36.660 [hingStatusInfoChangedEvent] - ‘astro:moon:local’ changed from INITIALIZING to ONLINE

2020-04-15 11:50:36.689 [hingStatusInfoChangedEvent] - ‘ntp:ntp:local’ changed from INITIALIZING to ONLINE

2020-04-15 11:50:36.821 [vent.ItemStateChangedEvent] - Date changed from NULL to 2020-04-15T11:50:36.642-0400

2020-04-15 11:50:36.824 [vent.ItemStateChangedEvent] - Date changed from 2020-04-15T11:50:36.642-0400 to 2020-04-15T11:50:36.707-0400

2020-04-15 11:50:36.983 [hingStatusInfoChangedEvent] - ‘astro:sun:local’ changed from UNINITIALIZED to INITIALIZING

2020-04-15 11:50:37.019 [hingStatusInfoChangedEvent] - ‘astro:sun:local’ changed from INITIALIZING to ONLINE

2020-04-15 11:50:41.343 [thome.event.ExtensionEvent] - Extension ‘misc-ruleengine’ has been uninstalled.

openjdk version “1.8.0_222”
OpenJDK Runtime Environment (Zulu8.40.0.178-CA-linux_aarch32hf) (build 1.8.0_222-b178)
OpenJDK Client VM (Zulu8.40.0.178-CA-linux_aarch32hf) (build 25.222-b178, mixed mode, Evaluation)

In PaperUI you may want to verify you have the correct info for your location set.

Java version looks good. :+1:

I do. Checked that yesterday.

1 Like