Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arduino Home Automation Projects

You're reading from  Arduino Home Automation Projects

Product type Book
Published in Jul 2014
Publisher
ISBN-13 9781783986064
Pages 132 pages
Edition 1st Edition
Languages
Author (1):
Marco Schwartz Marco Schwartz
Profile icon Marco Schwartz

Table of Contents (14) Chapters

Arduino Home Automation Projects
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Building Wireless XBee Motion Detectors 2. Control Lights from Your Phone or Tablet 3. Measuring the Temperature Using Bluetooth 4. Weather Station in the Cloud with Xively 5. Monitor Your Energy Consumption in the Cloud 6. Hack a Commercial Home Automation Device 7. Build Your Own Home Automation System Index

Log in and display data on Xively


It's now time to test the project. You can upload the code to the Arduino board and open the serial monitor. You should see that the sketch is connected to the Web and uploading data to Xively. You should also see the answer from the server being displayed in the serial monitor, as follows:

HTTP/1.1 200 OK
Date: Wed, 07 May 2014 08:48:05 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 0
Connection: close
X-Request-Id: aedcb75d10ea1556813941846bdaded812904bb4
Cache-Control: max-age=0
Vary: Accept-Encoding

If you can see this HTTP/1.1 200 OK code, it means that the transfer was successful. If this is not the case, check that you really have the same sketch as on the GitHub repository, and that you entered your information (Wi-Fi and Xively keys) correctly. Also, make sure that the CC3000 chip is correctly wired.

Let's now check the device's page on Xively. Go again to the Device page and you should see the following:

By clicking on the Graphs...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}