Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
/ candelabrum Public archive

Yeelight Candela Buetooth CLI remote (BlueZ, GNU/Linux)

License

Notifications You must be signed in to change notification settings

MikeWent/candelabrum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Candelabrum

Candelabrum allow you to control several Yeelight Candelas at the same time (successively). It uses BlueZ Linux stack and gatttool as backend (pygatt python module).

Supports:

  • several lamps at the same time
  • pulse/flickering mode
  • brightness level from 0 to 100

Usage examples

Single lamp:

  • candelabrum.py -m A1:B2:C3:D4:E5:F6 --intensity 100 — maximum brightness
  • candelabrum.py -m A1:B2:C3:D4:E5:F6 -i 1 — minimum brightness

Two or more lamps:

  • candelabrum.py -m A1:B2:C3:D4:E5:F6 DE:AD:BE:EF:12:34 --pulse — enable pulse/flickering mode
  • candelabrum.py -m A1:B2:C3:D4:E5:F6 DE:AD:BE:EF:12:34 --intensity 0 — turn off

Dependencies

  • pygatt Python module, pip3 install --user --upgrade -r requirements.txt
  • bluez (Debian) or bluez-utils-compat (AUR) Linux package with gatttool utility
  • started bluetooth.service

Credits

This work is based on this and this, but is more minimalistic and CLI-oriented.

License

MIT

About

Yeelight Candela Buetooth CLI remote (BlueZ, GNU/Linux)

Topics

Resources

License

Stars

Watchers

Forks

Languages