IoT Device Event Logging in Mobile App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
IoT Device Event Logging in Mobile App
Simple
from 4 hours to 2 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Implementing Event Logging for IoT Devices in Mobile App

IoT event log isn't just a table with date and text. It's an incident investigation tool: when device lost connection, when sensor triggered, who and when sent command. Without filtering and fast search through hundreds of thousands of records, the log is useless.

Event Structure and Storage

Minimal event field set:

data class DeviceEvent(
    val id: Long,
    val deviceId: String,
    val timestamp: Instant,
    val severity: Severity,  // DEBUG, INFO, WARNING, ERROR, CRITICAL
    val category: String,    // "connection", "sensor", "command", "firmware"
    val message: String,
    val metadata: Map<String, Any?>,  // payload depends on category
)

Backend—TimescaleDB (PostgreSQL extension) or ClickHouse for time-series event storage with fast range queries. Mobile client—paginated loading with filters.

Filtering and Search

Future<List<DeviceEvent>> fetchEvents({
  required String deviceId,
  DateTime? from,
  DateTime? to,
  List<Severity>? severities,
  String? searchQuery,
  int page = 0,
  int pageSize = 50,
}) async {
  return _api.getEvents(
    deviceId: deviceId,
    from: from?.toIso8601String(),
    to: to?.toIso8601String(),
    severities: severities?.map((s) => s.name).toList(),
    q: searchQuery,
    offset: page * pageSize,
    limit: pageSize,
  );
}

Color coding by severity: gray (DEBUG), white (INFO), yellow (WARNING), red (ERROR/CRITICAL). Critical events—higher in list regardless of time, others—by descending time.

Local Cache and Offline

Cache last 500 events in SQLite (drift)—log accessible without internet. On connection restore, fetch new records since last sync via since API parameter.

Implementing IoT event log with filtering, search, color coding, and offline cache: 1–2 weeks. Cost individually quoted.