Easiest way to get google home connected to domoticz? Topic is solved
Moderator: leecollings
- 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?
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
Go in Domoticz to "Setup" > "Hardware".
Search for your MQTT "hardware" and look for the setting "Prevent Loop".
Set it to "False".
Regards
-
- 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?
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.
Thanks for your help.
-
- 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?
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.
I havet these MQQT to choose from.
MQQT client gateway with lan Interface, and
My sensors gateway with MQQT Interface.
- 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?
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
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
-
- 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?
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.
If i i turn a switch on in domoticz , its not Always that homebridge sees that and the switch on.
-
- 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?
Then you should install Mosquitto, it will speed up the communication with homebridge.
-
- 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?
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?
Is it mosquitto working emideately or does It need any configuration to get to work with homebridge?
-
- 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?
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
That’s all the config you need
-
- 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?
Ok, nice.
Thank you very much.
Thank you very much.
-
- 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?
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?
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?
-
- 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?
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
},
So:
“mqtt”: 1
My config looks like this:
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "localhost",
"port": "8080",
"ssl": 0,
"roomid": 26,
"mqtt": 1
},
-
- 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?
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
In the Tab HARDWARE of Domotics.
Open up mqtt and scroll down to option: Prevent Loop:
Set this to FALSE and click UPDATE
-
- 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?
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.
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.
- 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?
Hi,
@tjabas.
Which version of Domoticz are you running?
Did you clear your cache and app cache ( 2 different things)
Regards
@tjabas.
Which version of Domoticz are you running?
Did you clear your cache and app cache ( 2 different things)
Regards
-
- 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?
im running Version: 4.11674 of domoticz. no i haven cleared cache.
i will try to do that.
i will try to do that.
Last edited by tjabas on Friday 08 May 2020 11:10, edited 1 time in total.
-
- 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?
That is the right place...
- Attachments
-
- mqtt.png (79.5 KiB) Viewed 2138 times
-
- 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?
strange , i dont have that option.
could it be that i run an older fversion of domoticz?
could it be that i run an older fversion of domoticz?
-
- 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?
this
- Attachments
-
- 123.PNG (41.64 KiB) Viewed 2132 times
- 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?
Hi,
@tjabas.
You wrote:
Regards
@tjabas.
You wrote:
Thats is why I ask which version you use?could it be that i run an older fversion of domoticz?
Regards
-
- 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?
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?
I never experienced any problems in the older versions without this setting.
@tjabas, is it running more smoothly now you enabled mqtt?
Who is online
Users browsing this forum: Google [Bot] and 1 guest