Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using Asyncio - aka Tulip - for Home Automation

EuroPython Conference via YouTube

Overview

Explore the new asyncio library in Python 3.4 (also known as Tulip) through a practical case study on home automation in this EuroPython 2014 conference talk. Dive into event-driven applications for managing and monitoring various devices, from electricity usage trackers to temperature sensors and remote-controlled appliances. Learn how asyncio, proposed by Guido van Rossum in PEP 3156, brings a clean and modern approach to the Python ecosystem. Discover the implementation of asyncio with devices like Raspberry Pi, RFXCom's RFXtrx, Owl CM160 electricity tracker, Oregon scientific thermometers, and Foscam IP cameras. Compare the asyncio-based solution with a previous Twisted implementation, and gain insights into handling multiple event-driven devices efficiently. Cover topics such as radio communication, event streams, asyncio documentation, Python RFHCOM, avoiding callback traps, and using yield from statements.

Syllabus

Introduction
Dougal Matthews
What is home automation
Radio
Electricity
Temperature Humidity
Lightwave RF
Example Packet
Event Stream
Asyncio Documentation
Python RFHCOM
The callback trap
Yield from
Results
Humidity
Lessons learned
Questions

Taught by

EuroPython Conference

Reviews

Start your review of Using Asyncio - aka Tulip - for Home Automation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.