Page 1 of 1

Domoticz update and z2m auto discovery.

Posted: Tuesday 01 February 2022 16:54
by Phil C
Hi guys, I have an RPi 3b+ With rfxcom, tado & a cc2351. Which I’ve had working for sometime with no issues using the plugin.
With the arrival of domoticz 2022, I thought it would be a great time to start afresh with a new sd card, put the latest rpi download on it, added domoticz, made sure the rfx and tado worked ok.
Added mosquitto, zigbee2mqtt changed the configuration.yaml so that homeassistant: true, setup MQTT in settings with “localhost” etc as per documentation.

None of my Aqara stuff is picked up, I’ve tried resetting my pir’s etc, I’ve allowed new hardware for 5 minutes in domoticz, nothing is picked up by MQTT, all my Lightwaverf/tado is fine.

So frustrating, spent a lot of time on it today, so any ideas would be very much appreciated.

Thank you
Phil

Re: Domoticz update and z2m auto discovery.

Posted: Tuesday 01 February 2022 17:01
by waltervl
Check with mqtt explorer if you see messages from Zigbee2MQTT broadcasted
https://www.domoticz.com/wiki/MQTT#Debugging_MQTT

Re: Domoticz update and z2m auto discovery.

Posted: Friday 04 February 2022 1:07
by solarboy
All my Aqara stuff is working, albeit with issues probably due to non-compliance. I have 3 wired H1 EU routing switches, 2 wireless H1 remote switches and 3 MiJia door/window contacts. The wireless H1 remote switches only show "off" status's for some reason.

Overall very happy with MQTT AD.

Re: Domoticz update and z2m auto discovery.

Posted: Saturday 05 March 2022 17:48
by Dave21w
Which version of mosquito are you using, if its version 2 did you add the extra two lines of code in the config file - see here.

https://www.domoticz.com/wiki/MQTT#Installing_Mosquitto

scroll down till you get to this bit.
Warning: from Mosquitto v2.0.x you need extra configuration, else no connection is made with Domoticz see also viewtopic.php?f=28&t=35706

To see your installed version:

mosquitto -h | grep version

To fix this edit the /etc/mosquitto/mosquitto.conf file and add:

listener 1883

allow_anonymous true

Re: Domoticz update and z2m auto discovery.

Posted: Saturday 05 March 2022 19:50
by Phil C
Must admit, those two lines don’t ring a bell, I’ll swap my SD card over n check it out, thank you.

Re: Domoticz update and z2m auto discovery.

Posted: Tuesday 05 April 2022 13:16
by gizmocuz
Is it working now ? If not, could you use MQTT Explorer, go to your MQTT broker, check the Auto discovery topic, find your device, and post here the JSON payload of the config topic