class, *args, **kwargs)[source]

Backend that listens to messages received over the Adafruit IO message queue



__init__(feeds, *args, **kwargs)[source]
Parameters:feeds (list[str]) – List of feed IDs to monitor

Callback when a message is received on the backend. It parses and posts the message on the main bus. It should be called by the derived classes whenever a new message should be processed.

Parameters:msg – Received message. It can be either a key-value dictionary, a platypush.message.Message object, or a string/byte UTF-8 encoded string

Starts the backend thread. To be implemented in the derived classes if the loop method isn’t defined.