{"id":18849950,"url":"https://github.com/abinba/rpi-project","last_synced_at":"2026-04-30T08:39:46.301Z","repository":{"id":65518067,"uuid":"593740853","full_name":"abinba/rpi-project","owner":"abinba","description":"RPi (Raspberry Pi) study project to send temperature, pressure and humidity to Grafana.","archived":false,"fork":false,"pushed_at":"2023-01-26T23:54:58.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T15:35:26.670Z","etag":null,"topics":["chatgpt","docker-compose","grafana","openai","python","rpi"],"latest_commit_sha":null,"homepage":"","language":"Python","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/abinba.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}},"created_at":"2023-01-26T18:28:57.000Z","updated_at":"2023-01-26T23:56:10.000Z","dependencies_parsed_at":"2023-02-15T03:15:53.539Z","dependency_job_id":null,"html_url":"https://github.com/abinba/rpi-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinba%2Frpi-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinba%2Frpi-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinba%2Frpi-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinba%2Frpi-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abinba","download_url":"https://codeload.github.com/abinba/rpi-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239786251,"owners_count":19696772,"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":["chatgpt","docker-compose","grafana","openai","python","rpi"],"created_at":"2024-11-08T03:27:03.417Z","updated_at":"2025-10-31T10:05:58.782Z","avatar_url":"https://github.com/abinba.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry PI Study Project\n\n## Overview\n\nThis study project (Introduction to IoT) reads sensor data from a Raspberry Pi (RPi) \nand sends it to an InfluxDB database. The data is then displayed on a Grafana dashboard and \nanalyzed by a ChatGPT AI to provide a status on the current \nconditions and potentially give advice on what actions to take.\n\n## Setup\n- Install the necessary libraries by running `pip install -r requirements.txt`.\n- In order to run InfluxDB and Grafana use `docker-compose up -d`.\n- Run the script `main.py` to start collecting sensor data and sending it to the InfluxDB.\n\n## Dependencies\n- Python 3\n- InfluxDB 1.6\n- Grafana\n- ChatGPT AI\n- BME280 sensor for temperature, pressure, and humidity readings\n\n## Usage\n\nThe script `main.py` is the main entry point of the program. \nIt initializes the BME280 sensor, InfluxDB, and ChatGPT AI, and then enters a \nloop to read sensor data, send it to InfluxDB, and use ChatGPT to analyze the \ndata and provide a status on the current conditions. The script also sends the \nconditions status to the user via the `send_message` function to Telegram. The loop is set to \nrun every 5 seconds but can be adjusted as needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabinba%2Frpi-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabinba%2Frpi-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabinba%2Frpi-project/lists"}