No REST connection possible to myopenHAB

Hello everybody,

I am new to openHAB and I added some Things and Items to openHAB. After that I connected my openHAB to myopenHAB and it works perfect. Thank you for this! BUT I am not able to connect to myopenHAB via REST interface.
If I try to connect to home.myopenhab.org then I get a 401 and when I connect to myopenhab.org, I get a 404 error. I escaped the @ sign for my login data and used the syntax: https://[username]:[password]@myopenhab.org. Is that right? I there a possibility to connect via REST to myopenhab or do I have to configure a reverse proxy on my Raspberry Pi to enable the connect from another server?

Thanks for your help! :slight_smile:

I got this working with the following:

https://my.email%40email.com:my-password@home.myopenhab.org/rest/items

The trick was percent encoding the ‘@’ in my email address / username.

Where did you find out about using account details with the cloud link? Please send a link

I was getting “unauthorised” when trying to use home.openhab.org/rest/items to access the openhab rest api.

I searched documentation (https://www.openhab.org/addons/integrations/openhabcloud/) but was unable to find anything referring to using account credentials within the link

Also is it possible to encode these credentials (e.g., base64)?