{"id":22794927,"url":"https://github.com/pulkin/mpy-twatch-config","last_synced_at":"2026-05-11T07:54:38.833Z","repository":{"id":106307125,"uuid":"369909351","full_name":"pulkin/mpy-twatch-config","owner":"pulkin","description":"Configuring peripherials of T-Watch 2020 for micropython","archived":false,"fork":false,"pushed_at":"2021-05-22T22:56:50.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-10T21:12:04.956Z","etag":null,"topics":["axp202","esp32","firmware","micropython","python","smart","watch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pulkin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-05-22T21:31:45.000Z","updated_at":"2023-01-02T18:15:30.000Z","dependencies_parsed_at":"2023-03-12T04:45:17.163Z","dependency_job_id":null,"html_url":"https://github.com/pulkin/mpy-twatch-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pulkin/mpy-twatch-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulkin%2Fmpy-twatch-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulkin%2Fmpy-twatch-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulkin%2Fmpy-twatch-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulkin%2Fmpy-twatch-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pulkin","download_url":"https://codeload.github.com/pulkin/mpy-twatch-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pulkin%2Fmpy-twatch-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260124097,"owners_count":22962207,"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":["axp202","esp32","firmware","micropython","python","smart","watch"],"created_at":"2024-12-12T04:11:06.237Z","updated_at":"2026-05-11T07:54:33.796Z","avatar_url":"https://github.com/pulkin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"mpy-twatch-config\n=================\n\nThis repository contains `boot.py` for [T-Watch 2020](https://t-watch-document-en.readthedocs.io/en/latest/introduction/product/2020.html), programmable smart watch based on ESP32.\nApplies to [micropython](https://micropython.org) firmware only.\n\nWhat for\n--------\n\n- Charging parameters.\n  Default charging parameters are 4.2V / 500mA while the stock firmware [sets the latter](https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library/blob/396d5db84b1b450c9c92939902049c9658bfc048/src/TTGO.h#L1371) to 300mA.\n  To make sure high currents do not damage the battery this script sets the charging current to the minimal value 300mA.\n\nHow to use\n----------\n\nCopy `boot.py` to the board and the settings will apply on the next reboot.\n```bash\nrshell --port /dev/ttyUSB0 cp boot.py /pyboard/\n```\nAdjust the file as you need it.\n\nLicense\n-------\n\nBSD 2-clause\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulkin%2Fmpy-twatch-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpulkin%2Fmpy-twatch-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpulkin%2Fmpy-twatch-config/lists"}