Page 2 of 19
Re: Domoticz-Google-Assistant (dzga)
Posted: Monday 06 April 2020 7:37
by DewGew
Justintime wrote: ↑Saturday 04 April 2020 11:51
DewGew wrote:Justintime wrote: ↑Tuesday 31 March 2020 21:11
Still i get the message "there is an unknown fault" (in dutch) I know this is a language thing. Is this on the roadmap to solve?
Otherwise i know what to do in Domiticz to quiet this.
I dont get that message. When do you get it?
When I give a command "zet Eettafellamp aan" (turn on dining light)
Google is turning on the light. She gives confirmation but than she says there is an unknown error / fault.
I have solved this to put this text in domoticz switch.
<voicecontrol>
nicknames = Eettafellamp
report_state = False
</voicecontrol>
But i have to do with every switch. Except curtains.
Another question. When I say synchronize devices. Domoticz google home is calling it "my test app" where can is change the name?
what dzga version do you use? But i think you smart-home-key.json is not valid. Make sure its for correct project.
In Actions on Google you can change name to somthing like mycoolvoice under develop/Invocation. Then it will show [test]mycoolvoice in google home app
Re: Domoticz-Google-Assistant (dzga)
Posted: Monday 06 April 2020 9:27
by EdwinK
DewGew wrote: ↑Monday 06 April 2020 7:35
EdwinK wrote: ↑Saturday 04 April 2020 19:26
One day I will understand all this. I promise.
For domain name, can I use something like noip.com or should it be more as
www.mydomain.com?
You can use noip.com or similar with reverse proxy
okay, Going to pretend that I understand this

Re: Domoticz-Google-Assistant (dzga)
Posted: Tuesday 07 April 2020 16:55
by dizzyweb
I just can't even get this to run.... Installed it, trying to set a display name for invocation at the Actions Console and *everything* I try is restricted. My name contains a restricted word. sdhfgadsyufgafghadsgfdsl contains a restricted word. 12345 contains a restricted word. Every single combination of letters and numbers I enter contains a restricted word. Or it's a protected brand.
So seriously... how?!
Re: Domoticz-Google-Assistant (dzga)
Posted: Wednesday 08 April 2020 10:44
by ressof
I wonder if you can somehow pass to domoitcz the name or IP of the google home device that sent the order.
I would need this to my NodeRed implementation to speak when a certain thing happens in Domoticz.
Re: Domoticz-Google-Assistant (dzga)
Posted: Wednesday 08 April 2020 15:54
by DewGew
ressof wrote: ↑Wednesday 08 April 2020 10:44
I wonder if you can somehow pass to domoitcz the name or IP of the google home device that sent the order.
I would need this to my NodeRed implementation to speak when a certain thing happens in Domoticz.
No I dont think I can. For that I think we need Local fulfillment. Thats not implemted in dzga.
Re: Domoticz-Google-Assistant (dzga)
Posted: Wednesday 08 April 2020 15:55
by DewGew
dizzyweb wrote: ↑Tuesday 07 April 2020 16:55
I just can't even get this to run.... Installed it, trying to set a display name for invocation at the Actions Console and *everything* I try is restricted. My name contains a restricted word. sdhfgadsyufgafghadsgfdsl contains a restricted word. 12345 contains a restricted word. Every single combination of letters and numbers I enter contains a restricted word. Or it's a protected brand.
So seriously... how?!
Dont set any display name.
Re: Domoticz-Google-Assistant (dzga)
Posted: Thursday 09 April 2020 7:36
by ressof
DewGew wrote: ↑Wednesday 08 April 2020 15:54
ressof wrote: ↑Wednesday 08 April 2020 10:44
I wonder if you can somehow pass to domoitcz the name or IP of the google home device that sent the order.
I would need this to my NodeRed implementation to speak when a certain thing happens in Domoticz.
No I dont think I can. For that I think we need Local fulfillment. Thats not implemted in dzga.
Ok. Thank you for your reply.
Re: Domoticz-Google-Assistant (dzga)
Posted: Friday 08 May 2020 9:11
by DewGew
It seems like Google have fixed the issues with language support for ack and pin. It works for me in swedish. Can anyone else confirm?
Re: Domoticz-Google-Assistant (dzga)
Posted: Monday 11 May 2020 15:12
by EddyG
Re: Domoticz-Google-Assistant (dzga)
Posted: Monday 11 May 2020 19:22
by JediMax
Thank you for your work.
I try to install dzga on my Ubuntu. It have to be installed only to /user/<username> directory. But dzga service not start.
Then I manually execute install scripts
Code: Select all
bash /scripts/install.sh
bash /scripts/service-installer.sh
reload daemon
end start dzga servise
Re: Domoticz-Google-Assistant (dzga)
Posted: Tuesday 12 May 2020 13:25
by scrabble
Is there currently a way to read utility sensor values from a Google Assistant command, like "what's my current energy usage"?
Re: Domoticz-Google-Assistant (dzga)
Posted: Tuesday 12 May 2020 16:10
by Xavier82
Hi all,
since upgrade of DZGA and Domoticz-Google-Assistent I encounter the following problem:
raspberrypi:~ $ sudo systemctl status dzga
● dzga.service - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzga.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-05-12 16:00:09 CEST; 1min 7s ago
Process: 12176 ExecStart=/home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/ (code=exited, status=1/FAILURE)
Main PID: 12176 (code=exited, status=1/FAILURE)
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Service RestartSec=100ms expired, scheduling restart.
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Scheduled restart job, restart counter is at 5.
mei 12 16:00:09 raspberrypi systemd[1]: Stopped Domoticz-Google-Assistant Service.
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Start request repeated too quickly.
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Failed with result 'exit-code'.
mei 12 16:00:09 raspberrypi systemd[1]: Failed to start Domoticz-Google-Assistant Service.
Can anyone please help me how to fix this?
Thanks!
Re: Domoticz-Google-Assistant (dzga)
Posted: Tuesday 12 May 2020 16:23
by Xavier82
Xavier82 wrote: ↑Tuesday 12 May 2020 16:10
Hi all,
since upgrade of DZGA and Domoticz-Google-Assistent I encounter the following problem:
raspberrypi:~ $ sudo systemctl status dzga
● dzga.service - Domoticz-Google-Assistant Service
Loaded: loaded (/etc/systemd/system/dzga.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-05-12 16:00:09 CEST; 1min 7s ago
Process: 12176 ExecStart=/home/pi/Domoticz-Google-Assistant/env/bin/python3 /home/pi/Domoticz-Google-Assistant/ (code=exited, status=1/FAILURE)
Main PID: 12176 (code=exited, status=1/FAILURE)
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Service RestartSec=100ms expired, scheduling restart.
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Scheduled restart job, restart counter is at 5.
mei 12 16:00:09 raspberrypi systemd[1]: Stopped Domoticz-Google-Assistant Service.
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Start request repeated too quickly.
mei 12 16:00:09 raspberrypi systemd[1]: dzga.service: Failed with result 'exit-code'.
mei 12 16:00:09 raspberrypi systemd[1]: Failed to start Domoticz-Google-Assistant Service.
Can anyone please help me how to fix this?
Thanks!
Sorry, fixed it by manually execute install scripts as described by JediMax
Re: Domoticz-Google-Assistant (dzga)
Posted: Monday 18 May 2020 20:29
by DewGew
scrabble wrote: ↑Tuesday 12 May 2020 13:25
Is there currently a way to read utility sensor values from a Google Assistant command, like "what's my current energy usage"?
Would be useful but dont find any trait that matches that in google assistant. We have to wait if google wants to add this
Re: Domoticz-Google-Assistant (dzga)
Posted: Monday 18 May 2020 21:37
by FireWizard
Hi,
As far as I'm aware, this is on Google's list (already for a longer time).
The sensor trait action.devices.types.Sensor is not officially available, as far as I know, but I found some info.
I found some documents at:
https://developers.google.com/assistant ... ome/guides
and
https://developers.google.com/assistant ... ome/traits
Currently only a Temperature Sensor is supported.
The queryOnlyTemperatureSetting is available on TemperatureSettings trait, so temperature sensor can be implemented as a thermostat with queryOnlyTemperatureSetting attribute. But that is, because thermostat is supported. @DewGew,

Again the thermostat.
But the function for us is in a very early state, as you can also see at:
https://www.reddit.com/r/GoogleAssistan ... ice_types/
Regards
Re: Domoticz-Google-Assistant (dzga)
Posted: Tuesday 19 May 2020 11:25
by JuanUil
Nice
Re: Domoticz-Google-Assistant (dzga)
Posted: Tuesday 19 May 2020 16:46
by DarkG
Is it a Problem that port 443 is in use with domoticz?
Re: Domoticz-Google-Assistant (dzga)
Posted: Tuesday 19 May 2020 17:36
by DewGew
DarkG wrote: ↑Tuesday 19 May 2020 16:46
Is it a Problem that port 443 is in use with domoticz?
No not really, depends how you setup your servers. I recommend to setup a reverse proxy.
Re: Domoticz-Google-Assistant (dzga)
Posted: Sunday 07 June 2020 22:40
by DewGew
New master version out. Try it and give us feedback
Re: Domoticz-Google-Assistant (dzga)
Posted: Monday 08 June 2020 9:34
by SterkeJerke
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?