ericparton / alexa-hue-sunrise-alarm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alexa Hue Sunrise Alarm

Requires Java JDK 11+

To build:

./gradlew dockerBuildImage 

To run:

docker run -e TZ=America/New_York \
           -e HUE_ROOM_NAME=Bedroom \
           -e HUE_API_KEY=Your api key \
           -e HUE_BRIDGE_IP_ADDRESS=192.168.1.151 \
           -e ALEXA_DEVICE_NAME="Bedroom Echo Dot" \
           -e ALEXA_AUTHENTICATION_COOKIE='TODO: write how to get this cookie' \
           -e REFRESH_INTERVAL=60 \
           -e PRE_ALARM_SEQUENCE_DURATION=30 \
           --rm \
           alexa-hue-sunrise-alarm:latest

TODO: explain environment variables, note usage of alexa.amazon.com/api

Thanks to ZeroOne3010 for the yetanotherhueapi hue bridge client library and to farlock85 for a list of sunrise colors.

About


Languages

Language:Java 95.7%Language:Kotlin 4.3%