Same device, two slaves
Moderators: leecollings, remb0
-
- Posts: 8
- Joined: Sunday 19 February 2017 11:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Same device, two slaves
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?
- FireWizard
- Posts: 1905
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Same device, two slaves
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
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
Who is online
Users browsing this forum: No registered users and 1 guest