O'Reilly logo

Intel Galileo Networking Cookbook by Marco Schwartz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building an interface for your home automation system

In the preceding recipe, we established a connection between our Arduino modules and the Galileo board, which is now acting as the hub for our home automation system.

However, what we would really like to do is have a nice graphical interface so that we can monitor our system, and this is exactly what we are going to do in this recipe.

Getting ready

Before attempting this recipe, you need to complete the previous recipe, with at least one Arduino board connected to the Galileo board via Wi-Fi.

How to do it...

This recipe is only about upgrading the code that we started to write in the preceding recipe. This is the complete code:

var express = require('express'); var app = express(); // Define port ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required