{"id":16661725,"url":"https://github.com/wuan/circuitpy-logger","last_synced_at":"2025-12-27T21:03:28.457Z","repository":{"id":212877319,"uuid":"732513361","full_name":"wuan/circuitpy-logger","owner":"wuan","description":"Sensor device data logger based on CircuitPython and Adafruit sensor drivers","archived":false,"fork":false,"pushed_at":"2025-03-06T23:08:19.000Z","size":80,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T00:20:31.610Z","etag":null,"topics":["embedded-python","mqtt-client","sensors-data-collection"],"latest_commit_sha":null,"homepage":"https://wuerl.net/post/project/distributed-measurements-next-level/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wuan.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":"2023-12-16T23:20:45.000Z","updated_at":"2025-03-06T23:08:23.000Z","dependencies_parsed_at":"2024-01-11T09:19:47.079Z","dependency_job_id":"bbd3e43f-4504-4b40-8920-7d7139efb680","html_url":"https://github.com/wuan/circuitpy-logger","commit_stats":null,"previous_names":["wuan/circuitpy-logger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuan%2Fcircuitpy-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuan%2Fcircuitpy-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuan%2Fcircuitpy-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuan%2Fcircuitpy-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuan","download_url":"https://codeload.github.com/wuan/circuitpy-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243297935,"owners_count":20268877,"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":["embedded-python","mqtt-client","sensors-data-collection"],"created_at":"2024-10-12T10:35:58.415Z","updated_at":"2025-12-27T21:03:28.443Z","avatar_url":"https://github.com/wuan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# circuitpy-logger\n\n\u003e [!NOTE] \n\u003e This project has been integrated into https://github.com/wuan/klimalogger and will be archived.\n\nA sensor data logger for various I2C sensor devices for CircuitPython using MQTT.\n\n## Supported sensors\n\n* SHT4x Temperature / Humidity\n* BME680 Temperature / Humidity / Pressure\n* Pressure Sensors (BMP3xx, DPS310)\n* SCD4x CO2\n* SGP40 VOC index (air quality)\n* Light sensors (BH1750, VEML7700, TSL2591)\n* Magnetometer MMC56x3\n* Air quality (PM2.5)\n\nmore to come ...\n\n## Compatibility\n\n| CircuitPy version | Bundle release |\n|-------------------|----------------|\n| 8.x               | 20240423       |\n| 9.x (9.2.6)       | 20251003       |\n| 10.x (10.0.1)     | 20251010       |\n\nThe installer `install.py` is configured to download and install the bundle release for CircuitPython 10.x by default. Current bundle releases can be found [here](https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases).\n\n## Color coding\n\n| Step                  | Color        |\n|-----------------------|--------------|\n| WLAN connect          | yellow       |\n| NTP update            | magenta      |\n| MQTT connect / update | white        |\n| Sensor detection      | cyan         |\n| Sensor readout        | blue         | \n| Operation             | green -\u003e red |\n\n## Example config\n\n```\nWIFI_SSID = \"SSDF\"\nWIFI_PASSWORD = \"XZCXCZXC\"\nMQTT_HOST = \"mqtt\"\nMQTT_PREFIX = \"sensors/test\"\nELEVATION = q\"530\"\n```\n\nBy default the following sensors are mapped to their default I2C addresses:\n\n| I2C address | sensor name |\n|-------------|-------------|\n| 16          | VEML7700    |\n| 35          | BH1750      |\n| 48          | MMC56x3     |\n| 68          | SHT4x       |\n| 89          | SGP40       |\n| 98          | SCD4x       |\n| 119         | BMP3xx      |\n\nAs the address to sensor mapping might not be unique there can be an override through the configuration:\n\n```\nDEVICE_MAP = \"119=BME680\"\n```\n\nmapping the real address to one of the supported sensor names: `SHT4x`, `SGP40`, `SCD4x`, `BMP3xx`, `BME680`, ...\n\n## Installation\n\nConnect a Circuitpython device so that `/Volumes/CIRCUITPY` is mounted.\n\n### Update Circuitpython\n\nPress and hold BOOT button and press reset to get into bootloader mode.\n\nRun\n\n```\nesptool write-flash -e 0 ~/Downloads/adafruit-circuitpython-adafruit_qtpy_esp32s2-en_US-10.0.3.bin\n```\n\n### Update dependencies\n\n```aiignore\ncircup install -r requirements_cpy.txt\n```\n\n### Install software\n\nRun `./install.py` which will copy the sources\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuan%2Fcircuitpy-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuan%2Fcircuitpy-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuan%2Fcircuitpy-logger/lists"}