MQTT Audo-discovery
Moderator: leecollings
-
- Posts: 378
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: MQTT Audo-discovery
Are you using Localhost in the Remote Address box or the actual I.P ?
-
- Posts: 18
- Joined: Wednesday 22 January 2014 7:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT Audo-discovery
I use localhost.
When I use the non-autodetect MQTT version, Domoticz can receive data using
No data seems to be going to domoticz/in automatically according to MQTT Explorer. Can that be the problem?
When I use the non-autodetect MQTT version, Domoticz can receive data using
Code: Select all
mosquitto_pub -h localhost -m '{ "idx" : 384, "nvalue" : 39, "svalue" : "270" }' -t 'domoticz/in'
- waltervl
- Posts: 5729
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Audo-discovery
@quazar did you add a new MQTT Autodiscover gateway that looks at zigbee2mqtt topic? See the zigbee2mqtt wiki https://www.domoticz.com/wiki/Zigbee2MQ ... todiscover
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 18
- Joined: Wednesday 22 January 2014 7:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT Audo-discovery
yes, I did add the autodiscover gateway and enabled homeassistant under zigbee2MQTT --> settings --> Home assistant integrationwaltervl wrote: ↑Monday 09 January 2023 19:07 @quazar did you add a new MQTT Autodiscover gateway that looks at zigbee2mqtt topic? See the zigbee2mqtt wiki https://www.domoticz.com/wiki/Zigbee2MQ ... todiscover
- waltervl
- Posts: 5729
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Audo-discovery
What is your topic name in Domoticz mqtt Autodiscover config? Should be zigbee2mqtt as it looks like it from your mosquito log. Default is homeassistant (also for zigbee2mqtt) so you have to change that.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 18
- Joined: Wednesday 22 January 2014 7:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: MQTT Audo-discovery
Ah, I should rename the Auto Discovery Prefix of the MQTT Auto Discovery Client Gateway with LAN interface to zigbee2mqtt?
- waltervl
- Posts: 5729
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Audo-discovery
Yes, see the instructions on the zigbee2mqtt wiki I already referred to.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 46
- Joined: Tuesday 23 June 2015 23:06
- Target OS: Linux
- Domoticz version: 2023.2
- Location: NL + SE
- Contact:
Re: MQTT Audo-discovery
Finally I found the time to upgrade my old Domoticz to the newest version and also include MQTT Autodiscover.
At another location I already have that running, so was not expecting much issues.
All seems OK, Zigbee2MQTT picked up my Zigbee devices (all data exposed and in Zigbee2MQTT.
But for unclear reasons not all data fields that are exposed in Zigbee2MQTT, get into Domoticz.
I have two (one TuYa IH-K009 and one Tuya TS0201) temperature sensors (that work just fine with all exposed field in Domoticz at my other location).
But in the new setup, only Temperature/Humidity and Voltage get picked up (and are updated) in Domoticz.
Battery and Linkquality do not.
I guess this is some kind of filtering/config but I just cannot figure out what (and forgot what I did in the other location
)
Any clues?
At another location I already have that running, so was not expecting much issues.
All seems OK, Zigbee2MQTT picked up my Zigbee devices (all data exposed and in Zigbee2MQTT.
But for unclear reasons not all data fields that are exposed in Zigbee2MQTT, get into Domoticz.
I have two (one TuYa IH-K009 and one Tuya TS0201) temperature sensors (that work just fine with all exposed field in Domoticz at my other location).
But in the new setup, only Temperature/Humidity and Voltage get picked up (and are updated) in Domoticz.
Battery and Linkquality do not.
I guess this is some kind of filtering/config but I just cannot figure out what (and forgot what I did in the other location

Any clues?
Domoticz on BPI-M2-Pro (compiled on Ubuntu 22.04) and RPI (binary on Raspian 10)
RFXCom, Sonoff Zigbee stick, eBusd Adapter 5, P1, S0, Husdata H60 integration
Zigbee2MQTT AD, MQTT local, AirconWithMe, Ebusd, VolvoRecharge, PSA Car Controller
RFXCom, Sonoff Zigbee stick, eBusd Adapter 5, P1, S0, Husdata H60 integration
Zigbee2MQTT AD, MQTT local, AirconWithMe, Ebusd, VolvoRecharge, PSA Car Controller
Who is online
Users browsing this forum: No registered users and 1 guest