It's now time to test the project! Make sure that the code is uploaded to the Arduino board, and go to the folder of the interface using your favorite Terminal software. Then, type:

sudo npm install express arest jade

That will install the required modules for Node.JS. Then, type:

node app.js

You should be greeted by a message:

Listening on port 3000

After that, go to this URL in your favorite web browser:

http://localhost:3000

Wait a bit so that the board can send the first set of data, and this is what you should see:

If you can see the data being displayed, congratulations, your WiFi weather station is online! Of course, if you want to dive a bit into the Node.js code, you can add more measurements to this dashoard, from sensors on the same project or even from different boards in your home. Have fun!

Chances are you are running the webserver on a home or business computer that is behind a cable-modem or DSL-modem which has a firewall to prevent outsiders from getting to your machine. That means you can only use this setup inside your home. If you want to see data from your home network while at work, an external service is required which is not covered in this tutorial

This guide was first published on Sep 25, 2013. It was last updated on Mar 08, 2024.

This page (Using the weather station) was last updated on Sep 17, 2013.

Text editor powered by tinymce.