https://github.com/projectweekend/iot-hue
A service controlling Philips HUE lights using AWS IoT
https://github.com/projectweekend/iot-hue
Last synced: about 1 year ago
JSON representation
A service controlling Philips HUE lights using AWS IoT
- Host: GitHub
- URL: https://github.com/projectweekend/iot-hue
- Owner: projectweekend
- License: mit
- Created: 2018-06-09T12:43:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T10:42:32.000Z (almost 6 years ago)
- Last Synced: 2025-03-27T15:53:18.945Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IoT HUE
## Usage
```
Usage of ./iot-hue:
-cert_path string
Path to certificate file
-hue_host string
Hue bridge host
-hue_username string
Hue bridge API username
-key_path string
Path to certificate file
-mqtt_host string
MQTT host and port
```
## Message Payload
This service expects messages to the following payload format:
### Group ID
Turn on all lights in group 3
```
3:on
```
Turn off all lights in group 3
```
3:off
```
### Group Name
When `hue-iot` starts it connects to your HUE bridge and makes a mapping of group names, in lowercase, to group IDs. You can send the group name string in the payload instead of the ID.
Turn on all lights in 'kitchen' group
```
kitchen:on
```
Turn off all lights in 'kitchen' group
```
kitchen:off
```