multiple RPI domoticz

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
goblin
Posts: 35
Joined: Sunday 23 July 2017 14:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Haarlemmermeer
Contact:

multiple RPI domoticz

Post by goblin »

hello all,
i have two running Domoticz on two RPI.
One only to read the gas and power consumption (meter) and the other for the switches (main) etc.
But i have attached a few switches to the meter RPI domoticz.

How do i get the status of those switches to the main RPI ?

Domoticz remote server is running (port 6144)



Two Domoticz RPI V2023-1
20 Espeasy, Tuya devices
User avatar
waltervl
Posts: 5521
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: multiple RPI domoticz

Post by waltervl »

See the device sharing wiki https://www.domoticz.com/wiki/Setting_up_Device_sharing

I personally have no experience with this. Did you try it already?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
goblin
Posts: 35
Joined: Sunday 23 July 2017 14:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Haarlemmermeer
Contact:

Re: multiple RPI domoticz

Post by goblin »

Yes, but I can't figure out how it should work.
i have added one switch to the "remote" RPI so this one has a IDX. how do link this switch with IDX to a dummy switch with of course another IDX.
Or does it not work that way.
User avatar
waltervl
Posts: 5521
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: multiple RPI domoticz

Post by waltervl »

On the Domoticz server were you want to see the devices of the other server you have to add the remote hardware gateway and enter the IP address of that other server.
Please read the wiki fully.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
goblin
Posts: 35
Joined: Sunday 23 July 2017 14:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Haarlemmermeer
Contact:

Re: multiple RPI domoticz

Post by goblin »

Thanks,
i did. for the last 6 years and therefor i get the gas and power from 1 RPI to the other.
But that's all i get.
goblin
Posts: 35
Joined: Sunday 23 July 2017 14:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Haarlemmermeer
Contact:

Re: multiple RPI domoticz

Post by goblin »

i have been playing around but the only thing i could find is that only everything from tab "utility" is seen at the "main" rpi
User avatar
waltervl
Posts: 5521
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: multiple RPI domoticz

Post by waltervl »

Domoticz cannot share python plugin controlled devices (as indicated on the wiki). Is that the case for those missing devices?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
goblin
Posts: 35
Joined: Sunday 23 July 2017 14:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Haarlemmermeer
Contact:

Re: multiple RPI domoticz

Post by goblin »

that can be the case (see attm).
So if i make a copy by using blockly / dummy then is should work ?? (see IDX53 is a copy of IDX38)
but that's not the case,
also if e.g a tuya plugin does not work ahould i not get the selected switches (user set devices) in the main RPI in the Slave RPI ?
Attachments
domoticz_2.png
domoticz_2.png (176.56 KiB) Viewed 359 times
User avatar
waltervl
Posts: 5521
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: multiple RPI domoticz

Post by waltervl »

No, the device share function (including updating) is not working for python controlled devices.

But can you not attach the switches from the P1 RPI directly to the main Domoticz RPi? Then you do not need device sharing?

You can also use sernet to send the P1 meter data directly to the main Domoticz server and not use Domoticz in the P1 RPi.
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