Skip to content
/ BeewiPy Public
forked from delkk0/BeewiPy

A python library to interact with Beewi SmartBulb

License

Notifications You must be signed in to change notification settings

S6ril/BeewiPy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A python library to interact with Beewi SmartBulb

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%