iScale is a Flutter application that utilizes MQTT (Message Queuing Telemetry Transport) for real-time weight monitoring using an IoT device. This application provides a user-friendly interface to display the current weight received from the MQTT broker.
- Real-time Weight Monitoring: Continuously updates and displays the current weight from the MQTT broker.
- Simple Interface: Provides a clean and intuitive user interface for easy interaction.
- Flutter SDK installed on your system.
- MQTT broker (such as HiveMQ Cloud) set up for communication with the IoT device.
-
Clone the repository to your local machine:
git clone <repository_url>
-
Navigate to the project directory:
cd iScale
-
Install dependencies:
flutter pub get
-
Open the project in your preferred Flutter IDE (such as VSCode or Android Studio).
-
Configure the MQTT broker connection settings in the
MQTT.dart
file:client = MqttServerClient.withPort('your_broker_address', 'your_client_id', 8883); client.secure = true; // Enable secure connection (if required) client.securityContext = SecurityContext.defaultContext;
-
Run the application:
flutter run
Contributions are welcome! Feel free to open issues or submit pull requests to help improve this project.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.