Page 3 of 4
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 16:18
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
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 16:30
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.
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 16:45
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.
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 18:53
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
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 19:35
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.
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 22:14
by ronaldbro
Then you should install Mosquitto, it will speed up the communication with homebridge.
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 22:43
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?
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 22:48
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
Re: Easiest way to get google home connected to domoticz?
Posted: Thursday 07 May 2020 23:29
by tjabas
Ok, nice.
Thank you very much.
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 1:47
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?
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 9:13
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
},
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 9:58
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
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 10:55
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.
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 11:07
by FireWizard
Hi,
@tjabas.
Which version of Domoticz are you running?
Did you clear your cache and app cache ( 2 different things)
Regards
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 11:09
by tjabas
im running Version: 4.11674 of domoticz. no i haven cleared cache.
i will try to do that.
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 11:10
by rick8245
That is the right place...
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 11:11
by tjabas
strange , i dont have that option.
could it be that i run an older fversion of domoticz?
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 11:14
by tjabas
this
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 11:27
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
Re: Easiest way to get google home connected to domoticz?
Posted: Friday 08 May 2020 11:30
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?