adafruit
Platypush documentation
adafruit
- class platypush.message.event.adafruit.ConnectedEvent(*args, **kwargs)[source]
Bases:
Event
Event triggered when the backend connects to the Adafruit message queue
- __init__(*args, **kwargs)[source]
- Params:
target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these
events (default: INFO).
- class platypush.message.event.adafruit.DisconnectedEvent(*args, **kwargs)[source]
Bases:
Event
Event triggered when the backend disconnects from the Adafruit message queue
- __init__(*args, **kwargs)[source]
- Params:
target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these
events (default: INFO).
- class platypush.message.event.adafruit.FeedUpdateEvent(feed, data, *args, **kwargs)[source]
Bases:
Event
Event triggered upon Adafruit IO feed update
- __init__(feed, data, *args, **kwargs)[source]
- Params:
target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these
events (default: INFO).