How to Go Further

Let’s summarise what we did in this guide. We learned how to build a WiFi power switch and to control it from your web browser. We were able to control a 110v or 230v device wirelessly, for example a lamp, and monitor its status via WiFi. Finally, we built a software to control the whole project from a graphical interface within your web browser.

There are of course many ways to go further with this project. You can of course add more sensors to the Arduino board and access these measurements wirelessly. For example, you could perfectly add a temperature sensor to the project and display the data on the graphical interface as well. You can also add another powerswitch to this project, and control both independently.

By changing the code running on your computer, inside the JavaScript file, you can also define more complex behaviours for the switch. Not only you can control the switch from the interface but you can also use the fact that your computer is connected to the web to create more complex behaviours. For example, you can automatically switch it off after a given time in the evening, and switch it on again in the early morning.

Finally, you can have several of these projects in your home, simply by giving different names to your Arduino boards, and adding more elements in the graphical interface. You can also create more behaviours and buttons for your project, for example a button to automatically switch off all devices in your home with a simple click.

This guide was first published on Sep 08, 2014. It was last updated on Sep 08, 2014. This page (How to Go Further) was last updated on Aug 10, 2019.