class platypush.message.event.mqtt.MQTTMessageEvent(msg, host=None, port=None, topic=None, *args, **kwargs)[source]

Bases: Event

MQTT message event object. Fired when platypush.backend.mqtt receives a new event.

__init__(msg, host=None, port=None, topic=None, *args, **kwargs)[source]

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).