Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.18 KB

File metadata and controls

44 lines (33 loc) · 1.18 KB

BeewiPy

This is a fork of the library Beewi SmartBulb originally from delkk0.

I only added a simple terminal interface to interact more easily with the lamp.

The new intefrace :

What do you want to do ?
0. Turn On/ Off
1. Set Brightness
2. Set Temperature
3. Set White
4. Set Color
5. Set Color Sequence
-----------------------
6. Exit
-----------------------
Number selected ? 

How to use

In the file main_user_interface.py change the mac address of your light.

# Here you should put the AC address of your device
MAC_ADDRESS = "C4:BE:84:EA:66:AF"       

If you don't know this address, you can execute the script find_bluetooth_device.py in the Utility folder. (Only test on Ubuntu 20.04 LTS).

Then you can launch the Python script :

python3 main_user_interface.py

License

This project is licensed under the GNU General Public License v.3.

Acknowledgements