Techniques for improving localization applications running on low-cost IoT devices