Closed mtzro2003 closed 5 years ago
Dunno if it counts, but nginx is setup up like this:
server {
listen 443 ssl;
server_name openHAB;
root /var/www/html;
ssl_certificate /etc/ssl/chained.pem;
ssl_certificate_key /etc/ssl/domain.key;
location /smarthome {
proxy_pass http://XXX.XXX.XXX.XXX:3000/smarthome;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /standalone-auth {
proxy_pass http://XXX.XXX.XXX.XXX:3000/standalone-auth;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
You need to name your item: Switch SW_TEST "Test Switch" (gTest) {google="action.devices.types.SWITCH" [roomHint="Kitchen"]}
Well, this is just embarrassing... :blush: How could I forgot to add the label?!?
So... right now it works beautifully...
The roomHint
is marvelous!
I have some 150 items exposed to Google Home - many of those are TV channels (so that I can say "Hey Google, turn on Viasat History") in 6 rooms... You can imagine me cursing when having to move them to rooms :laughing:
This will be a walk in the park now!
Many thanks for all you work!
If I encounter issues I'll surely get back to you!
Gotta wrap my head around those actions
and traits
and see how to set up my items...
Well if you have questions, ask
So, I installed
app-only
and I set the whole thing up with my already running ningx and let's encrypt certificate. I set up a simple switch in openHAb as a test like this:and I tried to link my Google Home account with
[test] OpenHAB Automation
Tried to link numerous times, but every attempt ended with the messageCouldn't update setting. Check your connection.
Is this a Google problem or...? In theapp-only
logs I have - I edited the tokens and host IP: