{"id":27769723,"url":"https://github.com/eddex/voc-telegram-bot","last_synced_at":"2025-07-22T23:33:41.307Z","repository":{"id":81515333,"uuid":"334202104","full_name":"eddex/voc-telegram-bot","owner":"eddex","description":"Telegram bot that tells me when my room is smelly :mask:","archived":false,"fork":false,"pushed_at":"2021-01-29T18:16:59.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T20:56:04.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eddex.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,"zenodo":null}},"created_at":"2021-01-29T16:34:00.000Z","updated_at":"2023-07-25T14:43:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"90d79e7e-c5af-471e-aa23-e40ebdead255","html_url":"https://github.com/eddex/voc-telegram-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eddex/voc-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddex%2Fvoc-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddex%2Fvoc-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddex%2Fvoc-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddex%2Fvoc-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddex","download_url":"https://codeload.github.com/eddex/voc-telegram-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddex%2Fvoc-telegram-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266590573,"owners_count":23952960,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2025-04-29T20:56:03.242Z","updated_at":"2025-07-22T23:33:41.298Z","avatar_url":"https://github.com/eddex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VOC Telegram Bot\n\nA simple Telegram, bot that sends VOC (volatile organic compounds) and eCO2\n(equivalent CO2) data from an [SGP30 Air Quality Sensor](https://www.sparkfun.com/products/16531)\nto a chat.\n\n## bot commands\n### start\nSends a welcome message to the chat.\n```\nHello Marco.\n```\n\n### get\nReads the VOC and eCO2 values from the sensor and returns them:\n```\nVOC: 12 ppb\neCO2: 402 ppm\n```\n\n## getting started\n\nThe bot needs to run on a Raspberry Pi that has an\n[SGP30 Air Quality Sensor](https://www.sparkfun.com/products/16531) connected.\n\n```bash\ncd voc-telegram-bot\npip install -r requirements.txt\npython3 main.py YOUR_BOT_TOKEN\n```\n\nRunning the bot in a background process (e.g when connected via ssh):\n\n```bash\n# start in background\nnohup python3 main.py YOUR_BOT_TOKEN \u0026\n# save pid in txt\necho $! \u003e pid.txt\n# stop background process\nkill -9 `cat pid.txt`\nrm pid.txt\n```\n\n## used libraries\n\n- [Python Telegram Bot](https://python-telegram-bot.org/)\n- [SGP30 Python](https://github.com/pimoroni/sgp30-python)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddex%2Fvoc-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddex%2Fvoc-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddex%2Fvoc-telegram-bot/lists"}