Domoticz-Google-Assistant (dzga) Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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 ;)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
dizzyweb
Posts: 20
Joined: Tuesday 20 June 2017 13:46
Target OS: Linux
Domoticz version: 4.10007
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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?!
ressof
Posts: 60
Joined: Thursday 20 April 2017 7:20
Target OS: Linux
Domoticz version: Latest
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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.
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
ressof
Posts: 60
Joined: Thursday 20 April 2017 7:20
Target OS: Linux
Domoticz version: Latest
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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.
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Domoticz-Google-Assistant (dzga)

Post by EddyG »

Yes. :!: :!: :!: It works in Dutch too. :D
Google asks for my security code and if I pronounce the 4 digits one by one it works. :D
JediMax
Posts: 14
Joined: Tuesday 23 April 2019 14:35
Target OS: Linux
Domoticz version: 2020.2
Location: Kyiv, Ukraine
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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

Code: Select all

systenctl daemon-reload
end start dzga servise

Code: Select all

systemctl restart dzga
User avatar
scrabble
Posts: 1
Joined: Tuesday 12 May 2020 13:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Belgium
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by scrabble »

Is there currently a way to read utility sensor values from a Google Assistant command, like "what's my current energy usage"?
Attachments
sensor example
sensor example
chrome_ZrmxoBia8l.png (15.73 KiB) Viewed 19718 times
Xavier82
Posts: 178
Joined: Tuesday 07 June 2016 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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!
Xavier82
Posts: 178
Joined: Tuesday 07 June 2016 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
FireWizard
Posts: 1863
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by JuanUil »

Nice
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
DarkG
Posts: 89
Joined: Friday 15 September 2017 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10076
Location: Germany
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by DarkG »

Is it a Problem that port 443 is in use with domoticz?
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post by DewGew »

New master version out. Try it and give us feedback
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
SterkeJerke
Posts: 18
Joined: Friday 01 February 2019 20:57
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz-Google-Assistant (dzga)

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest