Skip to content

Latest commit

 

History

History

AsyncioProp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Asyncio Props

Examples of pure Python props using asyncio.

With AsyncioProp flavor, you code props that do not need a graphical interface:

  • sensors and actuators (GPIO and I2C shieds)
  • sound (playsound, pydub or native player like aplay, mplayer and mpg123)

The asyncio framework allows writing non-blocking Python programs that multitask seamlessly.

AsyncioProp props hides the complexity of the asyncio framework and adds MQTT asynchronous messaging to facilitate your coding.

You will choose your sound solution according to the latency required for the prop to play an audio file.

Installation and usage

You will find installation and usage instructions in the PyProps library INSTALLATION.md

Asyncio Props applications

For most the common console props (without graphical interface), for example:

  • educational example which echoes messages and make a LED blinking (PyBlinkEcho)
  • detect vibrations to trigger a crying doll (PyCryingDollProp)
  • detect RFID tag with a NFC I2C shield
  • play sound

Author

Faure Systems (Mar 30th, 2020)

  • company: FAURE SYSTEMS SAS
  • mail: dev at faure dot systems
  • github: xcape-io
  • web: xcape.io