Be able to control MiLight bulbs with Amazon Alexa via the MiLight Wifi Bridge.
- At least one MiLight Bulb: http://www.limitlessled.com/shop/rgbw-color-led-light-bulb/
Be able to control MiLight bulbs with Amazon Alexa via the MiLight Wifi Bridge.
| FROM alpine:latest | |
| RUN apk update && apk upgrade && \ | |
| apk add --no-cache \ | |
| openssh | |
| RUN mkdir -p /keys/web /keys/worker | |
| CMD ssh-keygen -t rsa -f /keys/web/tsa_host_key -N '' && \ | |
| ssh-keygen -t rsa -f /keys/web/session_signing_key -N '' && \ |
| var redis = require("redis") | |
| , subscriber = redis.createClient() | |
| , publisher = redis.createClient(); | |
| subscriber.on("message", function(channel, message) { | |
| console.log("Message '" + message + "' on channel '" + channel + "' arrived!") | |
| }); | |
| subscriber.subscribe("test"); |