A MagicMirror² module that shows a clean, iOS-style Wi-Fi
signal indicator: five bars that light up and change colour with the real link quality
(green → amber → red). The signal is read directly from iw (actual dBm), and the display
updates in place so it never flickers.
- Five signal bars, coloured by quality (excellent/good → fair → weak)
- Real signal strength (dBm) from
iw dev <iface> link - Optional quality label under the bars (localised; English & German included)
- In-place DOM updates — no black flicker on refresh
- Two sizes (
normal/small) and self-contained styling
- Linux with a wireless interface
- The
iwtool (sudo apt install iw) - Read access to
/proc/net/dev(default)
cd ~/MagicMirror/modules
git clone https://github.com/ago1776/MMM-WifiLinkThen add the module to config/config.js:
{
module: "MMM-WifiLink",
position: "top_right",
header: "Wi-Fi", // optional
config: {
iface: "wlan0"
}
}| Option | Type | Default | Description |
|---|---|---|---|
iface |
string | "wlan0" |
Wireless interface to read. |
updateInterval |
number | 5000 |
Poll interval in ms. |
showLabel |
boolean | true |
Show the quality word under the bars. |
barSize |
string | "normal" |
Bar size: "normal" or "small". |
Quality words live in translations/en.json and translations/de.json. Add a language by
copying en.json to <lang>.json and translating the values. Language follows MagicMirror's
global language setting.
MIT © Andreas Göpfert
