Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 3.89 KB

README.md

File metadata and controls

76 lines (61 loc) · 3.89 KB

Refrigerator Lights

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.

Refrigerator Lights screenshot

Features

  • 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

Hardware

  • WS2812b LED strips (15x10 pixel ~ 50x15 cm)
  • 5V 12A power supply
  • WeMos d1 mini (ESP8266 devboard)

Wiring (Fritzing file)

wiring diagram

Libraries

Requirements

You have to install the Arduino IDE 1.6.5.

Upload Sketch

  • Upload ESP8266 Sketch Data: Tools > ESP8266 Sketch Data Upload
  • upload sketch data on ArduinoIDE
  • Upload Sketch: Sketch > Upload

MQTT Topics

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...

TODOs

  • bugfix and add the text ticker functionallity