master-slave whereas master is in container

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!

Moderators: leecollings, remb0

Post Reply
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

master-slave whereas master is in container

Post by BartSr »

dz is running in a serverrack in a container
there is also a pi also running another dz
is it possible to have the one in a container and the other one as slave?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: master-slave whereas master is in container

Post by BartSr »

update:
it is possible
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: master-slave whereas master is in container

Post by waltervl »

Why would you make 2 Domoticz instances in your house and connect them?
I can understand you do this for an holiday home that you remotely want to control from your own Domoticz server. But not in your own house....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: master-slave whereas master is in container

Post by BartSr »

This regards a somewhat big Scouting building. There's a technical space in which the master domoticz is running on a server in 19" rack.
To monitor the elecrtrical counter the slave pi is nearby the P1 meter. The meter is in a small room in which I don't like to have the 'heart' of the automation.
Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: master-slave whereas master is in container

Post by waltervl »

Ah, you dont need Domoticz master-slave for that. You can also just forward the P1 meter data directly to the only Domoticz server with for example ser2net https://wiki.domoticz.com/SharingSerialDevices In Domoticz you use the P1 Smart Meter with LAN interface" gateway.
See also wiki https://wiki.domoticz.com/Dutch_DSMR_sm ... o_Domoticz

This will save you some extra management of a Domoticz instance as the ser2net is a very simple maintenance free implementation.

And you also can use a cheap ESP device instead of an RPi if you want to save some money. https://smart-stuff.nl/product/p1-donge ... ter-esp32/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest