Setting up Device sharing
One of the nice features of Domoticz is the ability to share devices over the (inter-)network.
This page describes how to set this up.
Imagine 3 machines with Domoticz, all software should be at the latest version and all master and slave's must be running the same version.
- Master Domoticz
Our goal is to have (some of) the devices of Slave1 and Slave2 to be available to the Master Domoticz.
Slave1 and Slave2
Specify the shared port (6144 by default) where the slaves will connect to.
Specify the admin username/password in the settings too (even if you do not use this (local networks)).
Now, add a User to Domoticz (Settings | More Options | Users).
Here you can specify the devices you want this slave to share (no selected devices for this User means all).
Do this on both slaves.
Add a new hardware device of type Domoticz Remote Server with properties:
- Remote IP/Port (IP address of Slave1, port 6144)
- Specify the username/password entered above for Slave1
Add a another hardware device of type Domoticz Remote Server with properties:
- Remote IP/Port (IP Address of Slave2, port 6144)
- Specify the username/password entered above for Slave2
You should now receive device/sensors from Slave1 and Slave2 in your master Domoticz. Give it some time to collect all data.