Domoticz-Google-Assistant (dzga) Topic is solved
Moderator: leecollings
-
- Posts: 2
- Joined: Thursday 24 September 2020 8:41
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Maybe i didn't look right.
I have 2 rollerblinds which are set in Domoticz as "Blinds percentage inverted"
Google reconized them as blinds but no percentage and there not inverted.
I now have to say open to close them and Close to open them.
Is this a setting i can change?
I have 2 rollerblinds which are set in Domoticz as "Blinds percentage inverted"
Google reconized them as blinds but no percentage and there not inverted.
I now have to say open to close them and Close to open them.
Is this a setting i can change?
-
- Posts: 39
- Joined: Friday 19 February 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I just completed my setup. Slight change from the original wiki article I used Haproxy instead of Nginx as I already had Haproxy for my remote access to my Domoticz. Having said that I have an additional layer of authentication on haproxy as that allows me to push those logs via fail2ban to prevent brute force attacks. Initially I tried dzga with my auth enabled on haproxy but it seems google does not use the token and auth urls correctly when they look like this https://user:[email protected]. I suspect they strip out the user bits and they keep getting firewalled out by fail2ban. As soon as I removed it it worked first time. So if anybody wants to use haproxy that also works. Thanks for this awesome piece of software and detailed documentation this could not have been a small amount of work. Now the transition away from IFTTT is much easier after the stunt they recently pulled trying to screw customers.
-
- Posts: 6
- Joined: Wednesday 10 January 2018 14:31
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I am having the same issue. No solution yetmrfatmen wrote: ↑Thursday 24 September 2020 8:49 Maybe i didn't look right.
I have 2 rollerblinds which are set in Domoticz as "Blinds percentage inverted"
Google reconized them as blinds but no percentage and there not inverted.
I now have to say open to close them and Close to open them.
Is this a setting i can change?
- 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)
I have added blinds inverted to beta branch, try it out. I dont use inverted so I need some feedback.Moosjes wrote: ↑Monday 28 September 2020 10:05I am having the same issue. No solution yetmrfatmen wrote: ↑Thursday 24 September 2020 8:49 Maybe i didn't look right.
I have 2 rollerblinds which are set in Domoticz as "Blinds percentage inverted"
Google reconized them as blinds but no percentage and there not inverted.
I now have to say open to close them and Close to open them.
Is this a setting i can change?
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: 10
- Joined: Thursday 17 October 2019 12:57
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
HelloDewGew wrote: ↑Thursday 01 October 2020 8:03I have added blinds inverted to beta branch, try it out. I dont use inverted so I need some feedback.Moosjes wrote: ↑Monday 28 September 2020 10:05I am having the same issue. No solution yetmrfatmen wrote: ↑Thursday 24 September 2020 8:49 Maybe i didn't look right.
I have 2 rollerblinds which are set in Domoticz as "Blinds percentage inverted"
Google reconized them as blinds but no percentage and there not inverted.
I now have to say open to close them and Close to open them.
Is this a setting i can change?
When I say "open the shutter" google replies "the shutter is already open".
in the LOG I have: 2020-10-01 14:14:14 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state "
thank you for coming back
friendship
- 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)
I missed adding some. But try now again with latest beta (1.8.8)transalpes wrote: ↑Thursday 01 October 2020 14:43Hello
When I say "open the shutter" google replies "the shutter is already open".
in the LOG I have: 2020-10-01 14:14:14 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state "
thank you for coming back
friendship
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: 10
- Joined: Thursday 17 October 2019 12:57
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello
I have another difficulty with the temperature devices, they are incremented from 0.5 to 0.5, is it possible to have them all?
example: 20, 20.5, 21, is it possible to have 20, 20.1, 20.2, 20.3, 20.4 .........?
thank you for coming back
friendship
I have another difficulty with the temperature devices, they are incremented from 0.5 to 0.5, is it possible to have them all?
example: 20, 20.5, 21, is it possible to have 20, 20.1, 20.2, 20.3, 20.4 .........?
thank you for coming back
friendship
-
- Posts: 10
- Joined: Thursday 17 October 2019 12:57
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I always have the same message:DewGew wrote: ↑Thursday 01 October 2020 15:50I missed adding some. But try now again with latest beta (1.8.8)transalpes wrote: ↑Thursday 01 October 2020 14:43Hello
When I say "open the shutter" google replies "the shutter is already open".
in the LOG I have: 2020-10-01 14:14:14 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state "
thank you for coming back
friendship
2020-10-01 18:43:17 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state
-
- Posts: 10
- Joined: Thursday 17 October 2019 12:57
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
small precision, close ok, but open, google rest: already opentransalpes wrote: ↑Thursday 01 October 2020 18:46I always have the same message:DewGew wrote: ↑Thursday 01 October 2020 15:50I missed adding some. But try now again with latest beta (1.8.8)transalpes wrote: ↑Thursday 01 October 2020 14:43
Hello
When I say "open the shutter" google replies "the shutter is already open".
in the LOG I have: 2020-10-01 14:14:14 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state "
thank you for coming back
friendship
2020-10-01 18:43:17 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state
Re: Domoticz-Google-Assistant (dzga)
I think that's a Google issue, because in the dzga logfile you can see that the real values are send.transalpes wrote: ↑Thursday 01 October 2020 16:01 Hello
I have another difficulty with the temperature devices, they are incremented from 0.5 to 0.5, is it possible to have them all?
example: 20, 20.5, 21, is it possible to have 20, 20.1, 20.2, 20.3, 20.4 .........?
thank you for coming back
friendship
It is Google that rounds them off to half degrees.
- 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)
There is a new update on beta (1.8.9)transalpes wrote: ↑Thursday 01 October 2020 19:30small precision, close ok, but open, google rest: already opentransalpes wrote: ↑Thursday 01 October 2020 18:46I always have the same message:
2020-10-01 18:43:17 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state
Are you trying to use percentage inverted?
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: 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)
Hi DewGew,
I hope you can help.
I'm helping a friend out to install DZGA.
Setup:
Rpi3b with Domoticz installed, DZGA installed, pngrok installed (with Python3.7)
So far so good.
In DZGA I also see the devices within Domitcz.
When access to 3030/settings and login, I completely follow (already tried 3 times all over) the manual in the wiki to setup Google actions.
But I can't get it to work.
It looks like things have changes in manual or at Google.
I have added the smart-home-key.json file in the config folder.
I have entered the ngrok url and the auth and token url in action console.
Client Id is exported out of the smart-home-key.json file.
The client secret is exported out the "client_secret_XXX.JSON file from the Google Cloud Platform under "OAuth 2.0 Client-ID's".
Followed steps for account linking.
When clicking Sync devices in dzga I get the error:
Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync
What is going wrong here?
How can I fix this?
I hope you can help.
I'm helping a friend out to install DZGA.
Setup:
Rpi3b with Domoticz installed, DZGA installed, pngrok installed (with Python3.7)
So far so good.
In DZGA I also see the devices within Domitcz.
When access to 3030/settings and login, I completely follow (already tried 3 times all over) the manual in the wiki to setup Google actions.
But I can't get it to work.
It looks like things have changes in manual or at Google.
I have added the smart-home-key.json file in the config folder.
I have entered the ngrok url and the auth and token url in action console.
Client Id is exported out of the smart-home-key.json file.
The client secret is exported out the "client_secret_XXX.JSON file from the Google Cloud Platform under "OAuth 2.0 Client-ID's".
Followed steps for account linking.
When clicking Sync devices in dzga I get the error:
Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync
What is going wrong here?
How can I fix this?
-
- Posts: 10
- Joined: Thursday 17 October 2019 12:57
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Bonjour,DewGew wrote: ↑Friday 02 October 2020 7:48There is a new update on beta (1.8.9)transalpes wrote: ↑Thursday 01 October 2020 19:30small precision, close ok, but open, google rest: already opentransalpes wrote: ↑Thursday 01 October 2020 18:46
I always have the same message:
2020-10-01 18:43:17 - ERROR - Unable to execute action.devices.commands.OpenClose for BlindInverted193. Already in state
Are you trying to use percentage inverted?
I will test as soon as possible
absolutely I use "percentage inverted" and I have the same problem, when I ask for 1% I get 99% ......
thank you for your comeback
-
- Posts: 10
- Joined: Thursday 17 October 2019 12:57
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello,EddyG wrote: ↑Thursday 01 October 2020 19:35I think that's a Google issue, because in the dzga logfile you can see that the real values are send.transalpes wrote: ↑Thursday 01 October 2020 16:01 Hello
I have another difficulty with the temperature devices, they are incremented from 0.5 to 0.5, is it possible to have them all?
example: 20, 20.5, 21, is it possible to have 20, 20.1, 20.2, 20.3, 20.4 .........?
thank you for coming back
friendship
It is Google that rounds them off to half degrees.
Indeed I saw that, it is embarrassing .... moreover I also just saw that it does not take into account the temperatures lower than 10, as well as the negative temperatures example - 5 .....
do we have a solution to overcome it?
thank you for your comeback
-
- Posts: 6
- Joined: Friday 02 October 2020 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hi,
I try to use dzga but wihtout success for now ...
I follow every steps on the wiki : https://www.domoticz.com/wiki/Google_Assistant
My dzga is successfully installed and accessible via HTTPS (Let's Encrypt already use for others websites on the Rasp, like Domoticz)
When i try to add my application on my Google Home app i have an error
When i watch the logs on dzga i see this :
In my nginx logs i see this :
I try this url POST /smarthome on Postman and it give me this response :
What can be wrong with my configuration ?
Thanks
I try to use dzga but wihtout success for now ...
I follow every steps on the wiki : https://www.domoticz.com/wiki/Google_Assistant
My dzga is successfully installed and accessible via HTTPS (Let's Encrypt already use for others websites on the Rasp, like Domoticz)
When i try to add my application on my Google Home app i have an error
When i watch the logs on dzga i see this :
Code: Select all
2020-10-02 16:50:15 - DEBUG - Host: assistant.emee.info
X-Real-IP: 66.249.93.107
X-Forwarded-For: 66.249.93.107
Connection: close
Content-Length: 80
Content-Type: application/json;charset=UTF-8
Google-Assistant-API-Version: v1
Authorization: Bearer XXXXXXX
User-Agent: Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +http://www.google.com/bot.html)
Accept-Encoding: gzip,deflate,br
Code: Select all
66.249.93.107 - - [02/Oct/2020:16:54:24 +0200] "POST /smarthome HTTP/1.1" 404 67 "-" "Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +http://www.google.com/bot.html)"
Code: Select all
Page not found!: not authorized access!!
Thanks
-
- Posts: 10
- Joined: Thursday 17 October 2019 12:57
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I just did a test, it works very well as well as the percentages ... thank you very much and congratulations on your work ...transalpes wrote: ↑Friday 02 October 2020 15:08Bonjour,DewGew wrote: ↑Friday 02 October 2020 7:48There is a new update on beta (1.8.9)transalpes wrote: ↑Thursday 01 October 2020 19:30
small precision, close ok, but open, google rest: already open
Are you trying to use percentage inverted?
I will test as soon as possible
absolutely I use "percentage inverted" and I have the same problem, when I ask for 1% I get 99% ......
thank you for your comeback
- 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)
You have to download and rename the json file you can not copy and paste from the file and make sure its correct project.Xavier82 wrote: ↑Friday 02 October 2020 14:14 Hi DewGew,
I hope you can help.
I'm helping a friend out to install DZGA.
Setup:
Rpi3b with Domoticz installed, DZGA installed, pngrok installed (with Python3.7)
So far so good.
In DZGA I also see the devices within Domitcz.
When access to 3030/settings and login, I completely follow (already tried 3 times all over) the manual in the wiki to setup Google actions.
But I can't get it to work.
It looks like things have changes in manual or at Google.
I have added the smart-home-key.json file in the config folder.
I have entered the ngrok url and the auth and token url in action console.
Client Id is exported out of the smart-home-key.json file.
The client secret is exported out the "client_secret_XXX.JSON file from the Google Cloud Platform under "OAuth 2.0 Client-ID's".
Followed steps for account linking.
When clicking Sync devices in dzga I get the error:
Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync
What is going wrong here?
How can I fix this?
Try also to delete the json file and then sync with voice, if that works json file is corrupted
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
- 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)
Can you add dzga ([test]testapp)in google home app?k20human wrote: ↑Friday 02 October 2020 17:06 Hi,
I try to use dzga but wihtout success for now ...
I follow every steps on the wiki : https://www.domoticz.com/wiki/Google_Assistant
My dzga is successfully installed and accessible via HTTPS (Let's Encrypt already use for others websites on the Rasp, like Domoticz)
When i try to add my application on my Google Home app i have an error
When i watch the logs on dzga i see this :In my nginx logs i see this :Code: Select all
2020-10-02 16:50:15 - DEBUG - Host: assistant.emee.info X-Real-IP: 66.249.93.107 X-Forwarded-For: 66.249.93.107 Connection: close Content-Length: 80 Content-Type: application/json;charset=UTF-8 Google-Assistant-API-Version: v1 Authorization: Bearer XXXXXXX User-Agent: Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +http://www.google.com/bot.html) Accept-Encoding: gzip,deflate,br
I try this url POST /smarthome on Postman and it give me this response :Code: Select all
66.249.93.107 - - [02/Oct/2020:16:54:24 +0200] "POST /smarthome HTTP/1.1" 404 67 "-" "Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +http://www.google.com/bot.html)"
What can be wrong with my configuration ?Code: Select all
Page not found!: not authorized access!!
Thanks
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
- 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)
This is also a google issue. Its reported to googletransalpes wrote: ↑Friday 02 October 2020 15:14Hello,EddyG wrote: ↑Thursday 01 October 2020 19:35I think that's a Google issue, because in the dzga logfile you can see that the real values are send.transalpes wrote: ↑Thursday 01 October 2020 16:01 Hello
I have another difficulty with the temperature devices, they are incremented from 0.5 to 0.5, is it possible to have them all?
example: 20, 20.5, 21, is it possible to have 20, 20.1, 20.2, 20.3, 20.4 .........?
thank you for coming back
friendship
It is Google that rounds them off to half degrees.
Indeed I saw that, it is embarrassing .... moreover I also just saw that it does not take into account the temperatures lower than 10, as well as the negative temperatures example - 5 .....
do we have a solution to overcome it?
thank you for your comeback
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: 6
- Joined: Friday 02 October 2020 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
No i can't add dzga. I have the 404 error in my logs when i try to add it.DewGew wrote: ↑Friday 02 October 2020 19:45Can you add dzga ([test]testapp)in google home app?k20human wrote: ↑Friday 02 October 2020 17:06 Hi,
I try to use dzga but wihtout success for now ...
I follow every steps on the wiki : https://www.domoticz.com/wiki/Google_Assistant
My dzga is successfully installed and accessible via HTTPS (Let's Encrypt already use for others websites on the Rasp, like Domoticz)
When i try to add my application on my Google Home app i have an error
When i watch the logs on dzga i see this :In my nginx logs i see this :Code: Select all
2020-10-02 16:50:15 - DEBUG - Host: assistant.emee.info X-Real-IP: 66.249.93.107 X-Forwarded-For: 66.249.93.107 Connection: close Content-Length: 80 Content-Type: application/json;charset=UTF-8 Google-Assistant-API-Version: v1 Authorization: Bearer XXXXXXX User-Agent: Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +http://www.google.com/bot.html) Accept-Encoding: gzip,deflate,br
I try this url POST /smarthome on Postman and it give me this response :Code: Select all
66.249.93.107 - - [02/Oct/2020:16:54:24 +0200] "POST /smarthome HTTP/1.1" 404 67 "-" "Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +http://www.google.com/bot.html)"
What can be wrong with my configuration ?Code: Select all
Page not found!: not authorized access!!
Thanks
See error in attachement when i click on my test app
- Attachments
-
- Screenshot_2020-10-02-20-00-49-324_com.google.android.googlequicksearchbox.jpg (257.08 KiB) Viewed 2097 times
Who is online
Users browsing this forum: No registered users and 1 guest