I am a newbie and I am looking to use two arduino Uno's with ethernet shields with a motion sensor on one of the boards and an led connected to the other board and I want to communicate between the two boards over LAN or over the internet if possible.
So when the motion sensor is triggered on the first board in one room it will be able to send a signal to the other board in a different room to turn on the led.
As I am a newbie if there was some template code I could follow as well that would be great.
Thank you.