{"id":20131342,"url":"https://github.com/sanpii/vmc","last_synced_at":"2026-05-30T20:31:42.809Z","repository":{"id":148950769,"uuid":"57056399","full_name":"sanpii/vmc","owner":"sanpii","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-07T08:22:47.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T21:44:35.617Z","etag":null,"topics":["iot"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/sanpii.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":"2016-04-25T16:07:35.000Z","updated_at":"2016-04-25T16:09:36.000Z","dependencies_parsed_at":"2023-04-13T23:24:25.744Z","dependency_job_id":null,"html_url":"https://github.com/sanpii/vmc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanpii/vmc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanpii%2Fvmc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanpii%2Fvmc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanpii%2Fvmc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanpii%2Fvmc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanpii","download_url":"https://codeload.github.com/sanpii/vmc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanpii%2Fvmc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33709269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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":["iot"],"created_at":"2024-11-13T20:47:44.738Z","updated_at":"2026-05-30T20:31:42.792Z","avatar_url":"https://github.com/sanpii.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automated VMC\n\nThis is a part of [Uncontrolled Mechanical\nVentilation](https://hackaday.io/project/12708-uncontrolled-mechanical-ventilation)\nproject.\n\n## Hardware\n\n* 1 raspberry pi 3 (or v2 with a wifi doggle) ;\n* 1 relay module with 2 relais.\n\n![Schema](doc/vmc.png)\n\n## Software\n\nOn a [minibian](https://minibianpi.wordpress.com/).\n\n### Wifi configuration\n\nSee the [how to](https://minibianpi.wordpress.com/how-to/wifi/).\n\n### Requirements\n\n```\n# apt install jq bc mosquitto-clients\n```\n\n### Configuration\n\nCreate a new `~/.config/vmc` file:\n\n```\nreadonly MAX_HUMIDITY=90\nreadonly MIN_TEMPERATURE=3\nreadonly MAX_TEMPERATURE=30\nreadonly WINTER=1\nreadonly MQTT_HOST='192.168.1.1'\nreadonly GPIO_INT1=23\nreadonly GPIO_INT2=24\n```\n\n### Execution\n\nCreate a new unit for systemd in `/etc/systemd/system/vmc.service`:\n\n```\n[Unit]\nDescription=VMC\nAfter=network.target\n\n[Service]\nExecStart=/root/vmc/src/vmc\nRestart=on-failure\n```\n\nEnable it:\n\n```\n# systemctl enable vmc.service\n```\n\nAnd launch it:\n\n```\n# systemctl start vmc.service\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanpii%2Fvmc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanpii%2Fvmc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanpii%2Fvmc/lists"}