{"id":22530414,"url":"https://github.com/matheusafonseca/c213-trabalho-2","last_synced_at":"2026-04-14T04:02:13.355Z","repository":{"id":265777821,"uuid":"895045836","full_name":"matheusAFONSECA/C213-trabalho-2","owner":"matheusAFONSECA","description":" Repository dedicated to storing the codes for the second project of the C213 - Embedded Systems course at INATEL - Instituto Nacional de Telecomunicações. This repository contains a project developed for a system that uses Fuzzy Logic to perform corrections and optimizations within the system.","archived":false,"fork":false,"pushed_at":"2024-12-12T01:58:02.000Z","size":2105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T11:04:09.879Z","etag":null,"topics":["fuzzy","fuzzy-control","fuzzy-controller","mosquitto","mosquitto-mqtt-broker","mqtt","mqtt-broker","node-red","python","python3","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matheusAFONSECA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-27T13:14:27.000Z","updated_at":"2024-12-12T01:57:18.000Z","dependencies_parsed_at":"2024-11-30T22:38:14.456Z","dependency_job_id":"77532c4a-34a6-4660-8254-9b4a2c8f4057","html_url":"https://github.com/matheusAFONSECA/C213-trabalho-2","commit_stats":null,"previous_names":["matheusafonseca/c213-trabalho-2"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/matheusAFONSECA/C213-trabalho-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FC213-trabalho-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FC213-trabalho-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FC213-trabalho-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FC213-trabalho-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matheusAFONSECA","download_url":"https://codeload.github.com/matheusAFONSECA/C213-trabalho-2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusAFONSECA%2FC213-trabalho-2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fuzzy","fuzzy-control","fuzzy-controller","mosquitto","mosquitto-mqtt-broker","mqtt","mqtt-broker","node-red","python","python3","streamlit"],"created_at":"2024-12-07T07:42:12.863Z","updated_at":"2026-04-14T04:02:13.336Z","avatar_url":"https://github.com/matheusAFONSECA.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C213-trabalho-2\n\nRepository dedicated to storing the codes for the second project of the C213 - Embedded Systems course at INATEL - Instituto Nacional de Telecomunicações. This repository contains a project developed for a system that uses Fuzzy Logic to perform corrections and optimizations within the system.\n\n## Index\n\n1. [Overview](#overview)  \n2. [Documentation](#documentation)  \n3. [Getting Started](#getting-started)  \n   3.1 [Cloning the Repository](#cloning-the-repository)  \n   3.2 [Setting Up the Virtual Environment](#setting-up-the-virtual-environment)  \n   3.3 [Installing the Requirements](#installing-the-requirements)  \n4. [Running the Project](#running-the-project)  \n5. [Authors](#authors)\n\n## Overview\n\nThis project features an interface developed with **Streamlit** that leverages a **Fuzzy Control System**. The results are transmitted via **Mosquitto-MQTT** to a dashboard managed by **Node-RED**, where system errors and fuzzy control outcomes are displayed.\n\n## Documentation\n\nThe repository includes comprehensive documentation covering the code, project structure, and the interface, with explanatory images:\n\n- [**Code and Project Structure Documentation**](/docs/code_documentation.md)\n\n- [**Interface Documentation**](/docs/interface_documentation.md)\n\n## Getting Started\n\nFollow the steps below to set up and run the project locally.\n\n### Cloning the Repository\n\nTo get started, clone this repository to your local machine. Run the following command in the directory where you want to save the repository:\n\n```bash\ngit clone https://github.com/matheusAFONSECA/C213-trabalho-2.git\n```\n\n### Setting Up the Virtual Environment\n\nA Python interpreter must be previous installed on your machine to create and activate the virtual environment. There are two ways to set up the virtual environment:\n\n#### 1 - Using Commands\n\nTo create a virtual environment in your repository, run the following command:\n\n```bash\npython -m venv C213venv\n```\n\nAfter creating the virtual environment, activate it with the following command:\n\n```bash\n.\\C213venv\\Scripts\\activate\n```\n\n#### 2 - Using Scripts\n\nAlternatively, you can use one of the scripts provided in the `scripts` directory to automate the setup:\n\n- **Windows:**\n\n```bash\n.\\scripts\\create_and_activate_venv.ps1\n```\n\n- **Linux or macOS:**\n\n```bash\n./scripts/create_and_activate_venv.sh\n```\n\n### Installing the Requirements\n\nOnce the virtual environment is active, install the required dependencies by running the following command:\n\n```bash\npip install -r requirements.txt\n```\n\n## Running the project\n\n### Streamlit Interface\n\nTo run the application, execute the following command:\n\n```bash\nstreamlit run src/main.py\n```\n\n### Node-RED Dashboard\n\nTo visualize the MQTT messages in the Node-RED dashboard, run the following command in a separate terminal:\n\n```bash\nnode-red\n```\n\n\u003e Note:\n\u003e Ensure that your machine has npm installed, along with the necessary modules to run Node-RED. Additionally, verify that the Node-RED connections are properly configured.\n\n\n## Authors\n\n### [Matheus Fonseca](https://github.com/matheusAFONSECA)\n\nUndergraduate student in the eighth (8th) semester of Computer Engineering at the National Institute of Telecommunications (Inatel). I participated in a Scientific Initiation at the Cybersecurity and Internet of Things Laboratory (CS\u0026ILAB), where, in the Park Here project, I developed skills in computer vision applied to parking systems, focusing on license plate recognition and vehicle identification. Additionally, I served as a teaching assistant for Physics 1, 2, and 3, helping with practical classes, report writing, and answering theoretical questions. Currently, I am an intern at the Inatel Competence Center (ICC) in the PDI SW department.\n\n## [Davi Rosa](https://github.com/DaviRGomes)\nComputer Engineering student at Inatel, currently in the 8th semester. At 21 years old, I am completing my degree, focused on gaining practical experience and specializing in an area related to the course I am finishing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusafonseca%2Fc213-trabalho-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatheusafonseca%2Fc213-trabalho-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusafonseca%2Fc213-trabalho-2/lists"}