{"id":14954345,"url":"https://github.com/ageagainstthemachine/circuitpython-pi-pico-w-bmp180-influxdb","last_synced_at":"2026-04-02T01:49:31.381Z","repository":{"id":196775977,"uuid":"697103834","full_name":"ageagainstthemachine/circuitpython-pi-pico-w-bmp180-influxdb","owner":"ageagainstthemachine","description":"A CircuitPython example for the Raspberry Pi Pico W using cooperative multitasking via asyncio which sends data from a BMP180 sensor to an InfluxDB v2 server.","archived":false,"fork":false,"pushed_at":"2023-09-28T04:48:19.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T00:12:21.754Z","etag":null,"topics":["asyncio","bmp180","circuitpython","circuitpython-project","circuitpython-usyslog","cooperative-multitasking","influxdb2","iot","ntp","raspberry-pi-pico-w","syslog","usyslog","wifi"],"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/ageagainstthemachine.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}},"created_at":"2023-09-27T04:11:02.000Z","updated_at":"2023-12-29T07:21:33.000Z","dependencies_parsed_at":"2024-10-12T03:21:06.228Z","dependency_job_id":null,"html_url":"https://github.com/ageagainstthemachine/circuitpython-pi-pico-w-bmp180-influxdb","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"9fec21494ac441d1314769f159d9972be242bc9d"},"previous_names":["ageagainstthemachine/circuitpython-pi-pico-w-bmp180-influxdb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageagainstthemachine%2Fcircuitpython-pi-pico-w-bmp180-influxdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageagainstthemachine%2Fcircuitpython-pi-pico-w-bmp180-influxdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageagainstthemachine%2Fcircuitpython-pi-pico-w-bmp180-influxdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ageagainstthemachine%2Fcircuitpython-pi-pico-w-bmp180-influxdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ageagainstthemachine","download_url":"https://codeload.github.com/ageagainstthemachine/circuitpython-pi-pico-w-bmp180-influxdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243012662,"owners_count":20221606,"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":["asyncio","bmp180","circuitpython","circuitpython-project","circuitpython-usyslog","cooperative-multitasking","influxdb2","iot","ntp","raspberry-pi-pico-w","syslog","usyslog","wifi"],"created_at":"2024-09-24T13:01:52.556Z","updated_at":"2026-04-02T01:49:31.375Z","avatar_url":"https://github.com/ageagainstthemachine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A CircuitPython Pi Pico W BMP180 InfluxDB Example\nA CircuitPython example using asyncio cooperative multitasking for the Raspberry Pi Pico W which sends data from a BMP180 sensor to an InfluxDB v2 server.\n\n#### NOTE: THIS PROJECT IS ARCHIVED AND NO LONGER MAINTAINED\n\n## Requirements\n- Raspberry Pi Pico W running CircuitPython 8.2.x (tested on 8.2.6)\n- BMP180 sensor\n- InfluxDB v2 server with configured bucket and API key\n- The following CircuitPython libraries are used:\n    - board\n    - digitalio\n    - wifi\n    - socketpool\n    - bmp180\n    - adafruit_ntp\n    - time\n    - asyncio\n    - supervisor\n    - os\n    - busio\n    - adafruit_requests\n    - ssl\n    - usyslog\n\n## Notes\nThis example was developed using the asyncio cooperative multitasking method in order to allow several tasks to function independently and at different loop intervals. Basic UDP syslog functionality is incorporated as well for the purposes of being able to allow troubleshooting without having the serial cable connected. The syslog functionality can be enabled or disabled.\n\nThese tasks are:\n- Reading the BMP180 sensor\n- Connect to the WiFi\n- NTP time sync\n- Send data to InfluxDB\n\nLoading the various settings at runtime is achieved by the settings.toml file method. The following are the settings:\n\n    ssid = \"SSID_HERE\"\n    psk = \"PSK_HERE\"\n    INFLUXDB_URL = \"https://example.fqdn.com/api/v2/write\"\n    INFLUXDB_ORG = \"ORG\"\n    INFLUXDB_BUCKET = \"CircuitPythonTest\"\n    INFLUXDB_TOKEN = \"INFLUX_TOKEN_HERE\"\n    SYSLOG_SERVER = \"10.0.0.10\"\n    SYSLOG_SERVER_ENABLED = \"FALSE\"\n    SYSLOG_PORT = 514\n\nWiFi reconnection is also incorporated and the WiFi task automatically checks to determine if it the device is still connected and if not, attempts to reconnect to the specified network.\n\nHTTP POST is used for getting the metrics to the InfluxDB v2 server.\n\n## Disclaimer\nThis example is probably unstable and full of bugs. Like everything else on the internet, run/use at your own risk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fageagainstthemachine%2Fcircuitpython-pi-pico-w-bmp180-influxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fageagainstthemachine%2Fcircuitpython-pi-pico-w-bmp180-influxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fageagainstthemachine%2Fcircuitpython-pi-pico-w-bmp180-influxdb/lists"}