https://github.com/vihu/hue_controller
Pre defined philips hue scenes
https://github.com/vihu/hue_controller
cli elixir hue hue-lights
Last synced: 3 months ago
JSON representation
Pre defined philips hue scenes
- Host: GitHub
- URL: https://github.com/vihu/hue_controller
- Owner: vihu
- License: apache-2.0
- Created: 2018-04-02T17:01:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T17:56:08.000Z (about 8 years ago)
- Last Synced: 2024-12-31T16:23:27.500Z (over 1 year ago)
- Topics: cli, elixir, hue, hue-lights
- Language: Elixir
- Size: 1.89 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HueController
- Set some predefined scenes for Philips hue lights
- My personal preferences
- Do not request any new scenes, clone and add your own please
# Pre-requisites
- Find your hue bridge ip address (look in your router's device list or nmap)
- Refer to [huex docs](https://github.com/xavier/huex) for finding how to get your hue bridge username (do once and forget)
# Installation
```
$ git clone [this repo]
$ cd hue_controller
$ export HUE_IP="ipofyourhuebridge"
$ export HUE_USERNAME="usernameofyourhuebridge"
$ mix deps.get; mix compile; mix escript.build
```
*Tested on Elixir 1.6.4+*
# Help
In the folder containing the `hue_controller` escript:
```
$ ./hue_controller --help
```
# Examples
In the folder containing the `hue_controller` escript:
```
$ ./hue_controller --night
$ ./hue_controller --relax
$ ./hue_controller --day
```
# References
- [Huex](https://github.com/xavier/huex)