{"id":13338132,"url":"https://github.com/mk590901/measurements","last_synced_at":"2025-04-05T15:12:00.971Z","repository":{"id":206853090,"uuid":"717839120","full_name":"mk590901/measurements","owner":"mk590901","description":"Repository contains app simulator of healthcare measurement device written on 'toit' programming language can be run on ESP32 controller.","archived":false,"fork":false,"pushed_at":"2023-11-13T18:18:21.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T11:52:56.719Z","etag":null,"topics":["grpc","pubsub","toit","toit-language"],"latest_commit_sha":null,"homepage":"","language":null,"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}},"created_at":"2023-11-12T18:58:59.000Z","updated_at":"2023-11-13T03:37:56.000Z","dependencies_parsed_at":"2023-11-13T19:50:21.360Z","dependency_job_id":null,"html_url":"https://github.com/mk590901/measurements","commit_stats":null,"previous_names":["mk590901/measurements2","mk590901/measurements"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fmeasurements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fmeasurements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fmeasurements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk590901%2Fmeasurements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mk590901","download_url":"https://codeload.github.com/mk590901/measurements/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353742,"owners_count":20925329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["grpc","pubsub","toit","toit-language"],"created_at":"2024-07-29T19:15:31.687Z","updated_at":"2025-04-05T15:12:00.940Z","avatar_url":"https://github.com/mk590901.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# TOIT Measurements\n\n## Introduction\nThe application is a simulator of four medical indicators: blood pressure (upper and lower), oxygen, temperature and heart rate.\n\n## Components\nThe main object of the application is an instance of the **TimersPool class**, which creates 5 virtual timers operating at a certain frequency. Each of these timers is responsible for the generated values: t1 - upper pressure, t2 - lower pressure, t3 - oxigen, t4 - temperature, t5 - heart rate. When the timeout is reached, the timer sends the corresponding value to the **cloud:demo/pong** topic, packing it into a json-string.\n\nThe main function starts a task, which, when receiving an event via the **cloud:demo/ping^^ channel, creates a **TimersPool**, builds the five timers discussed above and makes it possible to generate and send data within 30 seconds. Then an event is sent to the client indicating the end of the measurement session.\n\nThis app must be installed on the **ESP32**. It's located in the 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\"**.\n\n## Using\nIt should also be noted that the TOIT app is a server and should be work with a client from the *https://github.com/mk590901/cloud_measurements* repository, written in dart in the flutter environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmk590901%2Fmeasurements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmk590901%2Fmeasurements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmk590901%2Fmeasurements/lists"}