Skip to content
Magic Mirror Module that displays your WiFi network, password with QRCode
JavaScript CSS
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Created .gitignore Nov 10, 2019
LICENSE Initial commit Nov 10, 2019
MMM-WiFiPassword.css Horizontal or Vertical display Jan 12, 2020
MMM-WiFiPassword.js tab issue Jan 12, 2020 Improvements to readme documentation descriptions Jan 13, 2020
mm.png Screenshot for README Nov 10, 2019
qrcode.min.js Added initial commit via upload Nov 10, 2019


Magic Mirror Module that displays your WiFi Network, Password, and QRCode so people who visit your house/business can connect easier.

Note that if you have special characters in your password, the QR code will not work. This is because I haven't done the work required to escape the special characters properly.


MMM-WifiPassword Screenshot


  1. In your terminal, change to your Magic Mirror module directory
`cd ~/MagicMirror/modules`
  1. Clone this repository git clone

  2. Make changes to your config.js file.

How to use this module

As with other MM modules, add this array to the config/config.js file

    module: 'MMM-WiFiPassword',
    position: "top_left",
      config: {
        //See 'Configuration options' for more information.
        network: "my_network", 
        password: "my_pass",

Configuration Options

Option Description Default
qrSize The width and height of QRCode in pixels. 125
colorDark The color of the "dark" area of the QRCode in hex. #fff
colorLight The color of the "light" area of the QRCode in hex. #000
authType Your authentication type. Options are WPA WEP NONE WPA
network Your network SSID. REQUIRED
password Your network Password. REQUIRED
hiddenId Whether your SSID is hidden. true false false
layoutVertical Whether to display in vertical (true), or horizontal (false) mode. true
showNetwork Show network SSID. true false true
showPassword Show your network password. true false true
showAuthType Show your authentication type. true false true
debug Displays raw QR text. true false false
You can’t perform that action at this time.