Smart Homer is a Web-enabled puppet that turns on your TV when Simpsons is on. As Homer is too lazy to browse the Web himself, a script in the cloud checks the online TV program for him. If Simpsons is on, the script triggers the Arduino Web service in Homer’s belly to activate his infrared eyes. No brain involved.
The Arduino in Homer’s belly acts as a Web server. This allows us to send push notifications (or rather: trigger a Webhook) with a simple HTTP PUT request. To enable remote access without the hassle of port forwarding, we use Yaler.net, a relay service. Follow the steps in https://yaler.net/arduino to install the YalerEthernetServerlibrary and get a free account. To see if Yaler works in your network, open File > Examples > YalerEthernetServer > YalerWebService in your Arduino IDE. Add the Ethernet shield to your Arduino (remove the breadboard for a second), replace RELAY_DOMAIN with your relay domain and access the Arduino a thttp://RELAY_DOMAIN.try.yaler.net/. You should see Hello in your browser. For more detail about project development steps and source code, visit Instructables.com