X-Git-Url: https://git.rvb.name/mqtt-noolite.git/blobdiff_plain/7f30da8a3df100711cdb33bed2866ffe1410f878..f78b28dff4ab1baa5a51b15e62b4f0390f6ea955:/nmd/nl_mqtt.py?ds=sidebyside diff --git a/nmd/nl_mqtt.py b/nmd/nl_mqtt.py index fc6ddec..f02018c 100644 --- a/nmd/nl_mqtt.py +++ b/nmd/nl_mqtt.py @@ -144,6 +144,22 @@ class MqttDriver(metaclass=Singleton): elif command == "service": mtrf_command["cmd"] = 131 + elif command == "start_bind": + mtrf_command["ctr"] = 3 + mtrf_command["cmd"] = 0 + + elif command == "stop_bind": + mtrf_command["ctr"] = 4 + mtrf_command["cmd"] = 0 + + elif command == "clear_bind": + mtrf_command["ctr"] = 5 + mtrf_command["cmd"] = 0 + + elif command == "unbind_addr": + mtrf_command["ctr"] = 7 + mtrf_command["cmd"] = 0 + except Exception as e: logger.exception(e) continue