Page 1 of 1

Same device, two slaves

Posted: Wednesday 22 July 2020 15:41
by per42
I have two slaves placed in different parts of my house to reach the entire house. Some parts of the house is still difficult. I have a temperature sensor which one of the slaves picks up sometimes and the other slave sometimes. I want the master to merge the data from the two slaves into the same device on the master, since it's actually the same device, just reported from two different slaves. Is that possible?

Re: Same device, two slaves

Posted: Wednesday 22 July 2020 17:00
by FireWizard
Hi,

You can publish the value of the Temperature sensor of each slave to a MQTT server. Node Red can merge the two values and publish the result to the Master. The only thing you need is a MQTT server and also Node Red installed, e.g on the Master Domoticz.

I would suggest that you install on each of the Domoticz devices (both 2 Slaves and 1 Master) Mosquitto and Node Red only on the Master.

Regards