chvolkmann / govee_btled

A Python wrapper for controlling a cheap Bluetooth RGB light bulb.
91 stars 14 forks source link

dont know how to install #1

Closed NotChrissi closed 4 years ago

NotChrissi commented 4 years ago

i did the pip install -U git+https://github.com/Freemanium/govee_btled but dont know how to go on... can you pls help me?

chvolkmann commented 4 years ago

1) Install the package into your environment using

    pip install -U git+https://github.com/Freemanium/govee_btled

2) Write a Python script that utilizes the package, e.g.

    from govee_btled import BluetoothLED
    led = BluetoothLED('<your MAC here>')
    led.set_state(True)
    led.set_color('blue')