Touch-optimized Magic Mirror² module for controlling LED ring and screen brightness
- 🎯 Touch-optimized user interface
- 💡 Control LED ring brightness (0-7)
- 🖥️ Control screen backlight brightness (0-7)
- ⚙️ Flexible configuration (LED, screen, or both)
- 🎪 Centered overlay popup with smooth animations
The module provides an intuitive interface:
- Icon Buttons: Two icons (LED 💡 and Screen 🖥️) to open controls
- Number Circles: 8 circular buttons (0-7) for direct brightness selection
- Overlay Popup: Centered, full-screen overlay for controls
For fmOS users clone via git:
https://github.com/tenbyte/MMM-FMLED.git
For manual cloning:
- Navigate to your MagicMirror
modulesdirectory:
cd ~/MagicMirror/modules- Clone this repository:
git clone https://github.com/tenbyte/MMM-FMLED.git- Add the module to your
config/config.js(see Configuration below)
{
module: "MMM-FMLED",
position: "top_right",
config: {
host: "127.0.0.1"
}
}{
module: "MMM-FMLED",
position: "top_right",
config: {
host: "127.0.0.1", // IP address of your fmOS Mirror
mode: "both", // "led", "screen" or "both"
}
}| Option | Description | Default | Required |
|---|---|---|---|
host |
IP address of the LED controller | 127.0.0.1 |
Yes |
port |
Port of the controller | 8081 |
No |
mode |
Control mode: "led", "screen" or "both" |
"both" |
No |
LED Mode ("led"): Shows only LED ring control
config: {
mode: "led"
}Screen Mode ("screen"): Shows only screen backlight control
config: {
mode: "screen"
}Both ("both"): Shows both controls (default)
config: {
mode: "both"
}- Click on an icon (LED 💡 or Screen 🖥️) to open the brightness controls
- Select a brightness level (0-7) by clicking a number circle
- The overlay closes automatically after selection
- Click the × button or outside the control panel to close without changes