Many controllers on same network

Hi all!
I have installed 3 Home Center 3 in 3 appartments (looks like a tongue twister).
I’m trying to understand if it is possible to use the same Home Remote Project to connect different Controllers and to control different appartments, but I think it is.

Anyway, these appartments are under the same network and the external IP is the same for each one.
So…how can I connect 3 Home Center into the same Home Remote Project under the same network?
I have just to set a different port for each controllers (port 80 for the first, port 81 for the second, …)?

I hope I explained myself and thank you very much

See my tutorial on page browsers

Hi @Tarkus and thanks for your reply.
I saw your tutorial but there you have add devices in Global Cache that, if I understood, are devices under your own network.
I need to connect 3 home center to the same network and check devices status when I am outside so I need to use my external IP and I need a way to address my request to an Home center or another one in the same network (and with the same IP address)

I can’t help you with the external IP but a page browser should work with your multiple devices on your one network. The fact that my example is using global cache has no bearing on the functionality of a page browser. A page browser allows you to assign a device to the page browser. In your case you will have 3 devices of which you will assign one of the 3 using buttons. This will allow you to share one page browser between 3 devices.

@Tarkus gave you a good solution for how to graphically switch between 3 apartments on the same network. If you want to view them outside your network, you would still use his solution for graphics but you would first need to know the ip address and port to communicate with each device you want to control (an IP camera’s RTSP stream is going to be port 554, a Roku is going to be port 8060, etc). Then you would set up port forwarding for each device in your router. So lets say you had 3 IP cameras, one in each apartment:

IP Cam #1
Destination Port: 55492
Redirect Target IP: 192.168.0.92
Redirect Target Port: 554

IP Cam #2
Destination Port: 55493
Redirect Target IP: 192.168.0.93
Redirect Target Port: 554

IP Cam #3
Destination Port: 55494
Redirect Target IP: 192.168.0.94
Redirect Target Port: 554

The destination port can be any number you want from 0 to 65536 (it’s best to use numbers 1025 and over). The redirect target ip is the lan ip of your device. The redirect target port is the port needed to access the device. Those above port forwarding rules need to be set in your router first.

Now that’s done, you can configure home remote. So if my external static IP is 111.111.111.111 then I would put “111.111.111.111:55492” to reach IP Cam #1’s port 554.

1 Like

Depending on the router/firewall you have, you might need to configure the firewall access policies separately, too. Let me know if you have any issues.

Thank you guys for your replies.
In the meantime I found a workaround to set the same external IP to connect Home Remote to each controller.
On my router, I setted external port 80 for Controller 1 and port 81 for Controller 2 then I setted the same port 80 as internal port for each Controller.
In this way I can connect from outside to my Controller 1 using address EXTERNAL_IP:80 and Controller 2 using EXTERNAL_IP:81.

But when I add the Controller 2 in HR, with same external IP and port 81, the Designer return this error: "This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread"
Immagine 2022-07-22 182952

What’s the problem? :face_with_raised_eyebrow:

Greg,
This is a great description!
Thanks,
Dave

1 Like