SOLVED: OpenHAB Cloud Items Sync Issue

A few days ago I created a myOpenHAB account and followed the instructions to setup the service in order to use IFTTT. I “exposed” three items and everything worked fine. After that, I decided I wasn’t going to use one of the items and deleted it (from OpenHAB itself). Additionally, I added two new items to my exposed list and removed the one I deleted. These items never showed up and instead only the original three are listed.

To troubleshoot, I read through forum posts (althrough most around myOpenHABcloud are centered around an older version with a persist file), removed and re-installed the opencloud service, removed all items and events from myOpenHAB, and even deleted the myOpenHAB account and created a new one.

Now, when I re-created the myOpenHAB account I did see my server was offline until I ensured my UUID and secret were correct and also restarted my local OpenHAB service. Then, it dispalyed “online”, but I see no items now. To keep it simple, I am just trying to expose 1 item now.

Here is what is in my myOpenHAB configuration file (I checked that it is updating when I add / remove items from the exposed list)

expose=( \
  "PresenceTrent", \

I do also have a MySQL server which is logging all my persistence data.

When I updated the list of exposed items in my local instance, I do see the following log entries.

2017-05-10 08:13:35.030 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2017-05-10 08:13:35.038 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = UUIDISHERE, base URL = http://localhost:8080)
2017-05-10 08:13:36.094 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = UUIDISHERE, base URL = http://localhost:8080)

Any idea on how I could further debug getting my items to sync with myOpenHABCloud?

Found the solution:

This was a new String Item that I wanted to expose for manipulation, but hadn’t used anywhere else.

1 Like