https://github.com/nilsding/hue-control.el
Control your Philips Hue lights using the power of Emacs
https://github.com/nilsding/hue-control.el
emacs hue hue-lights philips-hue wtf-am-i-doing-with-my-life
Last synced: 10 months ago
JSON representation
Control your Philips Hue lights using the power of Emacs
- Host: GitHub
- URL: https://github.com/nilsding/hue-control.el
- Owner: nilsding
- License: gpl-3.0
- Created: 2018-03-18T11:04:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-18T18:21:14.000Z (over 8 years ago)
- Last Synced: 2025-03-31T09:34:39.761Z (over 1 year ago)
- Topics: emacs, hue, hue-lights, philips-hue, wtf-am-i-doing-with-my-life
- Language: Emacs Lisp
- Homepage: https://twitter.com/nilsding/status/975327976006082560
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* hue-control.el
/also known as Huemacs/
Some weird Emacs stuff to control your Hue lights. Work in progress, patches
welcome.
This app/whatever does obviously not belong to Philips Lighting.
** Usage
Load =hue-control.el= however you want.
Before you can control your lights you must authorise yourself with your Hue
bridge. To do that, run =M-x hue-control-authorise= once, then push the button
on your Hue bridge, and finally run that command again. Once that's done you
should not need to authorise again, as the username used for authorisation is
then stored inside a customisation variable.
Now the real fun begins. Turn on a light:
#+BEGIN_EXAMPLE
M-x hue-control-light-on
#+END_EXAMPLE
This will ask you for the ID of the light. In the Future™ a list with all
available lights should appear from which you can choose the light to turn on.
However, since we're living in the Present®, therefore we can't have nice
things.
Is the lamp set too bright or too dark? I've got you covered:
#+BEGIN_EXAMPLE
M-x hue-control-light-brightness
#+END_EXAMPLE
Once you've had enough fun with turning on a light, you can easily turn it off
again:
#+BEGIN_EXAMPLE
M-x hue-control-light-off
#+END_EXAMPLE
** Bugs
Yes. Also, a nice bar in Linz.