{"id":19839407,"url":"https://github.com/scientifichackers/lattu","last_synced_at":"2025-05-01T19:30:19.931Z","repository":{"id":62575222,"uuid":"128203923","full_name":"scientifichackers/lattu","owner":"scientifichackers","description":"Straightforward way to control BLE controlled smart bulbs using python.","archived":false,"fork":false,"pushed_at":"2018-06-16T02:36:44.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T17:03:07.614Z","etag":null,"topics":["bluetooth","bluetto","python3","smart-bulb"],"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/scientifichackers.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}},"created_at":"2018-04-05T12:36:25.000Z","updated_at":"2021-02-22T12:09:03.000Z","dependencies_parsed_at":"2022-11-03T18:58:34.303Z","dependency_job_id":null,"html_url":"https://github.com/scientifichackers/lattu","commit_stats":null,"previous_names":["pycampers/lattu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Flattu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Flattu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Flattu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientifichackers%2Flattu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scientifichackers","download_url":"https://codeload.github.com/scientifichackers/lattu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932513,"owners_count":21667157,"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":["bluetooth","bluetto","python3","smart-bulb"],"created_at":"2024-11-12T12:22:17.454Z","updated_at":"2025-05-01T19:30:19.600Z","avatar_url":"https://github.com/scientifichackers.png","language":"Python","readme":"# lattu\n#### Straightforward way to control BLE controlled smart bulbs.\n\n# Supported bulbs\nI only have Iota light bulb with me so that's the only one supported for now.\n\nIt's really easy to add support for your bulbs if you know the GAT commands, have a look at [command maker](iota_command_maker.py).\n\n# Installation\n```sh\n$ pip install lattu\n```\n\n# Example \n\n```python\n\u003e\u003e\u003e from lattu import IotaBulb\n\n\u003e\u003e\u003e my_bulb = IotaBulb('98:7b:f3:37:6a:e7')\n\u003e\u003e\u003e my_bulb.connect()\n\n\u003e\u003e\u003e my_bulb.on()\n\u003e\u003e\u003e my_bulb.off()\n\n\u003e\u003e\u003e  my_bulb.on('00ff00')  # Green!\n\n\u003e\u003e\u003e my_bulb.color('0000ff')  # Blue!\n\u003e\u003e\u003e my_bulb.color('0000ff', 50)  # Blue, but half bright\n```\n\n# Thanks\nthanks to https://github.com/arijitdasgupta for previous work.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientifichackers%2Flattu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscientifichackers%2Flattu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientifichackers%2Flattu/lists"}