Two Domoticz Servers to one MQTT server

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
brommetje
Posts: 67
Joined: Sunday 16 February 2014 17:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Two Domoticz Servers to one MQTT server

Post 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
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Two Domoticz Servers to one MQTT server

Post 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.
jarmoboy
Posts: 33
Joined: Wednesday 12 February 2020 6:39
Target OS: Linux
Domoticz version: v2022.2
Location: Czech
Contact:

Re: Two Domoticz Servers to one MQTT server

Post 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
DOCKERED v14824,NODE-RED,Tasmotized Sonoffs,Tasmoadmin,zigbee2mqtt,EWPE,REST980,WLED
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest