{"id":13469169,"url":"https://github.com/RigacciOrg/AirPi","last_synced_at":"2025-03-26T06:31:59.688Z","repository":{"id":113017634,"uuid":"77866828","full_name":"RigacciOrg/AirPi","owner":"RigacciOrg","description":"A monitoring station for air quality based on Raspberry Pi","archived":false,"fork":false,"pushed_at":"2019-01-30T15:24:47.000Z","size":1363,"stargazers_count":23,"open_issues_count":1,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T23:54:37.178Z","etag":null,"topics":["pollution","pollution-levels","python","raspberry-pi","sensors"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RigacciOrg.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":"2017-01-02T22:49:44.000Z","updated_at":"2024-01-14T18:06:22.000Z","dependencies_parsed_at":"2023-06-05T15:00:16.974Z","dependency_job_id":null,"html_url":"https://github.com/RigacciOrg/AirPi","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/RigacciOrg%2FAirPi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RigacciOrg%2FAirPi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RigacciOrg%2FAirPi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RigacciOrg%2FAirPi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RigacciOrg","download_url":"https://codeload.github.com/RigacciOrg/AirPi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245603979,"owners_count":20642917,"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":["pollution","pollution-levels","python","raspberry-pi","sensors"],"created_at":"2024-07-31T15:01:28.337Z","updated_at":"2025-03-26T06:31:57.295Z","avatar_url":"https://github.com/RigacciOrg.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# AirPi: air quality station with the Raspberry Pi and the PM5003 sensor\n\nhttps://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/raspberrypi_air\n\nA monitoring station for air quality based on the Raspberry Pi\n\n## pms5003\n\nThe **lib/pms5003** is a Python script to read data from the \nPMS5003 particulate matter sensor by Plantower. It uses the \nserial line. It is rather complicated because it has all the \nfollowing features:\n\n* Handle sleep-down and awake of the sensor.\n* Wait some time before read, allow the sensor to settle.\n* Multiple read with average calculation.\n* Verify data checksum.\n* Handle communication errors.\n* Single read or endless loop.\n* Write data to status file (STATUS_FILE).\n* Log to stdout/file/syslog.\n\nThe **Single Read Mode** is suitable for a cronjob: set \nSLEEP_BETWEEN_READS to -1. The sensor will be awakened before \nthe reading, and it will be put at sleep before program exit.\n\nFor the **Endless Loop Mode** set SLEEP_BETWEEN_READS to the \nacquiring interval (seconds). If the interval is greather than \nthree times the sensor's settling time, the sensor will be put \nto sleep before the next read.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRigacciOrg%2FAirPi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRigacciOrg%2FAirPi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRigacciOrg%2FAirPi/lists"}