{"id":13338111,"url":"https://github.com/mk590901/cloud_measurement_app","last_synced_at":"2026-05-01T16:36:45.852Z","repository":{"id":209337460,"uuid":"723776245","full_name":"mk590901/cloud_measurement_app","owner":"mk590901","description":"The repository contains a flutter application project for visualizing measurements performed on the cloud.","archived":false,"fork":false,"pushed_at":"2023-11-28T18:06:35.000Z","size":351,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T15:12:00.684Z","etag":null,"topics":["dart","esp32","flutter","pubsub-subscriber","toit","toitware"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mk590901.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-26T18:18:05.000Z","updated_at":"2023-11-28T18:15:09.000Z","dependencies_parsed_at":"2024-10-23T19:28:26.740Z","dependency_job_id":"144f34aa-104d-42b4-b689-edbcb1ee76f4","html_url":"https://github.com/mk590901/cloud_measurement_app","commit_stats":null,"previous_names":["mk590901/cloud_measurement_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mk590901/cloud_measurement_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fcloud_measurement_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fcloud_measurement_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fcloud_measurement_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fcloud_measurement_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mk590901","download_url":"https://codeload.github.com/mk590901/cloud_measurement_app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fcloud_measurement_app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32505110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","esp32","flutter","pubsub-subscriber","toit","toitware"],"created_at":"2024-07-29T19:15:31.520Z","updated_at":"2026-05-01T16:36:45.800Z","avatar_url":"https://github.com/mk590901.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Measuring In Cloud\n\nFlutter frontend for cloud located sensor.\n\n## Introduction\n\n\u003eThe goal of the project is to developing a universal widget for controlling and visualizing a certain virtual (for now) measuring instrument. In this case - this is a temperature sensor.\n\n## Concept\n\n\u003eThe widget is a tile consisting of several elements: an icon with animation elements, a measurement result field and a button that allows you to initiate or interrupt a measurement. The color of the widget changes depending on the received measuring value: out of range, critically low, low, normal, and then increasing according to the same principle. The main idea is to create a common measuring panel for a certain number of sensors in the form of a vertical list of items, each of which is a widget of a separate device or a property of a complex device.\n\n## Implementation\n\n\u003eAll application elements were created earlier and applied in the project https://github.com/mk590901/temperature_sensor_simulator. In the current project they are just a little more streamlined and refactored. The implementation still uses the **BLOC** model.\n\n## Features of the application\n\n\u003eThe application is represented by four pages: **login**, **logout**, **simulator panel** and **about** page. There are buttons on the toolbar of app to navigate.\n\n\u003eElements of interaction with **toitware's account** in which **ESP32** controllers are registered have been added to the application. The **toit_api** library is used for this. It allows you to connect to an account, as well as send data to the controller and receive a response from it using the **publish-subscribe** pattern.\n\n\u003eThe application works in two modes: **local**, using an internal temperature sensor simulator or **cloud**, using an external simulator running on an ESP32. In the second case, you must first deploy the CloudServer application, as shown in the figure below. If you run the application and ignore login and go straight to the sensor page, the internal simulator starts. If login is executed, then simulator will be launched on the ESP32 controller connected to the your toitware account on the cloud.\n\n\u003eThis application can be considered as client, similar to the client application on toit in the https://github.com/mk590901/toit-temperature-sensor project, only writted on flutter. Can say this project includes server elements of the https://github.com/mk590901/toit-temperature-sensor project.\n\n\u003eBelow are two movies: the first is ESP32 simulation on cloud, the second is the local internal simulator. Unfortunately, github doesn't allow to add movies larger than 10MB to README.md, so I had to create two videos.\n\n### ESP32 simulation on cloud\n\nhttps://github.com/mk590901/cloud_measurement_app/assets/125393245/90c94fce-704b-41ee-9f64-be44b4c460d8\n\n### Local Simulation\n\nhttps://github.com/mk590901/cloud_measurement_app/assets/125393245/d5f65dce-c616-4c45-b9b5-8960b74c8dc9\n\n\u003eIt's easy to see that, all other things being equal, an application using ESP32 is much slower. Sending and receiving data via the cloud takes time.\n\n## Additions\n\n\u003eDeployment of TOIT CloudServer app \n\n![echo](https://github.com/mk590901/cloud_measurement_app/assets/125393245/0f13bf06-09d9-4af7-9cf4-ea934f09f6d0)\n\n\u003eThe next picture is provided to confirm that everything that is happening isn't vision aberration or a fake, and the application actually involves ESP32 and cloud. This is screenshot of toitware console of CloudServer app -  temperature sensor emulator server. \n\n![toit_console](https://github.com/mk590901/cloud_measurement_app/assets/125393245/fcc3bd81-5ee6-4537-8371-2e92af36a415)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmk590901%2Fcloud_measurement_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmk590901%2Fcloud_measurement_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmk590901%2Fcloud_measurement_app/lists"}