{"id":16032542,"url":"https://github.com/kasparsd/esp8266-projects","last_synced_at":"2025-04-05T04:43:48.384Z","repository":{"id":145114167,"uuid":"171241316","full_name":"kasparsd/esp8266-projects","owner":"kasparsd","description":"A monorepo for all my ESP8266 projects","archived":false,"fork":false,"pushed_at":"2019-03-10T16:16:50.000Z","size":432,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T12:43:17.050Z","etag":null,"topics":["esp8266","micropython","micropython-esp8266","wemos-d1-mini"],"latest_commit_sha":null,"homepage":null,"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/kasparsd.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":"2019-02-18T08:10:35.000Z","updated_at":"2019-08-10T22:05:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"15ac0cba-22be-4ea2-bb5f-3629ba919f6d","html_url":"https://github.com/kasparsd/esp8266-projects","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"85d196bf0927a2c25afb78eb07248a57434eff23"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fesp8266-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fesp8266-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fesp8266-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasparsd%2Fesp8266-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kasparsd","download_url":"https://codeload.github.com/kasparsd/esp8266-projects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289398,"owners_count":20914464,"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":["esp8266","micropython","micropython-esp8266","wemos-d1-mini"],"created_at":"2024-10-08T21:23:03.482Z","updated_at":"2025-04-05T04:43:48.357Z","avatar_url":"https://github.com/kasparsd.png","language":"Python","readme":"# ESP8266/Wemos Projects\n\nThis is a repository containing all my [Wemos D1 mini](https://wiki.wemos.cc/products:d1:d1_mini) projects.\n\n- [Binary button for Home Assistant](src/button)\n\n\n## Upload Project\n\nUse the [ampy](https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy) tool to upload the project files:\n\n```shell\nampy --port /dev/tty.YOURUSBDEVICE put path/to/file.py\n```\n\nwhere `/dev/tty.YOURUSBDEVICE` is the absolute path to the serial interface of your Wemos device and `path/to/file.py` is the relative path to the file you want to upload.\n\n\n## Setup MicroPython\n\nWemos D1 mini boards have Micropython installed by default. To update the Micropython to the latest version:\n\n1. Install [Python](https://www.python.org/downloads) (use [Homebrew](https://brew.sh) on macOS) and [esptool.py](https://github.com/espressif/esptool).\n\n    ```shell\n    pip install esptool\n    ```\n\n2. Download the [latest firmware binary `.bin` for ESP8266 boards](https://micropython.org/download#esp8266) from the official Micropython website and save it in the `firmware` directory.\n\n3. Finally, upload the firmware: \n\n    ```shell\n    esptool.py --port /dev/tty.YOURUSBDEVICE --baud 460800 write_flash --flash_size=detect --flash_mode dio 0 firmware/esp8266-VERSION-YOU-DOWNLOADED.bin\n    ```\n\n    where `/dev/tty.YOURUSBDEVICE` is absolute path the serial interface of your Wemos device, and `esp8266-VERSION-YOU-DOWNLOADED.bin` is the filename of the firmware binary you downloaded.\n\n    Press and release the Reset button on the device to actually upload the firmware.\n\n\n## Credits\n\nCreated by [Kaspars Dambis](https://kaspars.net).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasparsd%2Fesp8266-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasparsd%2Fesp8266-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasparsd%2Fesp8266-projects/lists"}