App Optimization for Smooth Online and Offline Data Collection

App Optimization for Smooth

Client Background


The Swiss energy management tech company provides tools for metering, billing, and consumption tracking across residential buildings using smart gateways. It faced issues with excessive data (3–5 GB/month), system instability, and poor offline support across its 1,700 devices.

Project Objectives & Goals:


  • Cut data usage to under 300 MB/month
  • Switch to SQLite
  • Upgrade to the Raspberry Pi OS
  • Better offline data handling
  • Enhance UI for easier management


Solution


A structured, iterative approach focused on deep discovery, parallel updates, and continuous feedback is what we were guided by. We analyzed each functional and non-functional requirement, prioritizing stability and offline reliability. The client received a robust system update plan designed to tackle each challenge in logical stages. Close collaboration and transparent reporting kept the client informed throughout the entire process.

Our contributions included:

Gear2
  • Design and implementation: Our team designed and implemented incremental system updates, including enhancements to the local web server and refinements to the user interface, ensuring a more intuitive and efficient user experience
  • Server-side development: We conducted a detailed review of the existing infrastructure, identifying critical issues and optimizing the system for improved performance and reliability
  • Regulatory and compliance reporting: Through extensive testing, we validated the system’s offline data collection capabilities and update mechanisms, ensuring compliance with data integrity and synchronization requirements
  • Technological integration: Using a combination of web technologies and local server solutions, we ensured seamless operation across different environments, maintaining robustness in both online and offline scenarios

Key Features


  • Introduced local event-based data processing to cut data volume and boost reliability
  • Replaced MongoDB with lightweight SQLite for improved performance and stability
  • Updated the UI using Bulma and Pico CSS for faster loading, even with weak connectivity
  • Enhanced service updates and device control for stable operation across 1,700+ devices


Business Value

Icon OptimizationOptimized data efficiency

The solution drastically reduced data volume from 3-5GB to under 300MB monthly. This enabled cheaper transmission costs and faster synchronization speeds.

Improve

Icon Improving UXBetter system reliability

By replacing MongoDB with SQLite, we eliminated critical crashes and enhanced platform stability, ensuring consistent uptime and a seamless user experience.

Boosting revenue

Icon Developing all flowTime savings for teams and users

The refined UI/UX and real-time monitoring tools reduced manual oversight for internal technicians while giving end-users instant access to meter data and simplified controls

Competitive edge

Tech Stack:

Python
Flask
MongoDB
Raspberry Pi

Success Stories

Case studies