pip3 install govee_H613_BTcontroller
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())
This project is based on the work done by Govee-Reverse-Engineering and govee-btled-H613B
Contributions are welcome! Feel free to open a PR.
This project is licensed under the MIT License.
☆ If you like the project, please leave a star, is free!