Domoticz to Google Assistant integration

Alexa, Google Home and Siri

Moderator: leecollings

tage
Posts: 14
Joined: Monday 14 May 2018 15:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz to Google Assistant integration

Post by tage »

sorry late answer but i finally found what was wrong ..
it was the certificate i made a new one with certbot from letsencrypt after that it worked..
would be greate with a small simple howto with reverse proxy and cert. now i know how to but i guess others want that :)

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

Re: Domoticz to Google Assistant integration

Post by DewGew »

tage wrote: Wednesday 27 November 2019 19:52 sorry late answer but i finally found what was wrong ..
it was the certificate i made a new one with certbot from letsencrypt after that it worked..
would be greate with a small simple howto with reverse proxy and cert. now i know how to but i guess others want that :)

/ tage
Great that its working now. I use synology. It has a reverse proxy built in.
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: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz to Google Assistant integration

Post by DewGew »

New update on github dzga v1.3.2.
  • Configuration in yaml file
  • Improved color temperature
  • Graphical user interface
  • Auto install for rpi/ubuntu
Try out latest, For rpi/ubuntu users, just open a terminal window and execute this command. Thats it!

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)

For manual install klick here
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
ProfaNe
Posts: 5
Joined: Sunday 01 December 2019 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz to Google Assistant integration

Post by ProfaNe »

First of all, thank you for building this app.

I tried configuring Google Assistant with domoticz but i found some issues and vague steps in the manual.

First step is to clone the project and install the requirements with "pip install -r". The next step is to start the project with "python3". Shouldn't the "pip install -r" be "pip3 install -r" just to be sure the python packages for python3 are installed?

When i start the project with "python3" there is still a package missing named pyngrok. This could be my setup only. Also i think you can remove pkg-resources from the requirements list.

I can start the app with "python3" and everything works so far. I can go to /settings and edit everything. I can see my devices from domoticz appearing in the app.

When i sync the devices i can see a 404 in the log:

2019-12-01 13:57:03 - DEBUG - https://homegraph.googleapis.com:443 "POST /v1/devices:requestSync?key=******************* HTTP/1.1" 404 None

When i open google home on my android device the "[test]appname" does appear but when i click it it does nothing. I wont get a login or anything. I dont see anything in my logs on my raspberry pi. There seems to be no connection between google and the domoticz app on my raspberry. When i click "test" on the "actions on google" console i get a error "something went wrong". Should i see any logs on my raspberry when i test the action on "actions on google"?

I have run trough the manual multiple times and all the settings should be correct. Could using my IP without a certificate cause any problems? I use nginx as proxy with https but without valid certificate. Since i have already a app running on port 443 on my raspberry pi iam running nginx on port 444 and portfoward 443 to 444 on my router. Are there also any privacy settings on my google account i should check?

Edit: i fixed it now by using the ngrok tunnel. I guess using my public IP without valid certificate wont work. Will it work when i use a domain name with valid certificate? Also, is it possible to hide devices from google home?

There is one issue with my milight lights. I have them setup as a switch in domoticz and my milights appear in google home but with the following error:

Error handling message {'requestId': '1786981529328158506', 'inputs': [{'context': {'locale_country': 'NL', 'locale_language': 'nl'}, 'intent': 'action.devices.EXECUTE', 'payload': {'commands': [{'devices': [{'id': 'ColorSwitch21'}], 'execution': [{'params': {'on': False}, 'command': 'action.devices.commands.OnOff'}]}]}}]}: {'errorCode': 'unknownError'}
127.0.0.1 - - [01/Dec/2019 15:32:07] "POST /smarthome HTTP/1.1" 200 -
Response: {
"requestId": "1786981529328158506",
"payload": {
"errorCode": "unknownError"
}
}

This is the milight when i sync devices:

{
"willReportState": false,
"deviceInfo": {
"manufacturer": "milight"
},
"traits": [
"action.devices.traits.OnOff",
"action.devices.traits.Brightness",
"action.devices.traits.ColorSetting"
],
"attributes": {
"colorTemperatureRange": {
"temperatureMinK": 1700,
"temperatureMaxK": 6500
},
"colorModel": "rgb"
},
"name": {
"name": "Slaapkamer Lamp"
},
"type": "action.devices.types.LIGHT",
"id": "ColorSwitch21"
}

I can still use my voice commands to turn on/off the light but google home mini says there is an error each time. The google home app says it is not responding.
lzwfkv
Posts: 37
Joined: Sunday 11 August 2019 16:54
Target OS: -
Domoticz version:
Contact:

Re: Domoticz to Google Assistant integration

Post by lzwfkv »

DewGew wrote: Friday 29 November 2019 9:57 New update on github dzga v1.3.2.
  • Configuration in yaml file
  • Improved color temperature
  • Graphical user interface
  • Auto install for rpi/ubuntu
Try out latest, For rpi/ubuntu users, just open a terminal window and execute this command. Thats it!

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)

For manual install klick here
Hello DewGew, this latest version works fine, thank you for keeping it uptodate and improving it. Just a few minor issues that i have faced updating from previous version:
Regarding installation:
  • Had to map all the settings from previous config.py to config.yaml, in particular it is time consuming for Device_Config; it is tedious, but nevermind i have done it by now.
  • Had to remove "pkg-resources>=0.0.0" from pip-requirements.txt because pip could not find such a module and gave errors. By the way, as i understand, it is not needed to explicitely declare such a module as a dependency.
  • In the installation procedure, I couldn't find pip command installed on the system, i have pip3 only and i used it successfuly. Using pip3 would also ensure python3 is used.
  • pyngrok shoudn't be a mandatory requirement, because i use Caddy Proxy for exposing DZGA to Google Assistant and i don't need/want to set up a tunnel with ngrok proxy, but i am forced to install pyngrok anyway.
Functionality:
  • voicecontrol device configuration is not failed back to the settings in config.yaml when tags are not found on the Domoticz device's description. It only checks for device description tags <voicecontrol> in Domoticz, if not found then devices customization is not synch'ed with G Home even if they are configured in config.yaml in Device_Config section.
It would be wonderful if you could look into restoring the fail back of device_config with config.yaml configuration, because i think it is by far preferrable to have all the devices' configurations centralized into one place, rather than having them spread across multiple devices in Domoticz, with the risk to forget or miss where device are configured or not, and which devices are configured.

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

Re: Domoticz to Google Assistant integration

Post by DewGew »

lzwfkv wrote: Monday 02 December 2019 6:30
DewGew wrote: Friday 29 November 2019 9:57 New update on github dzga v1.3.2.
  • Configuration in yaml file
  • Improved color temperature
  • Graphical user interface
  • Auto install for rpi/ubuntu
Try out latest, For rpi/ubuntu users, just open a terminal window and execute this command. Thats it!

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)

For manual install klick here
Hello DewGew, this latest version works fine, thank you for keeping it uptodate and improving it. Just a few minor issues that i have faced updating from previous version:
Regarding installation:
  • Had to map all the settings from previous config.py to config.yaml, in particular it is time consuming for Device_Config; it is tedious, but nevermind i have done it by now.
  • Had to remove "pkg-resources>=0.0.0" from pip-requirements.txt because pip could not find such a module and gave errors. By the way, as i understand, it is not needed to explicitely declare such a module as a dependency.
  • In the installation procedure, I couldn't find pip command installed on the system, i have pip3 only and i used it successfuly. Using pip3 would also ensure python3 is used.
  • pyngrok shoudn't be a mandatory requirement, because i use Caddy Proxy for exposing DZGA to Google Assistant and i don't need/want to set up a tunnel with ngrok proxy, but i am forced to install pyngrok anyway.
Functionality:
  • voicecontrol device configuration is not failed back to the settings in config.yaml when tags are not found on the Domoticz device's description. It only checks for device description tags <voicecontrol> in Domoticz, if not found then devices customization is not synch'ed with G Home even if they are configured in config.yaml in Device_Config section.
It would be wonderful if you could look into restoring the fail back of device_config with config.yaml configuration, because i think it is by far preferrable to have all the devices' configurations centralized into one place, rather than having them spread across multiple devices in Domoticz, with the risk to forget or miss where device are configured or not, and which devices are configured.

Thank you again.
Thank you for your feedback. I created 2 issues github with your post. Github Issue #47 and Github Issue #48
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: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz to Google Assistant integration

Post by DewGew »

ProfaNe wrote: Sunday 01 December 2019 14:32 First of all, thank you for building this app.

I tried configuring Google Assistant with domoticz but i found some issues and vague steps in the manual.

First step is to clone the project and install the requirements with "pip install -r". The next step is to start the project with "python3". Shouldn't the "pip install -r" be "pip3 install -r" just to be sure the python packages for python3 are installed?

When i start the project with "python3" there is still a package missing named pyngrok. This could be my setup only. Also i think you can remove pkg-resources from the requirements list.

I can start the app with "python3" and everything works so far. I can go to /settings and edit everything. I can see my devices from domoticz appearing in the app.

When i sync the devices i can see a 404 in the log:

2019-12-01 13:57:03 - DEBUG - https://homegraph.googleapis.com:443 "POST /v1/devices:requestSync?key=******************* HTTP/1.1" 404 None

When i open google home on my android device the "[test]appname" does appear but when i click it it does nothing. I wont get a login or anything. I dont see anything in my logs on my raspberry pi. There seems to be no connection between google and the domoticz app on my raspberry. When i click "test" on the "actions on google" console i get a error "something went wrong". Should i see any logs on my raspberry when i test the action on "actions on google"?

I have run trough the manual multiple times and all the settings should be correct. Could using my IP without a certificate cause any problems? I use nginx as proxy with https but without valid certificate. Since i have already a app running on port 443 on my raspberry pi iam running nginx on port 444 and portfoward 443 to 444 on my router. Are there also any privacy settings on my google account i should check?

Edit: i fixed it now by using the ngrok tunnel. I guess using my public IP without valid certificate wont work. Will it work when i use a domain name with valid certificate? Also, is it possible to hide devices from google home?

There is one issue with my milight lights. I have them setup as a switch in domoticz and my milights appear in google home but with the following error:

Error handling message {'requestId': '1786981529328158506', 'inputs': [{'context': {'locale_country': 'NL', 'locale_language': 'nl'}, 'intent': 'action.devices.EXECUTE', 'payload': {'commands': [{'devices': [{'id': 'ColorSwitch21'}], 'execution': [{'params': {'on': False}, 'command': 'action.devices.commands.OnOff'}]}]}}]}: {'errorCode': 'unknownError'}
127.0.0.1 - - [01/Dec/2019 15:32:07] "POST /smarthome HTTP/1.1" 200 -
Response: {
"requestId": "1786981529328158506",
"payload": {
"errorCode": "unknownError"
}
}

This is the milight when i sync devices:

{
"willReportState": false,
"deviceInfo": {
"manufacturer": "milight"
},
"traits": [
"action.devices.traits.OnOff",
"action.devices.traits.Brightness",
"action.devices.traits.ColorSetting"
],
"attributes": {
"colorTemperatureRange": {
"temperatureMinK": 1700,
"temperatureMaxK": 6500
},
"colorModel": "rgb"
},
"name": {
"name": "Slaapkamer Lamp"
},
"type": "action.devices.types.LIGHT",
"id": "ColorSwitch21"
}

I can still use my voice commands to turn on/off the light but google home mini says there is an error each time. The google home app says it is not responding.
Google requieries a ssl connection with a valid certification. You can use your own domain or reverse proxy with a dns provider. I should update the readme and wiki :)

I have only Yeelight bulbs I put this in an issue on Github if anyone find a solution. Gitub Issue #49

I dont have any milights to test. Is it a color light?
Goto https://yourdomoticz.ip:port/json.htm?type=devices&rid=21 and copy and past output here or in the Gitub Issue #49
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
lzwfkv
Posts: 37
Joined: Sunday 11 August 2019 16:54
Target OS: -
Domoticz version:
Contact:

Re: Domoticz to Google Assistant integration

Post by lzwfkv »

DewGew wrote:
lzwfkv wrote: Monday 02 December 2019 6:30
DewGew wrote: Friday 29 November 2019 9:57 New update on github dzga v1.3.2.
  • Configuration in yaml file
  • Improved color temperature
  • Graphical user interface
  • Auto install for rpi/ubuntu
Try out latest, For rpi/ubuntu users, just open a terminal window and execute this command. Thats it!

Code: Select all

bash <(curl -s https://raw.githubusercontent.com/DewGew/dzga-installer/master/install.sh)

For manual install klick here
Hello DewGew, this latest version works fine, thank you for keeping it uptodate and improving it. Just a few minor issues that i have faced updating from previous version:
Regarding installation:
  • Had to map all the settings from previous config.py to config.yaml, in particular it is time consuming for Device_Config; it is tedious, but nevermind i have done it by now.
  • Had to remove "pkg-resources>=0.0.0" from pip-requirements.txt because pip could not find such a module and gave errors. By the way, as i understand, it is not needed to explicitely declare such a module as a dependency.
  • In the installation procedure, I couldn't find pip command installed on the system, i have pip3 only and i used it successfuly. Using pip3 would also ensure python3 is used.
  • pyngrok shoudn't be a mandatory requirement, because i use Caddy Proxy for exposing DZGA to Google Assistant and i don't need/want to set up a tunnel with ngrok proxy, but i am forced to install pyngrok anyway.
Functionality:
  • voicecontrol device configuration is not failed back to the settings in config.yaml when tags are not found on the Domoticz device's description. It only checks for device description tags <voicecontrol> in Domoticz, if not found then devices customization is not synch'ed with G Home even if they are configured in config.yaml in Device_Config section.
It would be wonderful if you could look into restoring the fail back of device_config with config.yaml configuration, because i think it is by far preferrable to have all the devices' configurations centralized into one place, rather than having them spread across multiple devices in Domoticz, with the risk to forget or miss where device are configured or not, and which devices are configured.

Thank you again.
Thank you for your feedback. I created 2 issues github with your post. Github Issue #47 and Github Issue #48
Brilliant, i see they are already closed. Many thanks and keep up the good work.

Inviato dal mio Redmi Note 3 utilizzando Tapatalk

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

Re: Domoticz to Google Assistant integration

Post by DewGew »

lzwfkv wrote: Monday 02 December 2019 6:30
Functionality:
  • voicecontrol device configuration is not failed back to the settings in config.yaml when tags are not found on the Domoticz device's description. It only checks for device description tags <voicecontrol> in Domoticz, if not found then devices customization is not synch'ed with G Home even if they are configured in config.yaml in Device_Config section.
It would be wonderful if you could look into restoring the fail back of device_config with config.yaml configuration, because i think it is by far preferrable to have all the devices' configurations centralized into one place, rather than having them spread across multiple devices in Domoticz, with the risk to forget or miss where device are configured or not, and which devices are configured.

Thank you again.
This should now work in master like it should. Just add needed settings in config.yaml:

Code: Select all

#Additional nicknames and room configuration
Device_Config:
  123:
    ack: true
    room: 'Livingroom'
    nicknames:
      - 'Celing light'
      - 'Smart light'
  234:
    room: 'Bedroom'
    
Scene_Config:
  3:
    room: 'Kitchen'
    nicknames:
        - 'Cool scene'
        
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
ProfaNe
Posts: 5
Joined: Sunday 01 December 2019 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz to Google Assistant integration

Post by ProfaNe »

DewGew wrote: Monday 02 December 2019 7:59
ProfaNe wrote: Sunday 01 December 2019 14:32 ...
Google requieries a ssl connection with a valid certification. You can use your own domain or reverse proxy with a dns provider. I should update the readme and wiki :)

I have only Yeelight bulbs I put this in an issue on Github if anyone find a solution. Gitub Issue #49

I dont have any milights to test. Is it a color light?
Goto https://yourdomoticz.ip:port/json.htm?type=devices&rid=21 and copy and past output here or in the Gitub Issue #49
I have updated the issue on github. It is a color light but just a simple on/off would be great.

One more question: can i ignore devices so it wont show up in google home app?
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz to Google Assistant integration

Post by DewGew »

Easiet is to create a room for your ”Google” devices then add the room Idx in config.yaml under Domoticz settings
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 to Google Assistant integration

Post by EddyG »

I have this in the description of a device that normally/manually works .

Code: Select all

<voicecontrol>
 nicknames = Printer
 room = Zolder
 ack = True
</voicecontrol>
This the response/error from dzga and the device does not respond.
This is the only switch with 'ack = True'

Code: Select all

2019-12-04 17:04:40 - INFO - Request: {
  "inputs": [
    {
      "context": {
        "locale_country": "NL",
        "locale_language": "nl"
      },
      "intent": "action.devices.EXECUTE",
      "payload": {
        "commands": [
          {
            "execution": [
              {
                "params": {
                  "on": true
                },
                "command": "action.devices.commands.OnOff"
              }
            ],
            "devices": [
              {
                "id": "Light895"
              }
            ]
          }
        ]
      }
    }
  ],
  "requestId": "407206062695795625"
}
2019-12-04 17:04:41 - ERROR - Unable to execute action.devices.commands.OnOff for Light895 - challenge needed 
2019-12-04 17:04:41 - INFO - Response: {
  "payload": {
    "commands": [
      {
        "errorCode": "challengeNeeded",
        "status": "ERROR",
        "challengeNeeded": {
          "type": "ackNeeded"
        },
        "ids": [
          "Light895"
        ]
      }
    ]
  },
  "requestId": "407206062695795625"
}
Any idea where to look for the solution?
ProfaNe
Posts: 5
Joined: Sunday 01 December 2019 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz to Google Assistant integration

Post by ProfaNe »

EddyG wrote: Wednesday 04 December 2019 17:12 I have this in the description of a device that normally/manually works .

Code: Select all

<voicecontrol>
 nicknames = Printer
 room = Zolder
 ack = True
</voicecontrol>
This the response/error from dzga and the device does not respond.
This is the only switch with 'ack = True'

Code: Select all

2019-12-04 17:04:40 - INFO - Request: {
  "inputs": [
    {
      "context": {
        "locale_country": "NL",
        "locale_language": "nl"
      },
      "intent": "action.devices.EXECUTE",
      "payload": {
        "commands": [
          {
            "execution": [
              {
                "params": {
                  "on": true
                },
                "command": "action.devices.commands.OnOff"
              }
            ],
            "devices": [
              {
                "id": "Light895"
              }
            ]
          }
        ]
      }
    }
  ],
  "requestId": "407206062695795625"
}
2019-12-04 17:04:41 - ERROR - Unable to execute action.devices.commands.OnOff for Light895 - challenge needed 
2019-12-04 17:04:41 - INFO - Response: {
  "payload": {
    "commands": [
      {
        "errorCode": "challengeNeeded",
        "status": "ERROR",
        "challengeNeeded": {
          "type": "ackNeeded"
        },
        "ids": [
          "Light895"
        ]
      }
    ]
  },
  "requestId": "407206062695795625"
}
Any idea where to look for the solution?
Did you try turning it on in english? I think the ack doesn't work so good in dutch. Google assistant should ask if you really want to turn it on or not.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Domoticz to Google Assistant integration

Post by EddyG »

Dutch is fully supported in Google Assistant.
I am getting the question if I want to turn the device on or off, depending on my command.
Google Home and Mini also gives a confirmation of the action, BUT nothing really happens, see the error.
So the dialog with Google Home is normal, but the action not.
B.t.w. it works good without the 'ack = True'
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz to Google Assistant integration

Post by DewGew »

My language (swedish) is also supported by Google but ack and pin does not work for me. Works only in English. I read somewhere that those will be supported other languges around Q3 :roll:
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 to Google Assistant integration

Post by EddyG »

Ok, then I will have to live without the 'act = True' for the moment. :(
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz to Google Assistant integration

Post by DewGew »

EddyG wrote: Wednesday 04 December 2019 20:40 Ok, then I will have to live without the 'act = True' for the moment. :(
Or say the command in english :geek:
I filled a public issue tracker for smart home platform on Google. You can follow it here
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
ProfaNe
Posts: 5
Joined: Sunday 01 December 2019 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz to Google Assistant integration

Post by ProfaNe »

Just a FYI.

If you use the ngrok tunnel option without account the tunnel will be terminated after 5 or 6 hours. This will make DGA unreachable for GA. I have made some changes in your code to use a auth_token so the tunnel wont timeout. You can create a free account with 1 free tunnel. That way you can use this whole setup without domain, certificates and opening ports on your router. I will test this and create a pull request this weekend with some other, mostly cosmetic, changes.
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Domoticz to Google Assistant integration

Post by DewGew »

ProfaNe wrote: Friday 06 December 2019 11:54 Just a FYI.

If you use the ngrok tunnel option without account the tunnel will be terminated after 5 or 6 hours. This will make DGA unreachable for GA. I have made some changes in your code to use a auth_token so the tunnel wont timeout. You can create a free account with 1 free tunnel. That way you can use this whole setup without domain, certificates and opening ports on your router. I will test this and create a pull request this weekend with some other, mostly cosmetic, changes.
Sounds great make the pull request to beta branch
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 to Google Assistant integration

Post by EddyG »

I have setup dzga with "roomplan: '0' " and got ALL devices. This creates some minor problems with voice recognition on Google Home.
Is it possible to have more then 1 room? Like roomplan: '1,2,3'?
Or should I rename some devices, which I rather would not do, because of scripting.
I would like to know this, because I already setup a lot of devices and I am looking for a lot of work if it would not work.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest