Control govee lights with python
Simple python package to control govee H613B (and technically more) led strip with python
Installation
pip3 install govee_H613_BTcontroller
Example
import asyncio
from govee_H613_BTcontroller import GoveeController
async def main():
device = GoveeController('A4:C1:38:35:97:24')
device = await device.connect()
await device.turn_on()
await device.set_color('red')
await device.set_brightness(255)
await asyncio.sleep(3)
await device.set_color('green')
await device.turn_off(smooth=True)
await device.disconnect()
if __name__ == '__main__':
asyncio.run(main())
Contributing
Contributions are welcome! Feel free to open a PR.
License
This project is licensed under the MIT License.
☆ If you like the project, please leave a star, is free!
Metadata
Release files for govee-H613-BTcontroller 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| govee_H613_BTcontroller-1.0.2.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| govee_H613_BTcontroller-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / govee_H613_BTcontroller-1.0.2.tar.gz
| Download URL | govee_H613_BTcontroller-1.0.2.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
850d6cddeaa418dfdf036008a5ce35c366cec334296f9cbe055e0a3acfecb19a
|
|
BLAKE2b-256 checksum How to use checksums |
dc94d5f846314ba2774d30825cdd2c73147401d3834873f48ffec48ab2194cb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / govee_H613_BTcontroller-1.0.2-py3-none-any.whl
| Download URL | govee_H613_BTcontroller-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eada8d6c701667ebfcb485b306f1fcce99f23d241be01f61315dc6c904d4eb81
|
|
BLAKE2b-256 checksum How to use checksums |
2ac3582d084f44b38235011721b27131faf24d147c4c4e8ccc6d46730ebdfc9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|