MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Basic Text on Magic Mirror

    General Discussion
    7
    6
    1062
    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.
    • J
      Juri last edited by

      Hello guys,

      is there a way or someone who can help me to display a simple Text on my MagicMirror.
      I want a Text with 4 Lines shown at my bottom part of the Mirror.
      I found no module…

      Pls help me guys 🙂

      1 Reply Last reply Reply Quote 0
      • Snille
        Snille Module Developer last edited by

        Hi!
        Try one of these:
        https://github.com/SaltyRiver/MMM-SimpleText
        https://github.com/martinmeinke/MMM-display-text-file
        https://github.com/SkogDev/MMM-Text

        Depending on how you want it… 🙂

        If you cant find it, make it and share it!
        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

        S A 2 Replies Last reply Reply Quote 1
        • S
          Sven1894 last edited by

          The deafualt module “helloworld” can do this 🙂

          1 Reply Last reply Reply Quote 1
          • S
            SymmetriC @Snille last edited by

            @Snille Unfortunately, the only module I found that actually worked was MMM-Text, but the config.js stated (below) in the directions don’t work:

                module: 'MMM-Text',
                position: 'lower_third',
                config: {
                    url: 'your url here'
                }
            },
            

            I tried multiple variations and still nothing. Instead, the only solution I found to make this module work was to go into the //MMM-Text.js file and change line #26 of the ‘Loading…’ to your desired text output from the following lines:

            		this.text = 'Loading ..';
            		var self = this;
            		setInterval(function() {
            

            Your new text would look like this:

            // Schedule update timer.
            		this.text = 'Write Whatever You Want';
            		var self = this;
            		setInterval(function() {
            

            This will now display your text on the MagicMirror display. Hope I could help someone from the frustration I went through, but if someone has other solutions to make MMM-helloworld or MMM-Text work as intended, I’d appreciate it. 🙂

            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @SymmetriC last edited by

              @SymmetriC what url did u provide?

              if using the mm web server

              http://localhost:8080/modules/MMM-Text/filename 
              

              for reading from filename in the module folder

              if some other file NOT using the mm web server

              file:///full_path_to_filename
              

              and of course if on some server someplace else

              http{s}://server name/path?parms_if_any
              

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 2
              • A
                alienatedwan @Snille last edited by

                @Snille Many thanks! It’s worked.

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy