Domoticz-Google-Assistant (dzga) Topic is solved
Moderator: leecollings
-
- Posts: 62
- Joined: Monday 28 August 2017 16:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
possible to add MQTT client gateway connection ? domoticz wil imedialy report state to DZGA with it. it worked fine with homebridge, the states are imedialy reported from domoticz to homebridge. is it possible to add it to dzga ? if then a switch wil be switched in Domoticz then the state wil be imedialy report to dzga and google home also.
and add sensors (temp/hum) sensors wil be fine and not show them as thermostats (i have a lot of them)
thank you, realy nice work with dzga
and add sensors (temp/hum) sensors wil be fine and not show them as thermostats (i have a lot of them)
thank you, realy nice work with dzga
-
- 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,
Does somebody have a solution for dimmers (Shelly Dimmer2) in DZGA?
Shelly Dimmer 2 comes as "Colorswitch" now in DZGA.
I would like to use the command "All lights on" and this command should trigger only those devices which have device type "Light".
When giving that command at this moment also the lights with device type "Colorswitch" are activated.
I hope there is a solution in DZGA for this, because I want to be able to set them to on/off and dimming with %.
When in device configuration device type is set to "Switch" I can only set them on or off.
I'm aware of the feature to use "routines" within Google Home but thats not what I want/the way I want to use this.
Second question:
I have 4 Google Nest Protects 220V installed in our house.
They mainly provide status since they are not something like a switch.
Though I would like to be able to ask by voice command for the status.
Is it perhaps an idea to add a device type like "fire/smoke detector"?
Thanks!
Does somebody have a solution for dimmers (Shelly Dimmer2) in DZGA?
Shelly Dimmer 2 comes as "Colorswitch" now in DZGA.
I would like to use the command "All lights on" and this command should trigger only those devices which have device type "Light".
When giving that command at this moment also the lights with device type "Colorswitch" are activated.
I hope there is a solution in DZGA for this, because I want to be able to set them to on/off and dimming with %.
When in device configuration device type is set to "Switch" I can only set them on or off.
I'm aware of the feature to use "routines" within Google Home but thats not what I want/the way I want to use this.
Second question:
I have 4 Google Nest Protects 220V installed in our house.
They mainly provide status since they are not something like a switch.
Though I would like to be able to ask by voice command for the status.
Is it perhaps an idea to add a device type like "fire/smoke detector"?
Thanks!
-
- Posts: 108
- Joined: Monday 04 March 2019 14:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Location: France
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello,
I have installed successfully Domoticz to Google Home/Assistant (proxy on apache) on my RPI / domoticz configuration (to replace the IFTTT feature which is becoming useless).
In Google Home I synchronize all the devices declared in Domoticz (via HomeGraph) and I am able to control with the voice the devices.
However the control is not precise enough and sometimes I order several devices at the same time because the device names are very similar.
I would like to control the devices more precisely using a shortname.
As described in Domoticz-Google-Assistant I defined in the Device Description the nickname
For example:
<voicecontrol>
nicknames = parterre
</voicecontrol>
But when I say "Allume le parterre" nothing happens.
If somebody has already implemented successfully the nickname feature I would appreciate to share/benefit from his experience.
Many thanks in advance
BR
I have installed successfully Domoticz to Google Home/Assistant (proxy on apache) on my RPI / domoticz configuration (to replace the IFTTT feature which is becoming useless).
In Google Home I synchronize all the devices declared in Domoticz (via HomeGraph) and I am able to control with the voice the devices.
However the control is not precise enough and sometimes I order several devices at the same time because the device names are very similar.
I would like to control the devices more precisely using a shortname.
As described in Domoticz-Google-Assistant I defined in the Device Description the nickname
For example:
<voicecontrol>
nicknames = parterre
</voicecontrol>
But when I say "Allume le parterre" nothing happens.
If somebody has already implemented successfully the nickname feature I would appreciate to share/benefit from his experience.
Many thanks in advance
BR
meal
-
- Posts: 108
- Joined: Monday 04 March 2019 14:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Location: France
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello,
The issue is fixed.
I opened Google Home on my iPhone, unlinked my SmartHome application and linked again my SmartHome application to refresh Google Home with the latest information.
BR
The issue is fixed.
I opened Google Home on my iPhone, unlinked my SmartHome application and linked again my SmartHome application to refresh Google Home with the latest information.
BR
meal
-
- Posts: 50
- Joined: Wednesday 06 March 2019 21:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hello
I find this post on discord
What do you think about that...
DGZA is out the 3 october?
Or have you a solution?
Thank's for the help
I find this post on discord
What do you think about that...
DGZA is out the 3 october?
Or have you a solution?
Thank's for the help
-
- Posts: 218
- Joined: Friday 04 November 2016 12:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: Domoticz-Google-Assistant (dzga)
This concerns all Google projects which are in production mode. Its is normally up to the developer to update.
This does not concern projects in test mode which is (fortunately) the case for the nodered Google smart home project that I use.
I also use Google assistant relay project, in production mode and developer has produced un update, but complete configuration becomes necessary.
The migration process is discussed here https://github.com/greghesp/assistant-relay/issues/272
This does not concern projects in test mode which is (fortunately) the case for the nodered Google smart home project that I use.
I also use Google assistant relay project, in production mode and developer has produced un update, but complete configuration becomes necessary.
The migration process is discussed here https://github.com/greghesp/assistant-relay/issues/272
-
- Posts: 50
- Joined: Wednesday 06 March 2019 21:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
hello
Has somebody test the new domoticz release 2022.2 and dgza.
Problems or not? About blinds?
Thank's
Has somebody test the new domoticz release 2022.2 and dgza.
Problems or not? About blinds?
Thank's
-
- Posts: 7
- Joined: Monday 13 April 2020 16:19
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Thank you, looking arround on the internet and finally the sollution. Is there a general list for dzga recognition?DewGew wrote: ↑Friday 27 March 2020 8:34 Functions on latest V1.7.2
There is new function to change device type, icon and some behavior depending on the device (e.g open/close instead of on/off).
For fully control you can remove Image_Override from config.
To change device type, add to discription for your device in domoticz:
or in Device_Config in config.yaml:Code: Select all
<voicecontrol> devicetype = oven </voicecontrol>
Light Device types to choose from is:Code: Select all
Device_Config: 212: devicetype: 'oven'
light, ac_unit, bathtub, coffemaker, dishwasher, dryer, fan, heater, kettle, media, microwave, outlet, oven, speaker, switch, vacuum, washer, waterheater, window, gate, garage.
For heater, kettle, waterheater, oven you can also use merge_thermo_idx to merge thermostat to control temperature.
Door Contact devices can choose window, gate or garageCode: Select all
<voicecontrol> devicetype = oven merge_thermo_idx = 432 </voicecontrol>
Selector devices can choose only vacuum
Feedback is appreciated
Best regards Cees
Domoticz 2024.4 (build 15910) running on Synology (DS920+ DSM 7) with P1, Conbee II, RFXtrx433 Version: Pro XL1/1044
-
- Posts: 50
- Joined: Wednesday 06 March 2019 21:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
For me blinds are correct in domoticz. Open -> open, Closed -> closed
But when i say in ok Google with dgza order are inverted...
To open i must say closed and to close i must say open....
Some idea?
But when i say in ok Google with dgza order are inverted...
To open i must say closed and to close i must say open....
Some idea?
-
- Posts: 50
- Joined: Wednesday 06 March 2019 21:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
I find this solution that work's for me
Code: Select all
https://github.com/DewGew/Domoticz-Google-Assistant/issues/285
-
- 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 all,
Since about 1 week I have some issues with Google Home/DZGA.
When using Google Home app and giving a text command I get the error that there are no devices.
So I tried in the Google Home app to reconnect the linked services ([test] Domoticz....) when doing this I get the error "Client_id ******** invalid"
So I deleted the service and re-added the service but still the same issue.
Nothing has changed in the past few months/weeks with the Home app or on AoG/service accounts API's what so ever.
Anybody any idea on how to fix this?
UPDATE:
I created an entire new project following the wiki.
Got the devices back in Google Home app.
Still 1 issue.....
I'm using android (Samsung S22), while pressing the home button, the Google Assistant pops up and I can give voice or text commands.
When giving a text entry like "sync devices" or "all lights on" I get the message (translated from Dutch): "Looks like your lights are not setup. Go to Assistent settings"
Any idea about that?
Since about 1 week I have some issues with Google Home/DZGA.
When using Google Home app and giving a text command I get the error that there are no devices.
So I tried in the Google Home app to reconnect the linked services ([test] Domoticz....) when doing this I get the error "Client_id ******** invalid"
So I deleted the service and re-added the service but still the same issue.
Nothing has changed in the past few months/weeks with the Home app or on AoG/service accounts API's what so ever.
Anybody any idea on how to fix this?
UPDATE:
I created an entire new project following the wiki.
Got the devices back in Google Home app.
Still 1 issue.....
I'm using android (Samsung S22), while pressing the home button, the Google Assistant pops up and I can give voice or text commands.
When giving a text entry like "sync devices" or "all lights on" I get the message (translated from Dutch): "Looks like your lights are not setup. Go to Assistent settings"
Any idea about that?
-
- Posts: 21
- Joined: Monday 07 December 2015 14:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hi,
Since a few days I cannot connect anymore to DZGA from Google Home. It started with a total disruption of all the linked 3rd party services in Google Home. Each service directly gave me "could not access..." immediately. After contacting Google they provided me with a solution, which was resetting the Google Home app and Google Play Service and re-updating them. I appeared that I was not the only one experiencing this issue. After applying the proposed solution I was able to link to all 3rd party services I used before except DZGA
. When trying to link I get the DZGA login screen, but after entering the credentials Google Home gives met the message "Could not reach [test] ...... Please try again."
Any help would be highly appreciated. I am almost pulling my hair out
Thanks in advance!!
Willem
Since a few days I cannot connect anymore to DZGA from Google Home. It started with a total disruption of all the linked 3rd party services in Google Home. Each service directly gave me "could not access..." immediately. After contacting Google they provided me with a solution, which was resetting the Google Home app and Google Play Service and re-updating them. I appeared that I was not the only one experiencing this issue. After applying the proposed solution I was able to link to all 3rd party services I used before except DZGA

Any help would be highly appreciated. I am almost pulling my hair out

Thanks in advance!!
Willem
-
- Posts: 21
- Joined: Monday 07 December 2015 14:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Additional information:
After trying to link I requested the status of DZGA:
Dec 11 21:08:01 domoticz python3[26509]: Google Assistant requests an action.dev
Dec 11 21:08:01 domoticz python3[26509]: 'Camera_Stream'
What does it mean??
After trying to link I requested the status of DZGA:
Dec 11 21:08:01 domoticz python3[26509]: Google Assistant requests an action.dev
Dec 11 21:08:01 domoticz python3[26509]: 'Camera_Stream'
What does it mean??
- 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)
What does the log say?
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: 21
- Joined: Monday 07 December 2015 14:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hi DewGew,
This is what I found in de log:
2022-12-12 21:10:42 - INFO - Connecting to Domoticz on http://192.168.1.55:8084
2022-12-12 21:10:42 - ERROR - Service account key is not found. Report state will be unavailable
2022-12-12 21:10:42 - INFO - Using SSL connection
2022-12-12 21:10:42 - INFO - ========
2022-12-12 21:10:42 - INFO - Started DZGA v1.22.24 server at port 3030
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - Visit https://localhost:3030/settings to access the user interface
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - =========
2022-12-12 21:10:42 - INFO - Visit the Actions on Google console at http://console.actions.google.com
2022-12-12 21:10:42 - INFO - Under Develop section, replace the fulfillment URL in Actions with:
2022-12-12 21:10:42 - INFO - https://[your public url]/smarthome
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - In Account linking, set the Authorization URL to:
2022-12-12 21:10:42 - INFO - https://[your public url]/oauth
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - Then set the Token URL to:
2022-12-12 21:10:42 - INFO - https://[your public url]/token
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - Finally press 'SAVE' and then 'TEST' button
2022-12-12 21:10:42 - INFO - =======
2022-12-12 21:17:41 - INFO - {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "18341773653290464337"
}
2022-12-12 21:17:41 - INFO - Google Assistant requests an action.devices.SYNC
2022-12-12 21:17:42 - ERROR - 'Camera_Stream'
2022-12-12 21:17:42 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '18341773653290464337'}: {'errorCode': 'unknownError'}
2022-12-12 21:17:42 - INFO - {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "6242210263203520532"
}
2022-12-12 21:17:42 - INFO - Google Assistant requests an action.devices.SYNC
2022-12-12 21:17:42 - ERROR - 'Camera_Stream'
2022-12-12 21:17:42 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '6242210263203520532'}: {'errorCode': 'unknownError'}
2022-12-12 21:17:42 - INFO - {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "15469753967759146815"
}
2022-12-12 21:17:42 - INFO - Google Assistant requests an action.devices.SYNC
2022-12-12 21:17:43 - ERROR - 'Camera_Stream'
2022-12-12 21:17:43 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '15469753967759146815'}: {'errorCode': 'unknownError'}
This is what I found in de log:
2022-12-12 21:10:42 - INFO - Connecting to Domoticz on http://192.168.1.55:8084
2022-12-12 21:10:42 - ERROR - Service account key is not found. Report state will be unavailable
2022-12-12 21:10:42 - INFO - Using SSL connection
2022-12-12 21:10:42 - INFO - ========
2022-12-12 21:10:42 - INFO - Started DZGA v1.22.24 server at port 3030
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - Visit https://localhost:3030/settings to access the user interface
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - =========
2022-12-12 21:10:42 - INFO - Visit the Actions on Google console at http://console.actions.google.com
2022-12-12 21:10:42 - INFO - Under Develop section, replace the fulfillment URL in Actions with:
2022-12-12 21:10:42 - INFO - https://[your public url]/smarthome
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - In Account linking, set the Authorization URL to:
2022-12-12 21:10:42 - INFO - https://[your public url]/oauth
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - Then set the Token URL to:
2022-12-12 21:10:42 - INFO - https://[your public url]/token
2022-12-12 21:10:42 - INFO -
2022-12-12 21:10:42 - INFO - Finally press 'SAVE' and then 'TEST' button
2022-12-12 21:10:42 - INFO - =======
2022-12-12 21:17:41 - INFO - {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "18341773653290464337"
}
2022-12-12 21:17:41 - INFO - Google Assistant requests an action.devices.SYNC
2022-12-12 21:17:42 - ERROR - 'Camera_Stream'
2022-12-12 21:17:42 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '18341773653290464337'}: {'errorCode': 'unknownError'}
2022-12-12 21:17:42 - INFO - {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "6242210263203520532"
}
2022-12-12 21:17:42 - INFO - Google Assistant requests an action.devices.SYNC
2022-12-12 21:17:42 - ERROR - 'Camera_Stream'
2022-12-12 21:17:42 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '6242210263203520532'}: {'errorCode': 'unknownError'}
2022-12-12 21:17:42 - INFO - {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "15469753967759146815"
}
2022-12-12 21:17:42 - INFO - Google Assistant requests an action.devices.SYNC
2022-12-12 21:17:43 - ERROR - 'Camera_Stream'
2022-12-12 21:17:43 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': '15469753967759146815'}: {'errorCode': 'unknownError'}
- 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)
Change this in config.yaml and try again:
Code: Select all
Camera_Stream:
Enabled: false
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: 21
- Joined: Monday 07 December 2015 14:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
It works again with this addition in the config.yaml ! Thank you DewGew!
Just curious, do you know why this is now necessary? Before the link with Google Home worked fine without this parameter.
Just curious, do you know why this is now necessary? Before the link with Google Home worked fine without this parameter.
- 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)
I added some new funktions but that is fixed now in latest
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: 53
- Joined: Friday 16 September 2016 14:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz-Google-Assistant (dzga)
Hi, I have a question regarding sync. Is there an easy way to call "https://[YOUR REVERSE PROXY URL]/sync" from dzVents or any command line instruction which trigger sync. Sync is working fine but first we need to authorized and click "SIGN IN". Maybe there is a way to using wget, curl ?
- 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)
Maybe try somwething like this:kofec wrote: ↑Thursday 22 December 2022 12:11 Hi, I have a question regarding sync. Is there an easy way to call "https://[YOUR REVERSE PROXY URL]/sync" from dzVents or any command line instruction which trigger sync. Sync is working fine but first we need to authorized and click "SIGN IN". Maybe there is a way to using wget, curl ?
Code: Select all
local idx = 123
local url = '192.168.1.123:3030'
local token = 'YOURCOOLTOKEN' --You can find your authToken in dzga settings page
return {
on = {
devices = {idx}
},
execute = function(domoticz, item)
domoticz.log(dev, domoticz.LOG_INFO)
if (item.active) then
domoticz.openURL({
url = 'http://'..url..'/sync',
method = 'POST',
headers = {
Authorization = 'Bearer '..token
},
})
domoticz.log('Syncing devices with dzga.', domoticz.LOG_INFO)
end
end
}
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
Who is online
Users browsing this forum: No registered users and 1 guest