Refrigerator Lights is a simple blinkenlights update of the refrigerator of the MunichMakerLab hackerspace.
It drives a small WS2812b LED strip based matrix of 15x10 LEDs behind a diffuse cover; which replaces the old lamp. Controllable by MQTT over ESP8266 WiFi module.
- FastLED library for all the fancy animations
- WeMos d1 mini (ESP8266 devboard) as MCU and WiFi access
- MQTT to remote control the animations and state
- WS2812b LED strips (15x10 pixel ~ 50x15 cm)
- 5V 12A power supply
- WeMos d1 mini (ESP8266 devboard)
Wiring (Fritzing file)
- FastLED
- LEDMatrix XY-Matrix class for FastLED
- PubSubClient MQTT library by @Imroy.
- LedEffects by ratkins
You have to install the Arduino IDE 1.6.5.
- Arduino > Preferences > "Additional Boards Manager URLs:" and add: http://arduino.esp8266.com/stable/package_esp8266com_index.json
- Arduino > Tools > Board > Boards Manager > type in ESP8266 and install the board
- download all libraries and copy folders to Arduino library path.
topic | message |
---|---|
mumalab/fridge/lights/config | reboot |
mumalab/fridge/lights/mode | normal, alert, tetris |
mumalab/fridge/lights/brightness | 0 to 255, up, down |
mumalab/fridge/lights/background | black, plasma, snake, life, fire, lava, cloud, blackwhite, blackgreen |
mumalab/fridge/lights/tetris | reset |
mumalab/fridge/lights/tetris/move | left, right, down, rotate |
no functionallity yet (for text and icons):
topic | message |
---|---|
mumalab/fridge/lights/color | r,g,b: e.g. 255,0,0 = red |
mumalab/fridge/lights/color/effect | solid, hue, random |
not yet implemented:
topic | message |
---|---|
mumalab/fridge/lights/ticker/color | #000000 to #ffffff |
mumalab/fridge/lights/ticker/bounce | 1 / 0 |
mumalab/fridge/lights/ticker/direction | left / right / up / down |
mumalab/fridge/lights/ticker/text | scroll message as text... |
- bugfix and add the text ticker functionallity