{"id":27998082,"url":"https://github.com/simonprickett/micropython-team-talk","last_synced_at":"2026-05-08T00:34:39.358Z","repository":{"id":292011036,"uuid":"979425544","full_name":"simonprickett/micropython-team-talk","owner":"simonprickett","description":"MicroPython demo code from a team talk I gave at Grafana Labs","archived":false,"fork":false,"pushed_at":"2025-05-08T20:24:37.000Z","size":12,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T22:47:19.224Z","etag":null,"topics":["grafana","micropython","pimoroni-enviroplus","raspberry-pi-pico"],"latest_commit_sha":null,"homepage":"https://simonprickett.dev","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/simonprickett.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,"zenodo":null}},"created_at":"2025-05-07T13:45:51.000Z","updated_at":"2025-05-08T20:24:41.000Z","dependencies_parsed_at":"2025-05-07T17:54:57.160Z","dependency_job_id":null,"html_url":"https://github.com/simonprickett/micropython-team-talk","commit_stats":null,"previous_names":["simonprickett/micropython-team-talk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fmicropython-team-talk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fmicropython-team-talk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fmicropython-team-talk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fmicropython-team-talk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonprickett","download_url":"https://codeload.github.com/simonprickett/micropython-team-talk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160828,"owners_count":21863624,"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":["grafana","micropython","pimoroni-enviroplus","raspberry-pi-pico"],"created_at":"2025-05-08T22:47:40.666Z","updated_at":"2026-05-08T00:34:34.303Z","avatar_url":"https://github.com/simonprickett.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicroPython Examples with Grafana and Prometheus\n\nThis repository contains some example MicroPython scripts that explore different ways to get metrics from devices to Prometheus / Grafana Cloud. The code runs on Raspberry Pi Pico W microcontrollers. One example requires a couple of arcade or similar type buttons, another is specific to the Pimoroni Enviro+ Pack.\n\n## Get the Code and Setup Your Machine\n\nBefore trying the examples, you'll need to complete a few common setup steps...\n\n### Get the Code\n\nAt the terminal, clone this repository to your local machine:\n\n```bash\ngit clone https://github.com/simonprickett/micropython-team-talk.git\n```\n\n### Install mpremote\n\nWe'll use MicroPython's `mpremote` command to copy files to the Pico W and run them.  Install `mpremote` on your local machine by following [these instructions](https://docs.micropython.org/en/latest/reference/mpremote.html).\n\nVerify that `mpremote` has been installed by checking its version:\n\n```bash\nmpremote --version\n```\n\nYou should see output similar to this:\n\n```\nmpremote 1.25.0\n```\n\n## Demos\n\nThis repository contains a number of MicroPython demos. Each is standalone and contains its own detailed README file. If you're new to MicroPython and want to follow more of a learning path through the code, we'd suggest looking at the demos in this order:\n\n1. [Hello World](./hello-world/) - a simple blinking LED.\n1. [Counting with Arcade Buttons](./button-counter/) - sending button count metrics to a Prometheus remote write endpoint.\n1. [Scraping Metrics with Prometheus](./prometheus-scrape/) - exposing metrics via HTTP so that Prometheus can scrape them.\n1. [Environment Monitoring with the Pimoroni Enviro+ and Grafana Cloud](./pimoroni-enviro-plus/) - monitoring the environment in a room with a variety of sensors connected to the Pimoroni Enviro+ add-on pack.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonprickett%2Fmicropython-team-talk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonprickett%2Fmicropython-team-talk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonprickett%2Fmicropython-team-talk/lists"}