Using Asyncio - aka Tulip - for Home Automation
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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
Learn Advanced Python 3: ConcurrencyCodecademy Enhancing Network Automation with Generative AI
Pluralsight Python 3 Performance
Pluralsight Getting Started with Python 3 Concurrency
Pluralsight Python Django, Aiohttp Workshop: Cooking Secret Note service
Udemy