Skip to main content

A Python library for controlling Govee H613 Bluetooth LED strip.

Project description

Control govee lights with python

Simple python package to control govee H613B (and technically more) led strip with python

Ruff PyPI - Version PyPI - Python Version PyPI - Downloads

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

govee_H613_BTcontroller-1.0.2.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

govee_H613_BTcontroller-1.0.2-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page