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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file govee_H613_BTcontroller-1.0.2.tar.gz.

File metadata

  • Download URL: govee_H613_BTcontroller-1.0.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for govee_H613_BTcontroller-1.0.2.tar.gz
Algorithm Hash digest
SHA256 850d6cddeaa418dfdf036008a5ce35c366cec334296f9cbe055e0a3acfecb19a
MD5 b0710d23820967c4ccfd12c64f706165
BLAKE2b-256 dc94d5f846314ba2774d30825cdd2c73147401d3834873f48ffec48ab2194cb9

See more details on using hashes here.

File details

Details for the file govee_H613_BTcontroller-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for govee_H613_BTcontroller-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eada8d6c701667ebfcb485b306f1fcce99f23d241be01f61315dc6c904d4eb81
MD5 f535d4d2c98ccc42f2444e7e8d074c3e
BLAKE2b-256 2ac3582d084f44b38235011721b27131faf24d147c4c4e8ccc6d46730ebdfc9c

See more details on using hashes here.

Supported by

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