chvolkmann / govee_btled

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

Help #3

Closed aferraz closed 3 years ago

aferraz commented 3 years ago

Hi, sorry I don't understand how to use it. I create a test.py: from govee_btled import BluetoothLED led = BluetoothLED('A4:C1:38:A1:FB:5D') led.set_state(True) led.set_color('blue')

But I got this error: Traceback (most recent call last): _File "test.py", line 1, in from govee_btled import BluetoothLED File "/home/pi/govee_btled-master/govee_btled/init.py", line 3, in from .bluetooth_led import BluetoothLED File "/home/pi/govee_btled-master/govee_btled/bluetoothled.py", line 94 raise ValueError(f'Brightness out of range: {value}')

Can you help me ?

Thanks Alessandro

chvolkmann commented 3 years ago

Is that the entire error output?

chvolkmann commented 3 years ago

Closing due to inactivity. Feel free to reopen.