Lamp (not only) Web Control

Hello. It's my first project, don't be so angry.

This project lets switch on/off lamp or relay, or everything. On my web host I've developed Web Socket Server (on RatchetPHP) to make async api calls. Also I've made the "face" part (frontend) on Yii2 Framework. On Arduino I used aREST library to provide api.

Hardware components: Arduino UNO ENC28J60 Ethernet module mini Relay 5V 10A Old USSR Button

How it works: Web Sources: Sketch: