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.