Page 1 of 1

MQTT: 2 Domoticz install

Posted: Monday 22 October 2018 15:32
by emme
Ciao,

got a wired question...
I have 2 different domoticz installation in the same network
they works as master/slave

what is their behaviour in MQTT?
since the publish topic is the same... how can I divide masters telegrams from slave one?

Re: MQTT: 2 Domoticz install

Posted: Monday 22 October 2018 16:17
by ben53252642
Run a separate local only MQTT server on one of the Domoticz boxes, use Node-Red to subscribe to it and re-publish it to another MQTT topic.

pic34234.JPG
pic34234.JPG (52.57 KiB) Viewed 462 times

See how you can change the topic it routes into on the main MQTT server?

Re: MQTT: 2 Domoticz install

Posted: Monday 22 October 2018 16:21
by emme
..uh...thanks
ciao
M

Re: MQTT: 2 Domoticz install

Posted: Monday 22 October 2018 16:24
by ben53252642
Not the best solution I know, I don't think what you want to do is possible without changes to the Domoticz MQTT code, as you say everything is going to the same channel.