User activated remote visual indicators

Hello, I've the need of having two switches and two leds in two different places to be used as visual signals by two different users. Switch A (activated by one user) should turn on LED B so that it can be seen by the other user.

Because of distance and pre existing infrastructure, all of this should run via ethernet.

I thought about an Arduino MKR + an eth board but I don't know how I should approach this.
I'm completely new to this: is there a scratch/example code I can dive into and edit to achieve this?

Thanks

Edit: Maybe a YUN? Also, is there anything that accepts PoE?

If you can use WiFi, go with the ESP8266 boards, something like the Wemos Mini or the NodeMCU board. Much cheaper and just as simple and easier (no cabling).

PS: Yun is obsolete and is ridiculously over powered and over complicated for what you want to do. An Uno or Pro Mini with an Ethernet port (a 5100 or 5500) board would work just fine.

WattsThat:
If you can use WiFi, go with the ESP8266 boards, something like the Wemos Mini or the NodeMCU board. Much cheaper and just as simple and easier (no cabling).

PS: Yun is obsolete and is ridiculously over powered and over complicated for what you want to do. An Uno or Pro Mini with an Ethernet port (a 5100 or 5500) board would work just fine.

Hello WattsThat and thanks for the reply. Unfortunately it has to be ethernet but it's no problem to run wires as it's gonna be used on various stages were cat5 cables will already be in place.

Any idea on a basic sketch that can guide me through this?

Thanks

I think the MKR Zero w/ MKR Eth Shield is a good option. It's nice and compact and fairly reasonably priced.

I would recommend studying File > Examples > Ethernet > ChatServer.

Perfect, thanks for the suggestion, I will look into that tomorrow!