{"id":15707724,"url":"https://github.com/andrew-codechimp/python-tsmart","last_synced_at":"2026-01-23T19:01:37.642Z","repository":{"id":251629123,"uuid":"837969371","full_name":"andrew-codechimp/python-tsmart","owner":"andrew-codechimp","description":"Asynchronous Python client for TSmart Immersion Heaters","archived":false,"fork":false,"pushed_at":"2025-01-01T13:59:14.000Z","size":358,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-03T13:00:43.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrew-codechimp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-04T15:17:37.000Z","updated_at":"2025-01-01T13:59:17.000Z","dependencies_parsed_at":"2024-08-17T13:25:05.834Z","dependency_job_id":"a3a185f1-5d60-4023-bdc7-c3f0ccfd6b48","html_url":"https://github.com/andrew-codechimp/python-tsmart","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"d3abe529ff1155ae3c34775f5b5193692ec9ae95"},"previous_names":["andrew-codechimp/python-tsmart"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/andrew-codechimp/python-tsmart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrew-codechimp%2Fpython-tsmart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrew-codechimp%2Fpython-tsmart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrew-codechimp%2Fpython-tsmart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrew-codechimp%2Fpython-tsmart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrew-codechimp","download_url":"https://codeload.github.com/andrew-codechimp/python-tsmart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrew-codechimp%2Fpython-tsmart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28698343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-03T20:41:12.827Z","updated_at":"2026-01-23T19:01:37.633Z","avatar_url":"https://github.com/andrew-codechimp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python: TSmart\n\n[![GitHub Release][releases-shield]][releases]\n[![Python Versions][python-versions-shield]][pypi]\n![Project Stage][project-stage-shield]\n![Project Maintenance][maintenance-shield]\n[![License][license-shield]](LICENSE.md)\n\n[![Build Status][build-shield]][build]\n[![Code Coverage][codecov-shield]][codecov]\n[![Code Smells][code-smells]][sonarcloud]\n\nAsynchronous Python client for TSmart.\n\n## About\n\nThis package allows you to fetch data from your TSmart Immersion Heater.\n\n## Installation\n\n```bash\npip install aiotsmart\n```\n\n## Usage\n\n```python\nfrom aiotsmart.tsmart import TSmartClient, TSmartDiscovery, Mode\n\n# Discovery\ndiscovery = TSmartDiscovery()\ndevices = await discovery.discover()\nprint(devices)\n\n# Configuration\nclient = TSmartClient(YOUR_IP)\nconfiguration = await client.configuration_read()\nprint(configuration)\n\n# Status\nclient = TSmartClient(YOUR_IP)\nstatus = await client.control_read()\nprint(status)\n\n# Set\nclient = TSmartClient(YOUR_IP)\nawait client.control_write(power=True, mode=Mode.MANUAL, setpoint=30)\n```\n\n## Changelog \u0026 Releases\n\nThis repository keeps a change log using [GitHub's releases][releases]\nfunctionality. The format of the log is based on\n[Keep a Changelog][keepchangelog].\n\nReleases are based on [Semantic Versioning][semver], and use the format\nof `MAJOR.MINOR.PATCH`. In a nutshell, the version will be incremented\nbased on the following:\n\n- `MAJOR`: Incompatible or major changes.\n- `MINOR`: Backwards-compatible new features and enhancements.\n- `PATCH`: Backwards-compatible bugfixes and package updates.\n\n## Contributing\n\nThis is an active open-source project. We are always open to people who want to\nuse the code or contribute to it.\n\nWe've set up a separate document for our\n[contribution guidelines](.github/CONTRIBUTING.md).\n\nThank you for being involved! :heart_eyes:\n\n## Setting up development environment\n\nThis Python project is fully managed using the [UV][uv] package manager. UV is a fast Python package manager that replaces pip, pip-tools, and virtualenv. It also relies on the use of NodeJS for certain checks during development.\n\nYou need at least:\n\n- Python 3.11+\n- [UV][uv-install]\n\nTo install all packages, including all development requirements:\n\n```bash\nuv sync --all-extras\n```\n\nAs this repository uses the [pre-commit][pre-commit] framework, all changes\nare linted and tested with each commit. You can run all checks and tests\nmanually, using the following command:\n\n```bash\nuv run pre-commit run --all-files\n```\n\nTo run just the Python tests:\n\n```bash\nuv run pytest\n```\n\n## Authors \u0026 contributors\n\nThe content is by [Andrew Jackson][andrew-codechimp].\n\nFor a full list of all authors and contributors,\ncheck [the contributor's page][contributors].\n\n## Disclaimer\n\nThis library is in no way approved, endorsed or supported by Tesla UK Ltd.\n\n## Acknowledgements\n\n\u003cdetails\u003e\n    \u003csummary\u003eThis library builds upon the great work by Paul Warren\u003c/summary\u003e\n    MIT License\n\n    Copyright (c) 2023 Paul Warren\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n\n\u003c/details\u003e\n\n## License\n\nMIT License\n\nCopyright (c) 2025 Andrew Jackson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n[build-shield]: https://github.com/andrew-codechimp/python-tsmart/actions/workflows/tests.yaml/badge.svg\n[build]: https://github.com/andrew-codechimp/python-tsmart/actions\n[code-smells]: https://sonarcloud.io/api/project_badges/measure?project=andrew-codechimp_python-tsmart\u0026metric=code_smells\n[codecov-shield]: https://codecov.io/gh/andrew-codechimp/python-tsmart/branch/main/graph/badge.svg\n[codecov]: https://codecov.io/gh/andrew-codechimp/python-tsmart\n[commits-shield]: https://img.shields.io/github/commit-activity/y/andrew-codechimp/python-tsmart.svg\n[commits]: https://github.com/andrew-codechimp/python-tsmart/commits/master\n[contributors]: https://github.com/andrew-codechimp/python-tsmart/graphs/contributors\n[andrew-codechimp]: https://github.com/andrew-codechimp\n[keepchangelog]: http://keepachangelog.com/en/1.0.0/\n[license-shield]: https://img.shields.io/github/license/andrew-codechimp/python-tsmart.svg\n[maintenance-shield]: https://img.shields.io/maintenance/yes/2026.svg\n[uv-install]: https://github.com/astral-sh/uv#installation\n[uv]: https://github.com/astral-sh/uv\n[pre-commit]: https://pre-commit.com/\n[project-stage-shield]: https://img.shields.io/badge/project%20stage-stable-green.svg\n[python-versions-shield]: https://img.shields.io/pypi/pyversions/aiotsmart\n[releases-shield]: https://img.shields.io/github/release/andrew-codechimp/python-tsmart.svg\n[releases]: https://github.com/andrew-codechimp/python-tsmart/releases\n[semver]: http://semver.org/spec/v2.0.0.html\n[sonarcloud]: https://sonarcloud.io/summary/new_code?id=andrew-codechimp_python-tsmart\n[pypi]: https://pypi.org/project/aiotsmart/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrew-codechimp%2Fpython-tsmart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrew-codechimp%2Fpython-tsmart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrew-codechimp%2Fpython-tsmart/lists"}