I see a lot of posts about this topic, but no one was helping me, so I try to open again one.
My installation is a plain ubuntu 20.04 with openhab 3 installed over apt-install.
I was trying to install “openHAB Cloud Connector” and on the documentation it stands that the uuid and secret will be found on “/var/lib/openhab”. But nothing is on this location. If I also search over the whole filesystem for “uuid” I don’t find any from the cloud connector. Any ideas where they is located of how I can generate it manualy?
Yes, it is installed… But how I read in the documentation, there is nothing to configurate, they will create the files self… or is there a configuration form somwhere?
Please check on karaf console if the binding is marked active.
Under Setting → Other Services, you will find the configuration for openHAB Cloud, where you can configure notification only or notification and remote access. Don’t expose any items here!
I’m not sure, but I activate now karaf (binding) and if I check I see it is active now…
153 │ Active │ 80 │ 3.2.0 │ openHAB Core :: Bundles :: Community Marketplace Add-on Service :: Karaf
I uninstall and install the plugin again, but under Other Services I dont see any configuration named “openHAB Cloud”. And the files are still not there… any ideas how to debug further? thank you for your help
Anything in the logs ?
What about permissions ? Does user openHAB have write access to the folders ?
Did you restart openHAB after binding installation.
Config is definitely there if running correctly….
You should have checked if openHAB Cloud addon is active.
But from your last post, it was not installed due to missing permission.
Try to set the permissions again with
ohh… now the secret file is created and filled… and I also see the setting page. but the uuid file is not created. the logs only show this messages
20:46:15.427 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
20:47:10.978 [ERROR] [.io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance. Reconnecting.