Page 3 of 19

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 08 June 2020 11:12
by DewGew
SterkeJerke wrote: Monday 08 June 2020 9:34 Did a compleet fresh install on a new Ubuntu server.
All looking pretty OK, apart from the NGROK part.
As soon as I set the using of NGROK to true in the config file dzga fails to start.
Turned on debuging and loggin.

The only thing I see is:
2020-06-08 07:26:22 - INFO - Installing package pyngrok
2020-06-08 07:26:23 - INFO - Installing package pyngrok
2020-06-08 07:26:24 - INFO - Installing package pyngrok
2020-06-08 07:26:25 - INFO - Installing package pyngrok
2020-06-08 07:26:25 - INFO - Installing package pyngrok
2020-06-08 07:30:26 - INFO - Installing package pyngrok
2020-06-08 07:30:27 - INFO - Installing package pyngrok
2020-06-08 07:30:27 - INFO - Installing package pyngrok
2020-06-08 07:30:28 - INFO - Installing package pyngrok
2020-06-08 07:30:29 - INFO - Installing package pyngrok


Looks like something missing in the install? how to install this package?
Try install manually:

Code: Select all

source Domoticz-Google-Assistant/env/bin/activate
pip install pyngrok

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 08 June 2020 14:20
by SterkeJerke
Works now! Thanks

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 19 June 2020 10:10
by DewGew
New version of DzGA Beta (V.1.8.1) is out for testing.
- Get room name from domoticz plans

Re: Domoticz-Google-Assistant (dzga)

Posted: Sunday 21 June 2020 17:30
by Robbie
Hi DewGew,

It’s hard to admit, but I’m going to need a little help.
I have gone trough the (well written and extensive) instructions, but in the home-app I keep getting the message “something went wrong, try again” upon adding the dzga-device.

I cannot find any hints in the debug-log, or anywhere else.

I am running the latest version of dzga and domoticz.
Dzga is running on a synology nas.
SSL enabled with a self-signed cert, a fqdn, and reverse proxy.

Can you advice me how to go about troubleshooting my issue?

Re: Domoticz-Google-Assistant (dzga)

Posted: Sunday 21 June 2020 19:11
by EddyG
DewGew wrote: Friday 19 June 2020 10:10 New version of DzGA Beta (V.1.8.1) is out for testing.
- Get room name from domoticz plans
Love to test it, but needs a little bit more explanation. I could not find it it the wiki, or did not look good enough.

Re: Domoticz-Google-Assistant (dzga)

Posted: Sunday 21 June 2020 20:36
by bramhut
Robbie wrote: Sunday 21 June 2020 17:30 Hi DewGew,

It’s hard to admit, but I’m going to need a little help.
I have gone trough the (well written and extensive) instructions, but in the home-app I keep getting the message “something went wrong, try again” upon adding the dzga-device.

I cannot find any hints in the debug-log, or anywhere else.

I am running the latest version of dzga and domoticz.
Dzga is running on a synology nas.
SSL enabled with a self-signed cert, a fqdn, and reverse proxy.

Can you advice me how to go about troubleshooting my issue?
I'm having the same issue...

I have rechecked the Google settings and carefully followed the instructions. I'm also using a reverse proxy, which is functioning good.

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 22 June 2020 14:15
by DewGew
bramhut wrote: Sunday 21 June 2020 20:36
Robbie wrote: Sunday 21 June 2020 17:30 Hi DewGew,

It’s hard to admit, but I’m going to need a little help.
I have gone trough the (well written and extensive) instructions, but in the home-app I keep getting the message “something went wrong, try again” upon adding the dzga-device.

I cannot find any hints in the debug-log, or anywhere else.

I am running the latest version of dzga and domoticz.
Dzga is running on a synology nas.
SSL enabled with a self-signed cert, a fqdn, and reverse proxy.

Can you advice me how to go about troubleshooting my issue?
I'm having the same issue...

I have rechecked the Google settings and carefully followed the instructions. I'm also using a reverse proxy, which is functioning good.
Check settings in Actions on Google and dont forget to click ’TEST’ button

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 22 June 2020 14:58
by Robbie
I checked the setting numerous times, and I enabled TEST every time.

Just to verify;
- Is it possible to run it with “ sampleClientId” and “ sampleClientSecret”, even when I have created an OAuth client ID?

- While creating the credentials, the option “other” is not available...

Is there any way to debug the google-actions settings?

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 22 June 2020 18:25
by Robbie
I see having multiple config guides leads to confusion.
There is one in domoticz forum, one in dzga, and one on github.

Do I add a ClientID and Secret to config.yaml or not?
Either way I cant manage to get it working 🤷‍♂️

Re: Domoticz-Google-Assistant (dzga)

Posted: Tuesday 23 June 2020 9:20
by DewGew
Robbie wrote: Monday 22 June 2020 18:25 I see having multiple config guides leads to confusion.
There is one in domoticz forum, one in dzga, and one on github.

Do I add a ClientID and Secret to config.yaml or not?
Either way I cant manage to get it working 🤷‍♂️
Github wiki is most rescent to follow. ClintID and Secret is optional you dont need to add that to config.yaml. Just set “ sampleClientId” and “ sampleClientSecret” in Action on Google. No need to create credientials.

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 26 June 2020 20:31
by Robbie
DewGew wrote: Tuesday 23 June 2020 9:20
Robbie wrote: Monday 22 June 2020 18:25 I see having multiple config guides leads to confusion.
There is one in domoticz forum, one in dzga, and one on github.

Do I add a ClientID and Secret to config.yaml or not?
Either way I cant manage to get it working 🤷‍♂️
Github wiki is most rescent to follow. ClintID and Secret is optional you dont need to add that to config.yaml. Just set “ sampleClientId” and “ sampleClientSecret” in Action on Google. No need to create credientials.
Yes, so I followed all instruction correct, to no avail.
I started over a couple of times. The installation went well, and so did the google-actions-setup. But in the home-app, the device fails when I try to add it.

I even tried to go trough all issues described in the former Google-Assistant topic in this forum, but non solved it.

Can there be an issue with the SSL certificate?
Are there any language restrictions? (Domoticz vs. Google Actions project vs. Home app)
Does the path for DZGA specifically need to be in the $USER-dir?
My sync url shows me this: Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync. Is this a hint of what might be wrong?

As you can see, I'm running out of options to find the cause of the problem.
I'm sorry to bug you with this, but it would be great to get this up and running.

Thanks a bunch! :)

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 26 June 2020 20:47
by DewGew
Robbie wrote: Friday 26 June 2020 20:31
DewGew wrote: Tuesday 23 June 2020 9:20
Robbie wrote: Monday 22 June 2020 18:25 I see having multiple config guides leads to confusion.
There is one in domoticz forum, one in dzga, and one on github.

Do I add a ClientID and Secret to config.yaml or not?
Either way I cant manage to get it working 🤷‍♂️
Github wiki is most rescent to follow. ClintID and Secret is optional you dont need to add that to config.yaml. Just set “ sampleClientId” and “ sampleClientSecret” in Action on Google. No need to create credientials.
Yes, so I followed all instruction correct, to no avail.
I started over a couple of times. The installation went well, and so did the google-actions-setup. But in the home-app, the device fails when I try to add it.

I even tried to go trough all issues described in the former Google-Assistant topic in this forum, but non solved it.

Can there be an issue with the SSL certificate?
Are there any language restrictions? (Domoticz vs. Google Actions project vs. Home app)
Does the path for DZGA specifically need to be in the $USER-dir?
My sync url shows me this: Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync. Is this a hint of what might be wrong?

As you can see, I'm running out of options to find the cause of the problem.
I'm sorry to bug you with this, but it would be great to get this up and running.

Thanks a bunch! :)
Is you certificate valid? If you goto https://your.dzga/settings to se if there is any warnings

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 26 June 2020 21:23
by Robbie
It's a selfsigned certificate, so naturally it's not trusted. Furthermore it works as expected, no certificate problems.

From the log, (these are just normal lines right?):

2020-06-26 21:16:50 - DEBUG - Starting new HTTPS connection (1): raw.githubusercontent.com:443
2020-06-26 21:16:50 - DEBUG - https://raw.githubusercontent.com:443 "GET /DewGew/Domoticz-Google-Assistant/master/const.py HTTP/1.1" 200 13051
2020-06-26 21:16:52 - DEBUG - Starting new HTTPS connection (1): accounts.google.com:443
2020-06-26 21:16:52 - DEBUG - https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
2020-06-26 21:16:53 - DEBUG - Starting new HTTPS connection (1): homegraph.googleapis.com:443
2020-06-26 21:16:53 - DEBUG - https://homegraph.googleapis.com:443 "POST /v1/devices:requestSync HTTP/1.1" 404 None

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 26 June 2020 21:45
by DewGew
Google dont accept self signed certificate get a let’s encrypt cert https://github.com/DewGew/Domoticz-Goog ... erse-proxy

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 26 June 2020 23:53
by Robbie
DewGew wrote: Friday 26 June 2020 21:45 Google dont accept self signed certificate get a let’s encrypt cert https://github.com/DewGew/Domoticz-Goog ... erse-proxy
Hahahha okay :p I'm puzzeled though, you had openSSL instruction in the wiki on github. I see it's edited now :)
I will give it a go!

Re: Domoticz-Google-Assistant (dzga)

Posted: Sunday 28 June 2020 11:55
by bramhut
DewGew wrote: Friday 26 June 2020 21:45 Google dont accept self signed certificate get a let’s encrypt cert https://github.com/DewGew/Domoticz-Goog ... erse-proxy
Thanks, it works like a charm now!

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 29 June 2020 16:34
by Borderman
I have domoticz running on a Pi3B+ and a test version on a Pi2B
I have integrated the Pi3B+ with HomeBridge and Google Home.
I can give talking commands, but....
The integration with HomeBridge is not so good. Synchronisation does not work all the time.
So I want to leave Homebridge and try DZGA.
I am not a crack with unix, so I need help.
I have installed DZGA on the test PI2B, but be confronted with a lot af issues.
I cannot connect with http://ipnr/settings
and I am not sure if I have it installed right and how to configure ngrok, and so on.
Has anyone a more detailed instruction how to install and configure and how to work with it?
May in English or in Dutch.
Thanks in advance.

Re: Domoticz-Google-Assistant (dzga)

Posted: Wednesday 08 July 2020 10:31
by DewGew
Borderman wrote: Monday 29 June 2020 16:34 I have domoticz running on a Pi3B+ and a test version on a Pi2B
I have integrated the Pi3B+ with HomeBridge and Google Home.
I can give talking commands, but....
The integration with HomeBridge is not so good. Synchronisation does not work all the time.
So I want to leave Homebridge and try DZGA.
I am not a crack with unix, so I need help.
I have installed DZGA on the test PI2B, but be confronted with a lot af issues.
I cannot connect with http://ipnr/settings
and I am not sure if I have it installed right and how to configure ngrok, and so on.
Has anyone a more detailed instruction how to install and configure and how to work with it?
May in English or in Dutch.
Thanks in advance.
Take a look at wiki https://github.com/DewGew/Domoticz-Goog ... stant/wiki

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 31 July 2020 13:13
by kabaret10
I have encountered error during container start with python. I don't know what could be wrong ?
Is it just missing? Do I need to recreate img with dockerfile?

Code: Select all


pi@raspberrypi:~ $ docker-compose -f /home/pi/Domoticz-Google-Assistant/docker-compose.yaml up -d
Creating domoticz-google-assistant ... error

ERROR: for domoticz-google-assistant  Cannot start service dz-googleassistant: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"python3 /__main__.py\": stat python3 /__main__.py: no such file or directory": unknown

ERROR: for dz-googleassistant  Cannot start service dz-googleassistant: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"python3 /__main__.py\": stat python3 /__main__.py: no such file or directory": unknown
ERROR: Encountered errors while bringing up the project.

Re: Domoticz-Google-Assistant (dzga)

Posted: Thursday 17 September 2020 20:20
by Flappie
Since IFTTT is stopping its free service, i'm trying to install dzga.
However, the installation script does not work?

When entering the command in SSH, nothing happens?
Image