Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.36 KB

extlibs.rst

File metadata and controls

39 lines (22 loc) · 1.36 KB

External libraries

asyncio primitives

To get you startet the ESP8266 firmware has asyncio primitives from Peter Hinch included

uasyncio, uasyncio.core, mqtt_as.py and asyn.py are requiered for Microhomie.

switch

switch.py asyncio switch class

Simple debounced switch class for normally open grounded switch.

pushbutton

pushbutton.py asyncio pushbutton class

Extend the Switch class to support logical state, long press and double-click events

Author: Peter Hinch

mqtt_as.py

mqtt_as.py is a "resilient" asynchronous non-blocking MQTT driver. In Microhomie we use the patched version from Kevin Köck. Kevins version use keywords to initialize the mqtt_as object, support for "unsubscribe" and support for the unix port of MicroPython.

Author: Peter Hinch, Kevin Köck