Selective autodiscovery
Posted: Sunday 13 March 2022 10:44
I have a few zwave devices on my main domoticz system that i want also to be available on a slave domoticz system. They need to be controlled and status readable on both instances. Before I migrated to ZwaveJS2MQTT I used OWZ with a master-slave setup. I migrated to ZwaveJS2MQTT with MQTT Autodiscovery and I am ver happy with it, except that I cannot use the master-slave setup anymore due to a long known bug with python devices in a master/slave setup.
One of the developers told me to also use MQTT Autodiscovery also on my slave device, this seems a perfectly fine solution except that I do not want 500+ extra devices on my slave system. I only want 10 of them and do not want to 'pollute' my slave with those extra disabled devices. So my question is: "Can I selectively auto-import devices with MQTT Autodiscovery". I can imagine that this can be done with mosquitto users and access rights on certain topics. Has someone done this before or better, is there a howto to do this?
If this is not possible, can I manually create only the devices that I want?
If this is also a problem, what's the best way to create a '2-way-binding' between 2 domoticz devices on different instances of domoticz.
One of the developers told me to also use MQTT Autodiscovery also on my slave device, this seems a perfectly fine solution except that I do not want 500+ extra devices on my slave system. I only want 10 of them and do not want to 'pollute' my slave with those extra disabled devices. So my question is: "Can I selectively auto-import devices with MQTT Autodiscovery". I can imagine that this can be done with mosquitto users and access rights on certain topics. Has someone done this before or better, is there a howto to do this?
If this is not possible, can I manually create only the devices that I want?
If this is also a problem, what's the best way to create a '2-way-binding' between 2 domoticz devices on different instances of domoticz.