Page 1 of 1

Two Domoticz Servers to one MQTT server

Posted: Saturday 18 September 2021 14:07
by brommetje
Hi all,

Is it possible to have two Domoticz Servers running, not in an master slave configuration, to one MQTT mosquitto Server and have all IDX numbers the same or most of it? I think both Domoticz will use the same domoticz/in and out or not?

I want to publish with a script to the same IDX number on both servers for example a switch or text device.

Thanks

Re: Two Domoticz Servers to one MQTT server

Posted: Saturday 18 September 2021 21:42
by EddyG
Never done it, but it seems simple.
Create all devices on 1 server and then copy the database to the second server.
I am thinking about a second Raspberry Pi, if it should work on the same Raspberry you have to change portnumbers.

Re: Two Domoticz Servers to one MQTT server

Posted: Friday 24 September 2021 8:39
by jarmoboy
HI,
Iam not sure what is your goal so than is bit hard to give an advice. Second, to start 2 clone versions of Domoticz may be possible but hard to manage in future. Other question is why?

jarmo