So here’s how it works…
The cloud connector resides in your OpenHAB installation which (I assume) sits at your home. You don’t have to migrate this anywhere, but you have to point it to your OpenHAB-Cloud instance by changing baseURL in :/etc/openhab2/services/openhabcloud.cfg
Minimal configuration would looks like this:
baseURL=https://your-openHAB.com/
mode=remote
expose=lights,SW2_bedroom_light,SW2_bathroom_light,SW2_ceiling_light
You don’t point your skill to your openhab, but to your openhab-cloud (I assume this is what you intended). You do this by adding user:pass and openhab-cloud url in your /opt/openhab-alexa/config.js file. First few lines should looks like this:
module.exports = {
userpass: 'you@yourdomain.com:yourpasswd',
host: 'your-ohcloud.com',
port: 443,
path: '/rest/items/',
What I did from OpenHAB-cloud at AWS is as below:
- Got openhab cloud up and running
- Installed openhab-alexa
- Changed config.js and .env files
- Deploy lambada function
- Configure Alexa skill
- Discovery and enjoy!
Hope this helps and open for further questions.