OPNsense Forum

English Forums => General Discussion => Topic started by: luke.penko on October 15, 2024, 04:58:11 PM

Title: Modbus TCP and database connection over 1 ethernet port
Post by: luke.penko on October 15, 2024, 04:58:11 PM
Hey guys

I know that this topic is not completely right in this forum but my hope is that a network expert can give me an answer.

I'm creating a new project with an ESP32:
I want to read all my systems at home (heating system, electricity meter, water meter, ...) via modbus tcp and than write it into my database via API. For the hardware I chose an ESP32. I don't want to use the wifi interface.
So can I do it with only 1 ethernet port? If I'm putting a switch infront?

i appreciate your help
Thanks
Title: Re: Modbus TCP and database connection over 1 ethernet port
Post by: Apollo3zehn on October 16, 2024, 07:30:27 AM
As long as all devices are in the same IP subnet and physically connected to each other (via switch) it should be simple. If they are in different subnets, a router is required.In any Cass, 1 Ethernet port is sufficient.