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

Alexa, Google Home and Siri

Moderator: leecollings

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.

Go in Domoticz to "Setup" > "Hardware".
Search for your MQTT "hardware" and look for the setting "Prevent Loop".
Set it to "False".

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 »

Ok, but i dont have MQTT enabled at all, so i Guess that i need to enabled it and then do the settings above.

Thanks for your help.
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 cant really tell which one to choose.

I havet these MQQT to choose from.

MQQT client gateway with lan Interface, and
My sensors gateway with MQQT Interface.
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

If you don't have MQTT in Domoticz installed, and probably you haven't installed a MQTT broker, such as Mosquitto, either, you don't have the same problem. The solution for @rick8245 was a guess, as this is a known issue, in case the hardware is not activated, while the button in Domoticz is.

As I do not use Homebridge, etc. perhaps rick8245 can give some hints, but I think you should first explain your system setup, and what you have achieved so far. (what functions and what not).

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 »

Aha, well the problem i have is that homebridge isnt always uppdated from domoticz.
If i i turn a switch on in domoticz , its not Always that homebridge sees that and the switch on.
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 »

Then you should install Mosquitto, it will speed up the communication with 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, thank you , i Will install mosquitto later when im home, after the installation, is mosquitto avalible in the hardware menu?
Is it mosquitto working emideately or does It need any configuration to get to work with 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 »

You can find mqqt in the hardware list, just create the hardware. And on the Homebridge side you should enable mqqt in the edomoticz settings.
That’s all the config you need
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, nice.
Thank you very much.
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 »

Hello again!

i have now installed mosquitto, and i get the mqtt subscribed in the domoticz log, so i guess that it works so far, and if i enter the settings in homebridge-edomoticz i noticed that enable mqtt was already enabled, anyway , if i see the settings for the mqtt on this page, i can see that the settings doesnt fit the ones that i did when i installed mosquitto:

"mqtt": {
"host":"alternate.mgtt.com",
"port": 1234,
"topic": "domoticz/out",
"username": "username",
"password": "password"
}
this is in edomoticz, and the port and password and username doesnt match the ones in domoticz, should i change these in edomoticz?
or can i somehow check if there is an mqtt conection between edomoticz and 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 »

If you left everything standard you can remove the part between brackets including the brackets and just add 1, it will then use the default settings.

So:
“mqtt”: 1

My config looks like this:

"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "localhost",
"port": "8080",
"ssl": 0,
"roomid": 26,
"mqtt": 1
},
rick8245
Posts: 74
Joined: Wednesday 22 April 2020 15:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by rick8245 »

Hi Tjabas ,

In the Tab HARDWARE of Domotics.
Open up mqtt and scroll down to option: Prevent Loop:
Set this to FALSE and click UPDATE
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 »

Hi!

im sorry to say but i dont have that option, im in HARDWARE, and then choose, MQTT Client Gateway with LAN interface, and then there isnt any prevent loop option.
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.

Which version of Domoticz are you running?
Did you clear your cache and app cache ( 2 different things)

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 »

im running Version: 4.11674 of domoticz. no i haven cleared cache.

i will try to do that.
Last edited by tjabas on Friday 08 May 2020 11:10, edited 1 time in total.
rick8245
Posts: 74
Joined: Wednesday 22 April 2020 15:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by rick8245 »

That is the right place...
Attachments
mqtt.png
mqtt.png (79.5 KiB) Viewed 2133 times
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 »

strange , i dont have that option.

could it be that i run an older fversion of domoticz?
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 »

this
Attachments
123.PNG
123.PNG (41.64 KiB) Viewed 2127 times
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.

You wrote:
could it be that i run an older fversion of domoticz?
Thats is why I ask which version you use?

Regards
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 »

I think this is introduced in version 2020.2.
I never experienced any problems in the older versions without this setting.

@tjabas, is it running more smoothly now you enabled mqtt?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest