I would like to find some product which does the following, or assist in the following:
Have 2 devices connected on the same local network. One is the master, one the slave. The slave would simply be a device which would either output a voltage, or close relay contacts, based on a command from the master. The master could be either, a box with actual hardware switches to control the slave, or an interface to a computer on which the slave could be controlled via an app, or terminal commands.
I would also be interested in devices which work in a similar way, but offering more functionality.
I have no idea what search terms to use for something like this, as the only terms I can think of are so generic (network ethernet switch iot etc) and come up with all kinds of things which are not what I want.