Page 19 of 19

Re: Domoticz-Google-Assistant (dzga)

Posted: Tuesday 29 October 2024 19:21
by mark.sellwood
I gave up with this and moved back to Controlicz.
Domoticz-Google-Assistant worked but I never managed to get DZGA-Flask working due to issues with nginx. Looking at GitHub this hasn't been updated for 8 months & the owner hasn't been active for some time also the group on Discord went quiet back in May.

Re: Domoticz-Google-Assistant (dzga)

Posted: Saturday 02 November 2024 19:46
by Filip
I am working with DZGA since a very long time... All is working nice... I have one protected device... Initially working with Google Assistant worked fine: asking to switch the device generated the request to say the code... However since a few months, it doesn't work anymore: Google Assistant is asking for the code, but then cuts the conversation making it impossible to say the code. Hence the switching the device doesn't work anymore.
Somebody has the same?
I did not yet migrate to DZGA-Flask (see my open topic viewtopic.php?t=42671). So I ignore if the problem would be solved by using DZGA-Flask.
Thanks for your help!

Re: Domoticz-Google-Assistant (dzga)

Posted: Friday 28 February 2025 14:06
by Filip
From the docker-compose (/opt/dzga-flask/instance:/instance) and a quick look in the /opt/dzga-flask/instance, I understood that all the settings are kept in this location. Am I then also right that updating the docker image could also erase these files? Wouldn't it be better to keep these outside the docker environment? Like my domoticz "user data" is also on my pi home folder. Any advice is welcome...

Re: Domoticz-Google-Assistant (dzga)

Posted: Thursday 13 March 2025 17:33
by jpvaneijk
Dear all,

I solved the below with a reinstall of the entire SD card on my Raspberry Pi5 on Bookworm. For completeness, also created a new smart-home-key.json with different IDs. I will leave the post for further reference. Thanx!


Hello people,

I have both Flask (DZGA) and Domoticz installed fine and the all the devices from Domoticz are in Flask's web interface.

In my Google Home app the login interface comes up and seems to connect however I get the following message which I have not had before with the same devices. See below.

No compatible devices were found in your [Test} Flask account
You may need to set up these devices with [Test} Flask first. If you have allready set up devices, they may not support Google Home. In other casus, devices may not be available due to a teporary error.
Please wait a few minutes and try again.


Does anyone have an idea why I can't connect or how to fix this?

Thanks in advance!

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 07 April 2025 13:09
by heggink
Has anyone managed to get dzga-flask running behind a reverse proxy (npm)? If so, what settings have you used for Authorization URL and Token URL in teh google the developer console?

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 07 April 2025 19:08
by heggink
Nvm, figured it out. Works really well now.

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 07 April 2025 19:10
by waltervl
heggink wrote: Monday 07 April 2025 19:08 Nvm, figured it out. Works really well now.
Would be nice how and what you have figured out. For the next one that needs to do this ...

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 07 April 2025 21:50
by mark.sellwood
That would be good, I gave up in the end as I couldn't work it out

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 07 April 2025 22:52
by heggink
waltervl wrote: Monday 07 April 2025 19:10
heggink wrote: Monday 07 April 2025 19:08 Nvm, figured it out. Works really well now.
Would be nice how and what you have figured out. For the next one that needs to do this ...
You are right. In thought this was me being stupid and only just now figuring it out. I will post my config later. It's a bit of fiddling but it is worth it.

Re: Domoticz-Google-Assistant (dzga)

Posted: Monday 07 April 2025 23:27
by heggink
Here's what I did to get it to work:
Go through the setup in the wiki (https://github.com/DewGew/DZGA-Flask/wiki) up to setup actions on google
Go through these steps except for Actions on Google Console.
Rather than doing that section, look at https://github.com/DewGew/DZGA-Flask/issues/120 and follow the steps for the developer console (the wiki is outdated here) but, once done, continue with the wiki again (so you have enabled homegraph api, created teh service account and account keys, saved these in smart-home-key.json)
Then go back to the developer console again (as per issue 120) and ensure you have the right urls (you could have done that first time around btw). Mine (using a reverse proxy) are:
https://<your reverse proxy url>/oauth (auth url)
https://<your reverse proxy url>/token (token url)
https://<your reverse proxy url>/smarthome (could fulfillment url)

That did the trick for me. From then, I can add the service on google home again *search for the name you gave your dzga flask service), authenticate and all my devices were there again.

Happy to hlp.

Herman