{"id":15020693,"url":"https://github.com/delkk0/beewipy","last_synced_at":"2025-10-26T04:30:53.583Z","repository":{"id":57414523,"uuid":"93207508","full_name":"delkk0/BeewiPy","owner":"delkk0","description":"A python library to interact with Beewi SmartBulb","archived":false,"fork":false,"pushed_at":"2020-05-10T18:01:40.000Z","size":29,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T14:22:05.630Z","etag":null,"topics":["beewi","bluepy","bluetooth","bombilla","btle","bulb","linux","python","raspberrypi","smartbulb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delkk0.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}},"created_at":"2017-06-02T22:11:21.000Z","updated_at":"2024-01-27T22:17:20.000Z","dependencies_parsed_at":"2022-09-02T17:08:52.071Z","dependency_job_id":null,"html_url":"https://github.com/delkk0/BeewiPy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delkk0%2FBeewiPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delkk0%2FBeewiPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delkk0%2FBeewiPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delkk0%2FBeewiPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delkk0","download_url":"https://codeload.github.com/delkk0/BeewiPy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238258998,"owners_count":19442511,"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":["beewi","bluepy","bluetooth","bombilla","btle","bulb","linux","python","raspberrypi","smartbulb"],"created_at":"2024-09-24T19:55:26.766Z","updated_at":"2025-10-26T04:30:53.217Z","avatar_url":"https://github.com/delkk0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeewiPy\n\n\u003cimg src=\"https://img.shields.io/pypi/v/BeewiPy.svg\" alt=\"latest release\" /\u003e \u003cimg src=\"https://img.shields.io/pypi/l/BeewiPy.svg\" alt=\"license\" /\u003e\n\nA python library to interact with Beewi SmartBulb.\n\nSmartBulb is a series of Smart LED color bulbs manufactured by Beewi. These bulbs are controlled using BTLE (Bluetooth Low Energy) and the vendor provides an Android app to interact with the bulbs.\n\nThis library has been tested with BeeWi BBL229.\n\n## Getting started\nSoon there will be a documentation section but meanwhile you can start here.\n### Prerequisites\n* Any linux distribution\n* [Python 3](https://www.python.org/downloads/) - this library requires the use of Python 3.\n* [BluePy](https://github.com/IanHarvey/bluepy) - this library relies on BluePy library made by [IanHarvey](https://github.com/IanHarvey).\n\n### Installation\nTo install this library you can do it using `pip install BeewiPy`\n### Scanning for your device\nFirst of all you need to know the MAC address of your device, so start by getting this information. It can be done using several ways, the easiest one is looking it up on the app provided by BeeWi.\n### Minimal working code\n```python\nfrom BeewiPy import *\nimport time\n\nMAC_ADDRESS = \"00:00:00:00:00:00\"       # Here you should put the MAC address of your device\nmyBulb = BeewiSmartBulb(MAC_ADDRESS)    # This will create a new BeewiSmartBulb object and connect to the device\nmyBulb.turnOn()                         # This will turn on your bulb\ntime.sleep(5)                           # This will wait 5 seconds\nmyBulb.turnOff()                        # This will turn off your bulb\n```\n## The BeewiSmartBulb class\nEvery object instantiated from the BeewiSmartBulb class will have the following methods available:\n### turnOn()\nThis method turns on the bulb\n### turnOff()\nThis method turns off the bulb\n### setBrightness(value)\nThis method will set the brightness value of the bulb. The accepted values range from 0 to 9.\n### setTemperature(value)\nThis method will set the temperature value of the bulb. The accepted values range from 0 to 9, being 0 the coolest setting and 9 the warmest setting.\n### setColor(red, green, blue)\nThis method will change the color of the bulb. The values passed for red, green and blue must be between 0 and 255.\n### setWhite()\nThis method will change the bulb from color mode to white mode.\n### setColorSequence(value)\nThis method will put the bulb in color sequence mode. In this mode the color of the bulb will cycle in predefined sequences. The value passed to this function range from 0 to 4.\n\n## Authors\n* **David Polo**\n## License\nThis project is licensed under the GNU General Public License v.3\n## Acknowledgements\n* Special thanks to [IanHarvey](https://github.com/IanHarvey) for its [BluePy](https://github.com/IanHarvey/bluepy) library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelkk0%2Fbeewipy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelkk0%2Fbeewipy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelkk0%2Fbeewipy/lists"}