Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mk590901/cloud_measurements
Repository contains flutter app interact with toit app on ESP32 controller.
https://github.com/mk590901/cloud_measurements
dart flutter grpc pubsub toit toit-language
Last synced: 4 days ago
JSON representation
Repository contains flutter app interact with toit app on ESP32 controller.
- Host: GitHub
- URL: https://github.com/mk590901/cloud_measurements
- Owner: mk590901
- Created: 2023-11-12T18:43:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-13T18:20:00.000Z (about 1 year ago)
- Last Synced: 2024-10-23T20:13:03.616Z (2 months ago)
- Topics: dart, flutter, grpc, pubsub, toit, toit-language
- Language: Dart
- Homepage:
- Size: 608 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud Measurements
## Introduction
The app is a client, that sends requests to a server running on an **ESP32** controller. The server, in turn, is a simulator of some hypothetical medical device that allows to obtain several medical parameters. In addition to the measurement request, the application receives a set of measured parameters and visualizes them in the app. The application is first registered on the server by executing login and after by press the button "Request Measurement" send serquest to server start measurements.
## Toitware components
The application uses the **toit_api 1.0.0** library, which allows to log into the user's account registered on the toitware website, and also, using pubsub technology, subscribe to receive data from the **ESP32** via the **cloud:demo/ping** topic, and send commands to the server via the **cloud:demo/ping** channel.
Naturally, the toit- application must be installed on the ESP32. It's located in the *https://github.com/mk590901/measurements* repository. The application is installed (via deployment) with the command **toit -d=nuc deploy measurements2.yaml** (on ESP32 **nuc**, you controller may have other names) and uninstalled with the command **toit device -d=nuc uninstall "Measurements"**.