Using MMM-Touch with touchscreen display with following config:
{
// Have this at the bottom of your modules, or else it will "push" down other modules comming after it, even tho it is "hidden"
module: "MMM-Touch",
position: "top_right",
config: {
useDisplay: false,
defaultMode: "showWifiQr",
gestureCommands: {
"showWifiQr": {
"DOUBLE_TAP_1": (commander, gesture) => {
// Show Wifi QR code
commander.sendNotification("WIFIPASSWORD_MODAL")
},
}
}
}
},
And, of course MMM-WifiPassword with your specific config
Adding support for it to work with the MMM-Modal module by @fewieden
When receiving a
WIFIPASSWORD_MODAL
notification, it will create a modal and show your wifi code on screen.An example usecase
MMM-Modal
with configMMM-Touch
with touchscreen display with following config:MMM-WifiPassword
with your specific config