PyCon 2016 in Portland, Or
hills next to breadcrumb illustration

Monday 1:55 p.m.–2:25 p.m.

Awaken your home: Python and the Internet of Things

Paulus Schoutsen

Audience level:
Intermediate
Category:
Python Libraries

Description

People are acquiring more and more connected devices for their homes. With no standard in place for communication, vendors are shipping their own platforms. This results in devices unable to work together. This talk shows people how to take control of their houses, their data and their privacy using Python – no cloud attached. Enter the world of Home Assistant.

Abstract

People are acquiring more and more connected devices for their homes. With no standard in place for communication, vendors are shipping their own platforms. This results in a fragmented system with devices unable to work together. To bridge these platforms, hubs are introduced. A hub speaks multiple home automation protocols and offers a platform for automation. Home Assistant is an open-source home automation hub written in Python 3 with an active community and with support for over 100 different devices and platforms. It models the Internet of Things using two concepts: there are events that happen and there are entities that can hold state, can be controlled or both. Automation rules are building on top of these concepts: they are triggered by an event, can have conditions based on the state of entities and will control entities or call external services. This talk will take the audience on a tour how to start building on top of Home Assistant and take control of your house. It will show how to use Python to integrate an external data source and a switch and how to write automation rules.