Главная
Study mode:
on
1
Introduction
2
Dougal Matthews
3
What is home automation
4
Radio
5
Electricity
6
Temperature Humidity
7
Lightwave RF
8
Example Packet
9
Event Stream
10
Asyncio Documentation
11
Python RFHCOM
12
The callback trap
13
Yield from
14
Results
15
Humidity
16
Lessons learned
17
Questions
Description:
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.

Using Asyncio - aka Tulip - for Home Automation

EuroPython Conference
Add to list