• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

how to put my code into QRCode?

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 4 Posters 3.5k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    shazglass
    last edited by Apr 7, 2018, 5:32 PM

    hi everyone…so I managed to install the QRCode onto my MM…but, I would like it to be my home wifi code thats shown. I have no idea how to change the “example” code to be my wifi code.
    Stupid new at this too…another post is me having an error with MMM-voice.
    any beginners language advice would be so greatly appreciated! THANK YOU IN ADVANCE!

    M 1 Reply Last reply Apr 7, 2018, 7:31 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @shazglass
      last edited by Mykle1 Apr 7, 2018, 7:32 PM Apr 7, 2018, 7:31 PM

      @shazglass

      What are you using to display the QRCode? A module displaying an image file?

      Create a working config
      How to add modules

      S 1 Reply Last reply Apr 7, 2018, 7:58 PM Reply Quote 1
      • S Offline
        shazglass @Mykle1
        last edited by Apr 7, 2018, 7:58 PM

        @Mykle1 Hi thank you for replying to me but I think I am that new to this that I didnt even understand your question…all I did is install the module as per the example…i dont know how to config t to suit my wifi needs for the code…nd to be honest I am in awe that you have replied…I have added so many of your modules to my first MM!..I even wanted to ask for a dummies version of how to install Hello Lucy:)

        M 1 Reply Last reply Apr 7, 2018, 8:17 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @shazglass
          last edited by Mykle1 Apr 7, 2018, 8:20 PM Apr 7, 2018, 8:17 PM

          @shazglass

          I even wanted to ask for a dummies version of how to install Hello Lucy:)

          If you read the Hello-Lucy readme very carefully the directions are quite specific. I thought I made it as easy as possible to follow. Give it some time and you should be able to get through it successfully.

          Ok, so the module you installed is called QRCode? I’m not familiar with it but I’ll take a look at it

          Create a working config
          How to add modules

          S 1 Reply Last reply Apr 7, 2018, 8:26 PM Reply Quote 1
          • S Offline
            shazglass @Mykle1
            last edited by Apr 7, 2018, 8:26 PM

            @Mykle1 thank you so much…I will read the documentation again, did feel I over thought the MMM-voice, but have an error on that at the moment. But still did over think it…Would seriously appreciate any help you my be able to assist with. I am from South Africa…and its bed time :) so hopefully will chat tomorrow - have an amazing evening!

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer
              last edited by Mykle1 Apr 7, 2018, 10:00 PM Apr 7, 2018, 8:58 PM

              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.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 1
              • C Offline
                CheapDad
                last edited by Apr 24, 2021, 10:00 PM

                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?

                S 1 Reply Last reply Apr 24, 2021, 10:54 PM Reply Quote 0
                • S Offline
                  sdetweil @CheapDad
                  last edited by Apr 24, 2021, 10:54 PM

                  @cheapdad he didn’t document the most important parameter

                  text: url to link to

                  text:“http://pi_address:mm_port/…”

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Apr 25, 2021, 1:45 PM Reply Quote 1
                  • C Offline
                    CheapDad @sdetweil
                    last edited by Apr 25, 2021, 1:45 PM

                    @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?

                    S 1 Reply Last reply Apr 25, 2021, 2:40 PM Reply Quote 0
                    • S Offline
                      sdetweil @CheapDad
                      last edited by Apr 25, 2021, 2:40 PM

                      @cheapdad no… the module is not smart, it just uses the text string provided…
                      doesn’t know what the string means

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Apr 25, 2021, 2:44 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy