Easiest way to get google home connected to domoticz? Topic is solved

Alexa, Google Home and Siri

Moderator: leecollings

tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Easiest way to get google home connected to domoticz?

Post by tjabas »

Hi!

i have been using Controlicz for over a year now, everything has been working great until a couple of days ago, now its impossible to get it to work, there is something wrong with the google app i guess, anyhow, so im looking into another way to get voice access to domoticz.

since my programming skills is a bit limited im searching for a easy way to get it working.
i have looked at the this speech and voice system page, but i cant really figure out which metod that is easiest to set up.

everything seems so hard to get working.

anyone who can give me a hint?
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by ronaldbro »

For controlling domoticz with Google you can use Homebridge. There is a google plugin for Homebridge.

For getting speech on your Google you can use the google chromecast plugin. https://github.com/dnpwwo/Domoticz-Google-Plugin
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

thank you for your qiuck reply,
you dont have any link for that homebrigde plugin?
i couldt find it.
User avatar
FireWizard
Posts: 1888
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by FireWizard »

Hi,

@tjabas

I think it is important that you tell first what you want to do with Google Home or what you did with Controlicz.

There are more than one possibility.

1. Homebridge is almost a must if you want to communicate with Apple devices.
2. The Domoticz-Google plug-in is a good solution if you want to control a Google Chromecast.

Another thing is: Do you have MQTT and Node Red installed and running?

Two options you may look at:

https://www.domoticz.com/forum/viewtopi ... +assistant

https://www.domoticz.com/forum/viewtopi ... 69&t=27588

Regards
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

what i want is to be able to tell my google home to , turn on and off things.
could homebridge be the easiest way?
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

no i dont have node red installed, i tried it a couple of months ago, but i thought that it was hard to figure out how it works.
User avatar
FireWizard
Posts: 1888
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by FireWizard »

Hi,

@tjabas.

I use for that function nora node in Node Red. I switch on/off lights and thermostat funtion.

As far as I know Homebridge acts as an interface to Apple's Homekit. But I have never used it, as I do not use Apple devices.

Node Red is quite easy as soon as you know the idea behind it

Regards
mark.sellwood
Posts: 102
Joined: Tuesday 04 March 2014 10:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Surrey, UK
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by mark.sellwood »

Hi tjabas,

Have you opened a ticket from your profile in Controlicz? I've always found Nick gets back to me quickly & helps fixing any issues I have had.
Controlicz is working for me fine,
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by ronaldbro »

Homebridge was intended for Apple devices but since last year there is also a google plugin which makes it possible to use google to control Domoticz.

A guide to install Homebridge can be found here: https://www.domoticz.com/wiki/Homekit_Siri

Once installed you can install the google plugin from the web GUI. Info about the plugin can be found here: https://github.com/oznu/homebridge-gsh#readme

Personally I am a Apple user so primarily I use Homebridge to control Domoticz from Apple. But I have installed the google plugin too and my son uses his Google home to control the Domoticz devices in his room. This works very good. Only thing that didn’t work was asking Google what the temperature in his room is, but maybe this is also already implemented.
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

mark.sellwood wrote: Friday 17 April 2020 22:20 Hi tjabas,

Have you opened a ticket from your profile in Controlicz? I've always found Nick gets back to me quickly & helps fixing any issues I have had.
Controlicz is working for me fine,
i have talked with him through emails today, but it seems like where clueless when it comes to this problem, i can test the access on the controlicz homepage and all is connected, it seems like the fault is in the home app somehow, i get connected through controlicz in the app but google home constantly says that "sorry i could reach controlicz",

thats why im looking into other options.
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

ronaldbro wrote: Friday 17 April 2020 22:39 Homebridge was intended for Apple devices but since last year there is also a google plugin which makes it possible to use google to control Domoticz.

A guide to install Homebridge can be found here: https://www.domoticz.com/wiki/Homekit_Siri

Once installed you can install the google plugin from the web GUI. Info about the plugin can be found here: https://github.com/oznu/homebridge-gsh#readme

Personally I am a Apple user so primarily I use Homebridge to control Domoticz from Apple. But I have installed the google plugin too and my son uses his Google home to control the Domoticz devices in his room. This works very good. Only thing that didn’t work was asking Google what the temperature in his room is, but maybe this is also already implemented.
but can i use homebridge with google home?
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by ronaldbro »

Yes you can when you also install the google plugin.
I just noticed the possible confusion. The google plugin mentioned in the previous post is a Homebridge plug-in which can be installed from the Homebridge GUI. This way Google assistant can control Domoticz devices which are shared to Homebridge.

The Domoticz-Google plugin is for the other direction and has nothing to do with Homebridge. It can control the Google home from Domoticz and send voice notifications through the Google home.
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

i have now installed homebridge and endomoticz,i have now alot of the domoticz switches in homebridge, so is the nest step to install the homebridge plugin in the google home app?
do i need to open any port in the router for homebridge?
and how can i change the password in homebridge?
admin, admin isnt very strong.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by ronaldbro »

Next step is to install the google plugin in Homebridge. From the plugin you’ll setup the long to google. See the readme in the github link I posted before.
There is no need to open a port on your firewall.

I don’t know how to change the password, I don’t use it. I have secured homebridge by isolating it (and all other IoT devices) on a separate vlan and separate WiFi . Nothing is accessible from internet without VPN. Only controlling devices with Apple HomeKit or google assistant. From my local network I’m the only person who can enter my IoT vlan.
But google will know how to change it ;)
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

well i installed the google plugin in homebridge, but now it seems that homebrigde is chrashing all the time, the log says something that it can not bridge more than 149 accesories, could it be that i have to many devices in domoticz?
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by ronaldbro »

Yes, that’s possible. You can create a Homebridge room in Domoticz and configure this room in Homebridge. Then add all devices to this room which you want to use in Homebridge.
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

ok, i will do that, but if i make a homebrigde room in domoticz, how do i choose the homebridge room in homebridge?
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by ronaldbro »

Looks like you're nearly there.
Just enter the idx of the room as RoomId in the Homebridge config file (or using the GUI). See also https://github.com/PatchworkBoy/homebridge-edomoticz
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

yes i thing i almost got it, took the room i made for controlicz and now i get the swithes from that room in homebridge, and i have installed the homebrigde plugin in the home app, and i can now manually turn on and off the switches in the home app, but unfortunately my google home doesnt get it, if i say "turn window off" she says "sorry i dont understand" im almost there, but why isnt it working now?
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Easiest way to get google home connected to domoticz?

Post by tjabas »

im getting there, i noticed that google in my phone works, but not my google home device, thats strange
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest