zwave.mqtt

class platypush.backend.zwave.mqtt.ZwaveMqttBackend(client_id: Optional[str] = None, *args, **kwargs)[source]

Bases: MqttBackend

Listen for events on a zwavejs2mqtt service.

Triggers:

Requires:

__init__(client_id: Optional[str] = None, *args, **kwargs)[source]
Parameters:

client_id – MQTT client ID (default: <device_id>-zwavejs-mqtt, to prevent clashes with the platypush.backend.mqtt.MqttBackend client_id.

run()[source]

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