I installed Openhabian (Openhab 2.1.0) on my Raspberry Pi and I able to connect to “http://openhabianpi:8080”.
However I cannot access it via myopenhab.org, I got this message:
“Your openHAB is not online. Please check if your installation is running or recheck the openHAB settings in your account.”
I already checked my version of Java which looks good: “1.8.0.0_144”
I installed the “openHab Cloud Connector” add-ons
I configured the openHab Cloud service by specifying “https://myopenhab.org/” as openHab Cloud server
I rebooted Openhabian, but i still cannot access it via myopenhab.org… What can I do to fix it?
Edit: Maybe i’m wrong. The last time i installed openHAB i already had myopenhab configured, so i needed to put these ids into my new local instance. But if you configured it in a single step, it may not be necessary. Just check if the values match.
Edit2: i just checked, i also forwarded port 8080 from my router to openhabianpi. Not sure if this was needed for myopenhab.org or the amazon echo stuff.
I am not sure to catch you… I have access to openhabianpi:8080, but when I try to access via myopenhab is showing that openhab is offline. I checked the openhab.log, I got some errors like this one:
2017-08-17 18:07:25.059 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: not authorized 2017-08-18 11:56:34.533 [ERROR] [t.mqtt.internal.MqttBrokerConnection] - MQTT connection to broker was lost Connection lost (32109) - java.io.EOFException at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:146)[184:org.openhab.io.transport.mqtt:1.10.0] at java.lang.Thread.run(Thread.java:748)[:1.8.0_144] Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:267)[:1.8.0_144] at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:65)[184:org.openhab.io.transport.mqtt:1.10.0] at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:107)[184:org.openhab.io.transport.mqtt:1.10.0] ... 1 more 2017-08-18 11:56:34.881 [ERROR] [t.mqtt.internal.MqttBrokerConnection] - MQTT connection to 'mosquitto' was lost: Connection lost : ReasonCode 32109 : Cause : null
But mosquitto is running well…
Edit: I already got the uuid/secret from the files in the /var/lib/openhab2/uuid and /var/lib/openhab2/openhabcloud/secret folders and pasted them into my my.openhab account.
Thanks Sihui for your answer, but I already followed the official docs (twice) step by step and it is still not working… Also I didn’t forget to acknowledge the verification email.
The steps needed are:
recent java
cloud connector installed
myopenhab account
valid UUID and SECRET put into your myopenhab account
verify the cloud connector is online through https://myopenhab.org/
If THAT is the case your myopenhab account does not have a valid setup. This step does not require the cloud connector installed at all. Even with no or not correctly configured UUID and SECRET you should be able to access that page …
Thanks Sihui for your answer, I tried again with a new SD card but it’s still not working… I can access the “myopenhab.org” page but it is showing that my openhab is not online… I followed the following steps with this new SD card:
Thanks for your help! It was not working so far, so I tried to update different libraries (java and others) and finally it works I do not think these libraries were required, so I do not know what was the error but now it is working
Hi Marine, I’ve the same problem as you had. Could you tell me how did you solve it?. I have update java, set a new account, but I don’t know how to follow. I’m lost
Hi Marine,
Could you please share with us what libraries you updated and to which versions?
I have the exacte same problem as you had. I am using openhabian and set up myopenhab as described in the documentation.
I have the default java installation that comes with openhabian