Page 1 of 1

question regarding MQTT AD

Posted: Saturday 01 November 2025 19:39
by Gravityz
i have been using the default MQTT gateway for ages since i need it for domoticz-homebridge-homekit.
if i disable it my homekit devices(which are domoticz devices) do not work.

I lately also enabled MQTT AD because i needed it to add some temperature sensors in Domoticz.

everything works like it should. however when i disable the native MQTT gateway i still loose the homekit functionality.

i always thought MQTT AD was a 1:1 replacement for the default MQTT but this seems this is not true.

Can anybody confirm you still need both for complete functionality.
If not what do i need to change in the MQTT AD plugin to make it work

Re: question regarding MQTT AD

Posted: Sunday 02 November 2025 1:17
by waltervl
You can use MQTT and The MQTT AD hardware gateways next to each other without issues. They are for different use cases so no replacement.

Re: question regarding MQTT AD

Posted: Sunday 02 November 2025 9:37
by Gravityz
Great, thanks.
that is exactly what i am experiencing.

I had a little project to turn an ordinary temp/humidity meter with RS485 into a smart one.
I used ESPhome because it has native modbus support.

was real easy to do and i used MQTT to get the data(with the help of MQTTAD) into domoticz.

First time it reported a combined temp/humidity sensor like i wanted.
after playing with ESPhome and adding a lot of other extra sw sensors(cpu temp, wifi signal) domoticz started to recognize it as 2 seperate devices.

do not know why. i think if you send multiple mqtt messages from the same device at the same time it seems to think it is one device
by adding more messages it probably got delayed and seperated the devices.
looking at the mqtt string send out it looks the same.
anyway i deleted the other sensors and now it is back to receiving 1 unit with temp/humidity.

you get the same behaviour when starting up domoticz. the first messages are interpreted as seperate devices but once domoticz is runnnig it is receiving one device with temp/humidity.



waltervl wrote: Sunday 02 November 2025 1:17 You can use MQTT and The MQTT AD hardware gateways next to each other without issues. They are for different use cases so no replacement.

Re: question regarding MQTT AD

Posted: Tuesday 04 November 2025 17:36
by FlyingDomotic
Lot of physical devices provide multiple information (for example, presence detector often also return luminosity and temperature in addition to presence).

As of now, Domoticz doesn't have composite devices, but allows you to create different devices with their associated widgets. In my example, you'll got a presence detection device (on/off), a temperature device (°C or °F) and a luminosity device (lux) from MQTT AD (as AD describes these 3 devices separately).

These 3 devices will be available and displayed in Domoticz. As you'll choose (and/or may modify) their names, nothing prevents you to use a root name (ie My detector presence, my detector temp and my detector luminosity).

I you really want to have all information in the same widget, you may even use additional layers (as Dashtastic) and build your own.

Re: question regarding MQTT AD

Posted: Wednesday 05 November 2025 8:19
by Gravityz
thanks. i do not want everything in 1 device everytime.
i only noticed that MQTT AD is a bit smart. if it receives temp and humidity at the same time it figures it is an existing temp/humidity device.

probably because i added extra devices like cpu temp and wifi signal MQTT AD did not recognize it as an existing real world device.

everything working now.