I’m working on the Rachio Sprinkler Binding for openHAB 3 and want to replace the concept of a reverse proxy with the openHAB Cloud connector.
- I created a new OH system
- connected this via myopehab.org
- The binding passes the URL to the Rachio cloud service and registers a webbook
- I need to encode the following in the URL: credentials, base URL, binding specific URI
Is that the correct URL?
using firstname.lastname@example.org as userid registered to myopenhab and mypassword as password
Due to the fact that myopenhab requires an e-mail address there are 2 @ in the URL, which might confuse Rachio’s cloud backend. When I open this URL in a browser it comes back into the binding, so I would say in general it works. However, when I register this URL to the cloud service nothing happens.
Is there a way to use the uuid instead of e-mail in the URL? or something wrong with the syntax?
Rachio documentation says:
HTTP basic authentication is supported for webhook URLs. To enable HTTP Basic authentication, prepend username:password@ to the hostname in your webhook URL. We will send the credentials in the HTTP header. For example: https://username:email@example.com The username:password fields are Base64 encoded and provided as a header value: HTTP Authorization: Basic ZnJlZDpmcmVk