Domoticz-Google-Assistant (dzga) Topic is solved
Moderator: leecollings
Re: Domoticz-Google-Assistant (dzga)
This is my configuration..
# Instantly create a public HTTPS URL. Don't have to open any port on router and do not require a reverse proxy.
# When ngrok_tunnel set to True the auth token is required to keep the tunnel alive.
# Create account at ngrok.com and paste the token in this file.
# Ngrok assigns random urls. When server restart the server gets a new url.
ngrok_tunnel: false
ngrok_auth_token: 'auth_token'
# Use SSL encryption in HTTP server if not using ngrok
use_ssl: true
ssl_key: /etc/letsencrypt/live/xxxxxx.duckdns.org/privkey.pem
ssl_cert: /etc/letsencrypt/live/xxxxxx.duckdns.org/fullchain.pem
# Instantly create a public HTTPS URL. Don't have to open any port on router and do not require a reverse proxy.
# When ngrok_tunnel set to True the auth token is required to keep the tunnel alive.
# Create account at ngrok.com and paste the token in this file.
# Ngrok assigns random urls. When server restart the server gets a new url.
ngrok_tunnel: false
ngrok_auth_token: 'auth_token'
# Use SSL encryption in HTTP server if not using ngrok
use_ssl: true
ssl_key: /etc/letsencrypt/live/xxxxxx.duckdns.org/privkey.pem
ssl_cert: /etc/letsencrypt/live/xxxxxx.duckdns.org/fullchain.pem
- DewGew
- Posts: 579
- Joined: Thursday 21 April 2016 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10618
- Location: Sweden
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Make sure you have user permission to read cert and key filesspawnol wrote: ↑Monday 07 December 2020 21:41 This is my configuration..
# Instantly create a public HTTPS URL. Don't have to open any port on router and do not require a reverse proxy.
# When ngrok_tunnel set to True the auth token is required to keep the tunnel alive.
# Create account at ngrok.com and paste the token in this file.
# Ngrok assigns random urls. When server restart the server gets a new url.
ngrok_tunnel: false
ngrok_auth_token: 'auth_token'
# Use SSL encryption in HTTP server if not using ngrok
use_ssl: true
ssl_key: /etc/letsencrypt/live/xxxxxx.duckdns.org/privkey.pem
ssl_cert: /etc/letsencrypt/live/xxxxxx.duckdns.org/fullchain.pem
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
-
- Posts: 9
- Joined: Tuesday 14 July 2015 11:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Solved the problem. After reconnect account from the Home app, it worked again.emichiels wrote: ↑Monday 30 November 2020 12:47DewGew, thanks for your reaction. I tried, but it's not solving the problem.DewGew wrote: ↑Friday 27 November 2020 17:07I think its your smart-home-key.json is not valid or corrupt. Generate a new and replace. If you use smart-home-key.json, homegraph API key is not needed.emichiels wrote: ↑Wednesday 18 November 2020 19:47 hi there,
I have been using Domoticz-google-assistant for a long time. A while ago google assistant started saying that domoticz is not accessable at the moment, when i asked to do a task. I'm trying to figure out the problem, I can access access DZGA. over there everything looks fine. But I can't sync the devices. Then it says homegraph API key is invalid. in the past it worked.... homegraph Api is enabled and I have a homegraph API key in my config,yaml.
I don't know how to get this solved.
any idea's?
I regenerated the smart-home-key.json file with this procedure:
Navigate to the Google Cloud Console API Manager for your project id.
Enable the HomeGraph API.
Navigate to the Google Cloud Console API & Services page.
Select Create Credentials and create a Service account key
Create a new Service account
Use the role Service Account > Service Account Token Creator
Click Done
Click on the newly created Email Account under Service Accounts
Add key > create new key
Choose JSON
Click create and download the JSON file.
Upload and Save this in ../Domoticz-Google-Assistant/config folder as smart-home-key.json
after restarting DZGA I tried to update the devices. But it gave:
Page not found!: 403 Client Error: Forbidden for url: https://homegraph.googleapis.com/v1/devices:requestSync
the log file gives:
2020-11-30 12:43:23 - DEBUG - Starting new HTTPS connection (1): raw.githubusercontent.com:443
2020-11-30 12:43:23 - DEBUG - https://raw.githubusercontent.com:443 "GET /DewGew/Domoticz-Google-Assistant/beta/const.py HTTP/1.1" 200 2037
2020-11-30 12:43:23 - DEBUG - Starting new HTTPS connection (1): homegraph.googleapis.com:443
2020-11-30 12:43:23 - DEBUG - https://homegraph.googleapis.com:443 "POST /v1/devices:requestSync HTTP/1.1" 403 None
2020-11-30 12:44:07 - DEBUG - Starting new HTTPS connection (1): raw.githubusercontent.com:443
2020-11-30 12:44:08 - DEBUG - https://raw.githubusercontent.com:443 "GET /DewGew/Domoticz-Google-Assistant/beta/const.py HTTP/1.1" 200 2037
any other idea's?
Last edited by emichiels on Wednesday 30 December 2020 18:49, edited 1 time in total.
Re: Domoticz-Google-Assistant (dzga)
$ sudo nginx -tDewGew wrote: ↑Tuesday 08 December 2020 16:01Make sure you have user permission to read cert and key filesspawnol wrote: ↑Monday 07 December 2020 21:41 This is my configuration..
# Instantly create a public HTTPS URL. Don't have to open any port on router and do not require a reverse proxy.
# When ngrok_tunnel set to True the auth token is required to keep the tunnel alive.
# Create account at ngrok.com and paste the token in this file.
# Ngrok assigns random urls. When server restart the server gets a new url.
ngrok_tunnel: false
ngrok_auth_token: 'auth_token'
# Use SSL encryption in HTTP server if not using ngrok
use_ssl: true
ssl_key: /etc/letsencrypt/live/xxxxxx.duckdns.org/privkey.pem
ssl_cert: /etc/letsencrypt/live/xxxxxx.duckdns.org/fullchain.pem
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
I think it's good.
Re: Domoticz-Google-Assistant (dzga)
I am really disapointed.. i tried a many times and it doesn't work..
i can't start dzga with nginx... i have reinstalled debian a lot of time but it still doesn't work... :'(
i really don't undestand why because it worked two weeks ago on my raspberry..
pi@raspberrypi:~ $ python3 Domoticz-Google-Assistant/
Loading configuration...
Connecting to Domoticz on http://XXXXXXXXXXX
Service account key is not found. Report state will be unavailable
Using SSL connection
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "Domoticz-Google-Assistant/__main__.py", line 109, in <module>
startServer()
File "Domoticz-Google-Assistant/__main__.py", line 52, in startServer
secure(server)
File "Domoticz-Google-Assistant/__main__.py", line 26, in secure
server.socket = ssl.wrap_socket (server.socket, keyfile=key, certfile=cert, server_side=True, ssl_version=ssl.PROTOCOL_TLSv1_2)
File "/usr/lib/python3.7/ssl.py", line 1216, in wrap_socket
context.load_cert_chain(certfile, keyfile)
PermissionError: [Errno 13] Permission denied
i can't start dzga with nginx... i have reinstalled debian a lot of time but it still doesn't work... :'(
i really don't undestand why because it worked two weeks ago on my raspberry..
pi@raspberrypi:~ $ python3 Domoticz-Google-Assistant/
Loading configuration...
Connecting to Domoticz on http://XXXXXXXXXXX
Service account key is not found. Report state will be unavailable
Using SSL connection
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "Domoticz-Google-Assistant/__main__.py", line 109, in <module>
startServer()
File "Domoticz-Google-Assistant/__main__.py", line 52, in startServer
secure(server)
File "Domoticz-Google-Assistant/__main__.py", line 26, in secure
server.socket = ssl.wrap_socket (server.socket, keyfile=key, certfile=cert, server_side=True, ssl_version=ssl.PROTOCOL_TLSv1_2)
File "/usr/lib/python3.7/ssl.py", line 1216, in wrap_socket
context.load_cert_chain(certfile, keyfile)
PermissionError: [Errno 13] Permission denied
-
- Posts: 228
- Joined: Thursday 21 May 2015 9:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Got the same log..... i finally got locations to work. so *.ddns.net:port/domoticz. Took me several hours as a noob.spawnol wrote: ↑Sunday 13 December 2020 17:29 I am really disapointed.. i tried a many times and it doesn't work..
i can't start dzga with nginx... i have reinstalled debian a lot of time but it still doesn't work... :'(
i really don't undestand why because it worked two weeks ago on my raspberry..
pi@raspberrypi:~ $ python3 Domoticz-Google-Assistant/
Loading configuration...
Connecting to Domoticz on http://XXXXXXXXXXX
Service account key is not found. Report state will be unavailable
Using SSL connection
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "Domoticz-Google-Assistant/__main__.py", line 109, in <module>
startServer()
File "Domoticz-Google-Assistant/__main__.py", line 52, in startServer
secure(server)
File "Domoticz-Google-Assistant/__main__.py", line 26, in secure
server.socket = ssl.wrap_socket (server.socket, keyfile=key, certfile=cert, server_side=True, ssl_version=ssl.PROTOCOL_TLSv1_2)
File "/usr/lib/python3.7/ssl.py", line 1216, in wrap_socket
context.load_cert_chain(certfile, keyfile)
PermissionError: [Errno 13] Permission denied
the only part i didnt have is "Service account key is not found. Report state will be unavailable"
I can reach my login screen on the DNS but when i fill in my credentials it wont login.
Also when i tick the box on SSL in the menu it won't stick.
I have filled in my path to the key and certificate. like this /etc/letsencrypt/live/***.ddns.net/privkey.pem
ALso whats that PID file?? is that only when you have installed as a docker?
Re: Domoticz-Google-Assistant (dzga)
Sorry, maybe i didn't understand but did you solve it ? The issue with the log ?Justintime wrote: ↑Wednesday 16 December 2020 23:23Got the same log..... i finally got locations to work. so *.ddns.net:port/domoticz. Took me several hours as a noob.spawnol wrote: ↑Sunday 13 December 2020 17:29 I am really disapointed.. i tried a many times and it doesn't work..
i can't start dzga with nginx... i have reinstalled debian a lot of time but it still doesn't work... :'(
i really don't undestand why because it worked two weeks ago on my raspberry..
pi@raspberrypi:~ $ python3 Domoticz-Google-Assistant/
Loading configuration...
Connecting to Domoticz on http://XXXXXXXXXXX
Service account key is not found. Report state will be unavailable
Using SSL connection
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "Domoticz-Google-Assistant/__main__.py", line 109, in <module>
startServer()
File "Domoticz-Google-Assistant/__main__.py", line 52, in startServer
secure(server)
File "Domoticz-Google-Assistant/__main__.py", line 26, in secure
server.socket = ssl.wrap_socket (server.socket, keyfile=key, certfile=cert, server_side=True, ssl_version=ssl.PROTOCOL_TLSv1_2)
File "/usr/lib/python3.7/ssl.py", line 1216, in wrap_socket
context.load_cert_chain(certfile, keyfile)
PermissionError: [Errno 13] Permission denied
the only part i didnt have is "Service account key is not found. Report state will be unavailable"
I can reach my login screen on the DNS but when i fill in my credentials it wont login.
Also when i tick the box on SSL in the menu it won't stick.
I have filled in my path to the key and certificate. like this /etc/letsencrypt/live/***.ddns.net/privkey.pem
ALso whats that PID file?? is that only when you have installed as a docker?
DewGew we really need your help...
-
- Posts: 228
- Joined: Thursday 21 May 2015 9:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Domoticz-Google-Assistant (dzga)
@spawnol
I am also not in coding.....but its working now!!! I literally jumped 1 meter high of joy. Spent many hours hahaha
Did you change the name of the folder?? "Domoticz-Google-Assistant" if so dont do that.
If you want to reach DZGA on your domain name type in https://your_domain:SSL_port/Domoticz-Google-Assistant/settings
This is my Nginx config
I am also not in coding.....but its working now!!! I literally jumped 1 meter high of joy. Spent many hours hahaha
Did you change the name of the folder?? "Domoticz-Google-Assistant" if so dont do that.
If you want to reach DZGA on your domain name type in https://your_domain:SSL_port/Domoticz-Google-Assistant/settings
This is my Nginx config
Code: Select all
server {
listen 85 default_server;
listen [::]:85;
server_name yourdomain.com;
#change to match your address
return 301 https://yourdomain.com$request_uri;
}
server {
listen 448 ssl default_server;
listen [::]:448 ssl default_server;
server_name yourdomain.com;
#change to match your address
ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
#change to match your address
ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
#change to match your address
ssl on;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
location /domoticz/ {
rewrite ^/domoticz/?(.*) /$1 break;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_pass http://192.168.1.165:13631; #Local ipno to dzga
proxy_read_timeout 90;
}
location /Domoticz-Google-Assistant/ {
rewrite ^/assistant/?(.*) /$1 break;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_pass http://localhost:3030/; #local ipno to dzga
proxy_read_timeout 90;
}
Re: Domoticz-Google-Assistant (dzga)
and what's your DZGA config ?
-
- Posts: 228
- Joined: Thursday 21 May 2015 9:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Strange thing is.... i dont see connected devices when i enter dzga by domain.....when i look internal its showing.
its syncing and thats the most important.
Strang thing i have got still. i have to restart Nginx manually
its syncing and thats the most important.
Strang thing i have got still. i have to restart Nginx manually
Code: Select all
Armaway:
lang: nl
level_synonym:
- weg und bewachen
- Level 2
- SL2
Armhome:
lang: nl
level_synonym:
- zuhause und bewachen
- Level 1
- SL1
Camera_Stream:
Cameras:
Camera_URL:
Idx:
Enabled: false
CheckForUpdates: true
ClientID: xxxxxx
ClientSecret: xxxxxx
Device_Config: null
Domoticz:
ip: http://internal ip
password: psswrd
port: '13631'
roomplan: '0'
switchProtectionPass: '1234'
username: usrname
Image_Override:
Fan:
- Fan
Light:
- Light
Media:
- Media
- TV
Outlet:
- WallSocket
Speaker:
- Speaker
Switch:
- Generic
Low_battery_limit: 9
PidFile: ''
Scene_Config: null
ang: nl
auth_pass: psswrd
auth_user: usrname
loglevel: Info
logtofile: true
ngrok_auth_token: xxxxx
ngrok_tunnel: false
pathToLogFile: ''
port_number: 3030
ssl_cert: /etc/letsencrypt/live/mydomain.com/fullchain.pem
ssl_key: /etc/letsencrypt/live/mydomain/privkey.pem
use_ssl: false
userinterface: true
Re: Domoticz-Google-Assistant (dzga)
Use_ssl is set to false.. so you are not using your ssl connection .. right ?Justintime wrote: ↑Thursday 17 December 2020 23:02 Strange thing is.... i dont see connected devices when i enter dzga by domain.....when i look internal its showing.
its syncing and thats the most important.
Strang thing i have got still. i have to restart Nginx manually
Code: Select all
Armaway: lang: nl level_synonym: - weg und bewachen - Level 2 - SL2 Armhome: lang: nl level_synonym: - zuhause und bewachen - Level 1 - SL1 Camera_Stream: Cameras: Camera_URL: Idx: Enabled: false CheckForUpdates: true ClientID: xxxxxx ClientSecret: xxxxxx Device_Config: null Domoticz: ip: http://internal ip password: psswrd port: '13631' roomplan: '0' switchProtectionPass: '1234' username: usrname Image_Override: Fan: - Fan Light: - Light Media: - Media - TV Outlet: - WallSocket Speaker: - Speaker Switch: - Generic Low_battery_limit: 9 PidFile: '' Scene_Config: null ang: nl auth_pass: psswrd auth_user: usrname loglevel: Info logtofile: true ngrok_auth_token: xxxxx ngrok_tunnel: false pathToLogFile: '' port_number: 3030 ssl_cert: /etc/letsencrypt/live/mydomain.com/fullchain.pem ssl_key: /etc/letsencrypt/live/mydomain/privkey.pem use_ssl: false userinterface: true
-
- Posts: 228
- Joined: Thursday 21 May 2015 9:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I am using Nginx reverse proxy. Same as Domoticz..... or is that not sufficient?spawnol wrote: ↑Saturday 19 December 2020 14:24Use_ssl is set to false.. so you are not using your ssl connection .. right ?Justintime wrote: ↑Thursday 17 December 2020 23:02 Strange thing is.... i dont see connected devices when i enter dzga by domain.....when i look internal its showing.
its syncing and thats the most important.
Strang thing i have got still. i have to restart Nginx manually
Code: Select all
Armaway: lang: nl level_synonym: - weg und bewachen - Level 2 - SL2 Armhome: lang: nl level_synonym: - zuhause und bewachen - Level 1 - SL1 Camera_Stream: Cameras: Camera_URL: Idx: Enabled: false CheckForUpdates: true ClientID: xxxxxx ClientSecret: xxxxxx Device_Config: null Domoticz: ip: http://internal ip password: psswrd port: '13631' roomplan: '0' switchProtectionPass: '1234' username: usrname Image_Override: Fan: - Fan Light: - Light Media: - Media - TV Outlet: - WallSocket Speaker: - Speaker Switch: - Generic Low_battery_limit: 9 PidFile: '' Scene_Config: null ang: nl auth_pass: psswrd auth_user: usrname loglevel: Info logtofile: true ngrok_auth_token: xxxxx ngrok_tunnel: false pathToLogFile: '' port_number: 3030 ssl_cert: /etc/letsencrypt/live/mydomain.com/fullchain.pem ssl_key: /etc/letsencrypt/live/mydomain/privkey.pem use_ssl: false userinterface: true
Re: Domoticz-Google-Assistant (dzga)
Nginx proxy manager ?Justintime wrote: ↑Sunday 20 December 2020 0:33I am using Nginx reverse proxy. Same as Domoticz..... or is that not sufficient?spawnol wrote: ↑Saturday 19 December 2020 14:24Use_ssl is set to false.. so you are not using your ssl connection .. right ?Justintime wrote: ↑Thursday 17 December 2020 23:02 Strange thing is.... i dont see connected devices when i enter dzga by domain.....when i look internal its showing.
its syncing and thats the most important.
Strang thing i have got still. i have to restart Nginx manually
Code: Select all
Armaway: lang: nl level_synonym: - weg und bewachen - Level 2 - SL2 Armhome: lang: nl level_synonym: - zuhause und bewachen - Level 1 - SL1 Camera_Stream: Cameras: Camera_URL: Idx: Enabled: false CheckForUpdates: true ClientID: xxxxxx ClientSecret: xxxxxx Device_Config: null Domoticz: ip: http://internal ip password: psswrd port: '13631' roomplan: '0' switchProtectionPass: '1234' username: usrname Image_Override: Fan: - Fan Light: - Light Media: - Media - TV Outlet: - WallSocket Speaker: - Speaker Switch: - Generic Low_battery_limit: 9 PidFile: '' Scene_Config: null ang: nl auth_pass: psswrd auth_user: usrname loglevel: Info logtofile: true ngrok_auth_token: xxxxx ngrok_tunnel: false pathToLogFile: '' port_number: 3030 ssl_cert: /etc/letsencrypt/live/mydomain.com/fullchain.pem ssl_key: /etc/letsencrypt/live/mydomain/privkey.pem use_ssl: false userinterface: true
-
- Posts: 1
- Joined: Wednesday 07 January 2015 12:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello,
I have followed the installation and didnt get the ngrok to work so I followed the Nginx reverse proxy Wiki page.
I can access the DZGA settings page from internet and I can find the [test] when I setup a new link in Google Home frome my phone.
I come to the login page at DZGA and I enter the login credentials but then I dont get any further.
Google Home just jumps back to the page where all applications are listed, nothing more happen.
What can be wrong?
I have followed the installation and didnt get the ngrok to work so I followed the Nginx reverse proxy Wiki page.
I can access the DZGA settings page from internet and I can find the [test] when I setup a new link in Google Home frome my phone.
I come to the login page at DZGA and I enter the login credentials but then I dont get any further.
Google Home just jumps back to the page where all applications are listed, nothing more happen.
What can be wrong?
-
- Posts: 1
- Joined: Wednesday 20 November 2019 19:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hi
I resolved all issues which was written here before.
Please can you describe how to use imported devices to Google Home via voice call. Always when i try something like "turn the light on" or similar o get answer "device not configured" or jump to web browser
Thank you
I resolved all issues which was written here before.
Please can you describe how to use imported devices to Google Home via voice call. Always when i try something like "turn the light on" or similar o get answer "device not configured" or jump to web browser
Thank you
Last edited by pdrobek on Saturday 02 January 2021 17:30, edited 1 time in total.
-
- Posts: 76
- Joined: Sunday 17 February 2019 15:01
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Does this plugin support the broadcast feature of Google home /nest hub? Or can I implement it by myself via this plugin by sending a text query to the hub?
I want to send spoken notifications to my nest hub when the dryer or washer is done or when there is somebody at the front door. Benefit of the broadcast function is, when there is music or video playing it resumes after the broadcasted message.
I want to send spoken notifications to my nest hub when the dryer or washer is done or when there is somebody at the front door. Benefit of the broadcast function is, when there is music or video playing it resumes after the broadcasted message.
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
Re: Domoticz-Google-Assistant (dzga)
Hi everyone,
How the sensor or switch status were report to Google home in real time? If I am opening the Google app and go to page that is showing the light/sensor, then I change status of these by manually, I didn't see any update on Google app.
Thanks
How the sensor or switch status were report to Google home in real time? If I am opening the Google app and go to page that is showing the light/sensor, then I change status of these by manually, I didn't see any update on Google app.
Thanks
-
- Posts: 9
- Joined: Thursday 28 January 2021 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello All,
I have a simple doorbell connected to Domoticz via RFLink. In Domoticz it is sortedt as Lamp/Switch. i set switch type to "door bell" in Domoticz but still it shows up as a lamp in "Google Home app" and gets sorted accordingly.
Questions: Can somebody tel me how to change this? Is there something else Google home app can do with this doorbell as only showing on / off?
Thanks in advance.
I have a simple doorbell connected to Domoticz via RFLink. In Domoticz it is sortedt as Lamp/Switch. i set switch type to "door bell" in Domoticz but still it shows up as a lamp in "Google Home app" and gets sorted accordingly.
Questions: Can somebody tel me how to change this? Is there something else Google home app can do with this doorbell as only showing on / off?
Thanks in advance.
-
- Posts: 228
- Joined: Thursday 21 May 2015 9:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Domoticz-Google-Assistant (dzga)
After checking some things i noticed i am running tthe beta version of DZGA.
Cant remember i did that.
So i am running DZGA Version: 1.10.6 beta
How can i switch to the release version of DZGA?
Cant remember i did that.
So i am running DZGA Version: 1.10.6 beta
How can i switch to the release version of DZGA?
-
- Posts: 3
- Joined: Tuesday 02 February 2021 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello, I have a similar problem. I cannot retrieve devices in google HOME.salmonsalar wrote: ↑Monday 28 December 2020 1:28 Hello,
I have followed the installation and didnt get the ngrok to work so I followed the Nginx reverse proxy Wiki page.
I can access the DZGA settings page from internet and I can find the [test] when I setup a new link in Google Home frome my phone.
I come to the login page at DZGA and I enter the login credentials but then I dont get any further.
Google Home just jumps back to the page where all applications are listed, nothing more happen.
What can be wrong?
I think I have problem with token (access.log 401):
[02/Feb/2021:13:17:41 +0100] "POST /dzga/token HTTP/1.1" 401 188 "-" "OpenAuth"
I have no smart-home-key.json but it works with ngrok. (with correct url in smarthome, oauth & token)
I configured reverse proxy in nginx to access to dzga with https://<public_url>:4433/dzga/settings
My box redirect 4433 to nginx:443 and nginx redirect /dzga/ to localhost:3030 and remove /dzga in url.
I found one bug and I fixed it : https://github.com/DewGew/Domoticz-Goog ... issues/244
I can access to https://<public_url>:4433/dzga/ from Internet and I can login with HOME app.
But after that, there is no association with my account, no devices listed and it returns to the list of services available.
My certificate is no more self-signed (I used another ACME client with standalone mode : https://github.com/acmesh-official/acme.sh)
What can I check? It works with ngrok...
Where can I check logs from google?
Who is online
Users browsing this forum: No registered users and 1 guest