We pimped the drinks refrigerator a while agoe with lights and also with sensors to detect open door and temperature.
Lights
You can switch the light effect pattern by MQTT - as well brightness, play Tetris etc...
MQTT
Topic
|
Payload
|
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
|
Node-Red Flowdock mapping
Action
|
Chat-Message
|
mode (normal / alert / tetris) |
tbd. e.g. "fridge mode normal"
|
brightness (0-255 / up / down)) |
tbd. e.g. "fridge brightness 100"
|
background effect (black / plasma / snake / life / fire / lava / cloud / blackwhite / blackgreen) |
tbd. e.g. "fridge effect plasma"
|
tetris reset |
tbd. e.g. "fridge tetris reset"
|
tetris move (left / right / up / down) |
tbd. e.g. "fridge tetris move left"
|
Door
We can detect fridge door open or close.
MQTT
Node-Red Flowdock mapping
Action
|
Chat-Message
|
tbd. |
tbd.
|
Temperature
Read out the temperature inside the drinks fridge and send it on MQTT message bus.
MQTT
Node-Red Flowdock mapping
Action
|
Chat-Message
|
tbd. |
tbd.
|