I would like to try this out, but I already have nginx set up with my own domain and certificate, so I don’t need all of that. How would I go about installing just the service part?
Ok, understood. But still, this might develop over time and night become superior to the existing official binding in terms of functionality. In that case, it would be of great benefit for the community, and people would surely be in favor of this to be connected to cloud services rather than self-hosting.
Would that be possible, or does your approach generally not allow to go in this direction in the future?
I was not thinking of going that way. And you’d have to get verification from google so that it would be accessible for all from Google Home app, and this would also mean hosting it somewhere. It short - no such plans for the foreseeable future. Right now I have two things where I would like to focus - pushing updates from openhab to google via HomeGraph API and Local Execution.
Thanks @gytisgreitai. Spent some time this afternoon to install this and it worked out of the box. In case anyone else is wondering, it can be used with non-standard ports as well - i.e. you don’t need to have port 443 open on your external firewall/router.
This is separate implementation that will be official at some point. You can check official openhab google home github repo for more info, there is a pr there
I’ve set this up, with STANDALONE=true (Option 1).
Looking at the docker logs, letsencrypt certs look good.
Verify setup produces an ok string via https.
Everything looks good after creating actions project and deploying actions project.
I try to set up in Google Home and select the [test] project, and I get redirected, but it just returns to the app. I have clicked it again(numerous times), and it still does not display the devices from OpenHAB.
Could you please help to get this working?
Well there might be couple of issues. Does it say it is linked ? Or does it show this [test] project as available to link? There is a debug endpoint called /am-i-working It should output some information, and app.log. Is there anything in there (if you plan posting logs, do it on pastebin.com and sanitize it - remove access keys and hostname)? nginx log located on docker image /var/log/nginx/access.log might also help.
I can’t determine whether the app is actually talking to my OpenHAB server. I do not see the server IP for OpenHAB in either of the logs. I have verified that I can ping the server from the docker instance. The OpenHAB server is accessible without authentication.
That was it. I didn’t update my devices with the binding configuration: {google=“action.devices.types.SWITCH”}
I’ve added these to the switch devices and voila!
Thank you so much!