Translated from Python to Dart. Source can be seen [here] (

Installing dependencies

  1. Install AWS DynamoDB SDK (ver 1.0.0)
flutter pub add aws_dynamodb_api
  1. Install Dart Decimal package (ver 2.1.0)
flutter pub add decimal
  1. Install flutter_blue package (ver 0.8.0). May need adminstration rights.
flutter pub add flutter_blue
  1. Install mqtt_client package (ver 9.6.3)
flutter pub add mqtt_client
  1. Install flutter_dotenv (ver 5.0.2)
flutter pub add flutter_dotenv

Other required dependencies

  1. DynamoDB


    1. Have JRE installed.
    2. Download DynamoDB locally here.
    3. Unzip the files.

    To run Database

    1. Run db instance locally.
    java -D"java.library.path=./DynamoDBLocal_lib" -jar DynamoDBLocal.jar -sharedDb

    To test for connection

    1. Run command
    aws dynamodb list-tables --endpoint-url http://localhost:8000


    1. Read more here.
  2. Mosquitto

    Installation guide

    1. Tested on Ubuntu 20.04.
    2. Read more here.

    To boot up Mosquitto

    1. Run
    1. To see published messages
    mosquitto_sub -h localhost -t "<insert topic>" -u "<insert username>" -P "<insert password>"


  1. Run Flutter App.
flutter run


View Github