Please Note: Xively no longer has free developer access to their system, so this tutorial is only for historical research. Please check out our other IoT tutorials for alternative services!
Now that the Arduino sketch is completed, you can upload the sketch to your Arduino board, and test the project. Make sure that the page corresponding to your device on Xively is opened. You can now open your Serial Monitor and you should see the Arduino connecting to your network, preparing the request, and sending it to the Xively website:
Download: file
Initializing WiFi chip...
Connecting to WiFi network ...done!
Request DHCP
Checking WiFi connection ...done.
Pinging Xively server ...done.
Connected to Xively server.
Sending headers.... done.
Sending data...
If everything goes well, you should see this response from the Xively server:
Download: file
HTTP/1.1 200 OK
Date: Mon, 14 Oct 2013 17:44:20 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 0
Connection: close
X-Request-Id: 55c792d07f4a679dfb8a1a09141264d7c98eea1e
Cache-Control: max-age=0
Vary: Accept-Encoding
And finally, have a look on your Xively page in your browser. You should see that you successfully sent some information to the Xively server and the temperature & humidity should be displayed on this page:
After a some measurements, you should also have the graphs displayed on the device's page:
Finally, I also made a video showing the different aspects of the project:
Of course, you can use this tutorial to connect other sensors to Xively: motion sensors, contact switches, luminosity sensors, ... the possibilities are endless, so don't hesitate to experiment and share your results!
This guide was first published on Oct 15, 2013. It was last updated on Oct 15, 2013.
This page (Using Xively) was last updated on Oct 12, 2020.