|
Post by papa on Jan 30, 2017 18:59:20 GMT
Until recently, I believe, I had remote access to my OpenHAB User Interface via www.my.openhab.org. This past weekend when I attempted that, I got a certificate error then just a hanging load. I went to www.my.openhab.org & discovered their cloud has moved to a new site called www.myopenhab.org (no period after "my"). This requires a new registration, a new addon, etc. I'll work my way through the changes, documenting them in this thread & in relevant places in my other threads. Of course, having remote access to the computer hosting openHAB is necessary. =============== Stop OpenHAB running. In openhab.cfg, I did not see any old my.openhab.org stuff to disable. I removed org.openhab.io.myopenhab-1.8.3.jar from addons folder & parked it elsewhere
|
|
|
Post by papa on Jan 30, 2017 19:00:01 GMT
Documentation for using OpenHAB cloud with OpenHAB 2 is here. Since I use OpenHAB 1 ... Documentation for using OpenHAB cloud with OpenHAB 1 is here. Below I summarize that plus other things I learned: We need to be ready to register our UUID and secret for the NEW openHAB Cloud service. Find that info in the your openhab/webapps/static folder Download org.openhab.io.openhabcloud_1.9.0.201612192331.jar to your \openhab\addons folder ^^ Download link added 2/6/2017 It's part of an upcoming 1.9.x version, but works with 1.8.x In openhab.cfg file, just before Binding configurations, I added the following: ( At first, I left the lines as is & did not edit them) ############################## openHAB Cloud Connector #############################
# The URL of the openHAB Cloud service to connect to. # Optional, default is set to the service offered by the openHAB Foundation # (https://myopenhab.org/) #openhabcloud:baseURL=
# Local port that the openHAB runtime is available through HTTP. # Optional, default is 8080 #openhabcloud:localPort=
# Defines the mode in which you want to operate the connector. # Possible values are: # - notification: Only push notifications are enabled, no remote access is allowed. # - remote: Push notifications and remote access are enabled. # Optional, default is 'remote'. #openhabcloud:mode=
# A comma-separated list of items to be exposed to external services like IFTTT. # Events of those items are pushed to the openHAB Cloud and commands received for # these items from the openHAB Cloud service are accepted and sent to the local bus. # Optional, default is an empty list. #openhabcloud:expose= Save openhab.cfg
|
|
|
Post by papa on Jan 30, 2017 19:05:59 GMT
Be sure you register as a NEW USER at myopenhab.org/login There enter your email address (all lower case), the password you'll use for the account, your UUID, & your secret Caution after you submit the new user registration, you must respond to the "My openHAB account activation" email to verify your email before myopenhab will proxy your UIs. If you fail to do this your OH will show up as online on the web page but when you try to bring up one of the UIs it will say it's offline. For a while, I missed looking for the activation email & clicking the activation link within the email. So my log in failed. Looking for help, I followed one suggestion & edited two openhab.cfg lines under openHAB Cloud Connector: openhabcloud:baseURL=https://myopenhab.org/ Note, no # at the start openhabcloud:localPort=8080 ^^ However these edits may not be necessary. The default lines are probably fine. If you make these changes ^^, be sure to save openhab.cfg again. I restarted OpenHAB running. It said OpenHAB Cloud was connected to the openHAB Cloud service & it had my UUID However, I could not get remote access because the login failed. Logging in to my account at myopenhab.org also failed The last problem to fix was how I typically type my email address with some capitals which works ok in most places. However, the myopenhab.org site log in requires the email address in all lower case. With this last fix, everything is working well.
|
|
|
Post by sunbloquer on Jan 11, 2018 15:02:52 GMT
In OpenHAB2, installation of openHABian the path of the files are /var/lib /openhab2/ uuid /openhab2/openhabcloud/ secretobviously you have to install it from Paperui / Add-ons / MISC openHAB Cloud Connector misc-openhabcloud - 2.2.0 papa: Thanks for your contributions, sunbloquer. I appreciate your giving back from what you learn.
|
|