Project Details

Logbot is an IoT platform that connects devices to the cloud, and helps easily collect, analyze, share data and control your installations remotely. Logbot SDK for Flutter is a fully fledged SDK that help Flutter programmers easily develop applications that interface with the Logbot platform.

The SDK let the users manage their Logbot account and the registered IoT devices, both remotely or with a local connection. User can change the device configuration, download data from it, write data directly from your mobile app to the device memory and much more. The SDK is composed of various modular packages that developers can download separately to manage different Logbot services.

Information

Client:

Logbot S.r.l.

Date:

December 31, 2022

Function:

Developer

Software Architect

Technologies:
  • flutter
Site Link:

logbot.cloud

Availability:
#

Architecture and Technologies

In this project, I designed the project architecture and developed the whole code. The SDK connects to Logbot services running dockerized on the cloud or inside the IoT. The Logbot SDK code has been generated with OpenAPI Generator for Dart starting from the API specifications of the Logbot services. The code has been then adapted to smoothly integrate with the Logbot platform implementing OTP authentication, token refresh, local connection via WiFi and Bluetooth and many more features.

The Logbot SDK for Flutter currently includes the following packages:

  • Logbot Auth: authenticate to the Logbot platform

  • Logbot Core: connect to the basic Logbot services to manage your account and your devices

  • Logbot Bitstream: download collected data as a timeseries from the Graphite service of Logbot

  • Logbot Wallet: manage your account wallet, top up credit, buy products and more

  • Logbot Writer: read and write data directly into the PLC memory, through a Logbot IoT

  • Logbot Setup: configure your IoT and all its connections parameters, and check its status

  • Logbot Firewall: configure and use your IoT as a Firewall and more

  • Logbot Bluetooth: BLE client to directly discover and connect to Logbot devices

  • Logbot Discovery: MDNS client to discover and connect to Logbot devices via WiFi over a local network

  • Logbot Setup UI: supply the user with an interface to easily setup a Logbot IoT via Bluetooth for the first time

  • Logbot Runtime: optimize read and write operations to the PLC memory during runtime

More packages coming soon:

  • Logbot Edge Services: deploy custom services into your IoT

Packages are published on pub.dev. Every module is linted, formatted and tested before publishing, and includes an example application ready to run and usage documentation.