Book Image

BeagleBone Home Automation Blueprints

By : Rodolfo Giometti
Book Image

BeagleBone Home Automation Blueprints

By: Rodolfo Giometti

Overview of this book

BeagleBone is a microboard PC that runs Linux. It can connect to the Internet and can run OSes such as Android and Ubuntu. BeagleBone is used for a variety of different purposes and projects, from simple projects such as building a thermostat to more advanced ones such as home security systems. Packed with real-world examples, this book will provide you with examples of how to connect several sensors and an actuator to the BeagleBone Black. You’ll learn how to give access to them, in order to realize simple-to-complex monitoring and controlling systems that will help you take control of the house. You will also find software examples of implementing web interfaces using the classical PHP/HTML pair with JavaScript, using complex APIs to interact with a Google Docs account, WhatsApp, or Facebook. This guide is an invaluable tutorial if you are planning to use a BeagleBone Black in a home automation project.
Table of Contents (18 chapters)
BeagleBone Home Automation Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up the software


As already stated, the more complex part of this prototype is the software. We need to install several software packages into our BeagleBone Black, and the software we have to write by ourselves needs some skills. However, don't worry, I'm going to explain all needed steps one at a time!

Setting up the Python bindings

Installing the Python bindings is quite complex since the software package named python-openzwave still seems in hard development, and it depends on tons of Python packages! However, I did it by getting a specific version of the project with the following command line:

root@beaglebone:~# wget http://bibi21000.no-ip.biz/python-openzwave/python-openzwave-0.3.0b5.tgz

Note

Other versions of the python-openzwave package are available at http://bibi21000.no-ip.biz/python-openzwave/.

Now, to explore the archive file, we can use the following command:

root@beaglebone:~# tar xvfz python-openzwave-0.3.0b5.tgz

A new directory, python-openzwave-0.3.0b5, is now created...