Using Asyncio - aka Tulip - for Home Automation
Offered By: EuroPython Conference via YouTube
Course Description
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
Related Courses
An Introduction to Interactive Programming in Python (Part 1)Rice University via Coursera Introduction: Elements of Microgame Design
Worcester Polytechnic Institute via Kadenze Programming with GUIs
Raspberry Pi Foundation via FutureLearn Introduction to Basic Game Development using Scratch
Coursera Project Network via Coursera Basic Game Development with Levels using Scratch
Coursera Project Network via Coursera