Book Image

Getting Started with UDOO

Book Image

Getting Started with UDOO

Overview of this book

Table of Contents (16 chapters)
Getting Started with UDOO
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we discovered how important the Internet is to our devices, thanks to its huge amount of data and services. We found that our prototype could be improved using the external temperature and, without any changes to the circuit, we collected weather conditions through the network.

In the first part, we wrote a generic connector so we could make HTTP calls without too much work. Then we used this component to implement a partial abstraction of the RESTful web service, capable of retrieving the current weather for the given location. We added new elements in the Chronotherm layout to show forecast data and to handle location input with voice recognition.

Finally, we decided to integrate the external temperature in our boiler logic. Indeed, we implemented antifreeze capability, which turns on the boiler regardless of the user's preferences when the external temperature is too low.

This prototype was this book's last foray into the many features provided by the UDOO board...