Skip to content

Xample33/govee_H613_BTcontroller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Credits

This project is based on the work done by Govee-Reverse-Engineering and govee-btled-H613B

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!