Read the statement by Michael Teeuw here.
how to put my code into QRCode?
-
If, as you say, you have already installed the MMM-QRCode module then you would simply have to make your config.js entry as follows.
{ module: 'MMM-QRCode', position: "bottom_left", // place where you want it config: { text: "Scan to join my network", // Any text you want colorDark : "#fff", colorLight : "#000", imageSize : 150, // the size of the QRCode displayed. showRaw : false, // will hide and show your text } },
From what I can tell, the module itself creates the code for you.
-
I have a related question. I’d like to use MMM-QRCode to access my MMM-Remote Control. All I would need is for the QRCode to pull my current mirror’s IP address, add “:8080” to the end of the url and generate the code. However, I don’t see how to do that in the documentation. Can someone point me in the right direction?
-
@cheapdad he didn’t document the most important parameter
text: url to link to
text:“http://pi_address:mm_port/…”
-
@sdetweil This works if you know your IP address. My daughter will take this to college with her, so I’m not sure she will know the IP address the dorm assigns her. I also don’t know if DHCP will change over the course of the semester.
Or am I misunderstanding your suggestion?
-
@cheapdad no… the module is not smart, it just uses the text string provided…
doesn’t know what the string means -
@CheapDad there is a wifipassword module to get u connected to the wifi… but not MM…