SzilagyiR
(Szilagyi R)
May 11, 2017, 6:45am
1
Hi!
I followed the offical instruction .
I install OpenHab cloud service and configure it, after I register on myopenhab.org , and I add UUID and Secret.
But still got this message:
Your openHAB is not online. Please check if your installation is running or recheck the openHAB settings in your account.
Can someone help?
misken
(Melvin Isken)
May 11, 2017, 7:32am
2
It’s likely that your Java Version is not up to date. Check here for example:
Hi guys,
today I noticed that my (previously working perfect) remote connection of my iOS app with my.openhab doesn't work anymore. Local mode is working.
Interestingly, when I send a notification message through my.openhab, this message is delivered correctly to the device (even in remote mode). But the sitemap simply doesn't show up and I get an "Error: connection timed out". My.openhab.org also shows "Online".
And for the records: It has worked yesterday and I didn't make any changes to…
There are a couple of other threads dealing with the topic, just use the search function or google
SzilagyiR
(Szilagyi R)
May 11, 2017, 9:33am
3
Thaks for the help, the java version caused the problem!
Update process:
sudo su
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
exit
Veagau
(Veagau)
December 28, 2017, 1:07pm
4
Is it suitable for raspberry pi?
opus
(Jürgen Baginski)
December 28, 2017, 1:41pm
5
Should be, however what Raspi are you using and what OS? If the OS would be openHABian, there would be no need for an Java update!
Veagau
(Veagau)
December 28, 2017, 1:46pm
6
The Raspi’s OS is Raspbian and my java -version is 1.8.0_65, so I think that it is necessary to update the java.
Veagau
(Veagau)
December 28, 2017, 3:34pm
7
I have solved the problem by updating the java.
Thank you.
Here are my steps:
sudo apt-get install dirmngr
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com EEA14886
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
sudo apt-get update
sudo apt-get install oracle-java8-installer
2 Likes
yfaway
(YF)
July 25, 2018, 3:01am
8
For Veagau’s step 3, you need to put the two lines into a file in /etc/apt/sources.list.d.
E.g.:
$ sudo vim /etc/apt/sources.list.d/ubuntu-java.list
and paste the two lines
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
Then follow step 4 and 5.
See https://askubuntu.com/questions/233064/why-am-i-getting-command-deb-not-found/233069 for additional info.