MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    Show a picture infont of everything with a button

    Requests
    2
    8
    2233
    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.
    • D
      duedahlb last edited by

      I want a button connected to my RPI gpio I can turn on and then a picture is shown.

      PLZ help me out!

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

        For the first part you’re probably looking for MMM-Button: https://github.com/PtrBld/MMM-Button
        And I think there are several modules to show an image.

        1 Reply Last reply Reply Quote 0
        • D
          duedahlb last edited by

          Can someone PLZ code it for me? I only do some HTML and CSS…

          I want to show a picture infront of my magicmirror while their still loading in the background…

          1. push once- a picture is shown over the screen
          2. push once again, the picture goes away
          1 Reply Last reply Reply Quote 0
          • D
            doubleT Module Developer last edited by

            Did you check MMM-Button and do you want to use it? Is the button already connected?

            btw.

            show a picture infront of my magicmirror while their still loading in the background…

            While what is loading in the background? I see two different things and demands here:
            a) image goes on or off on button press
            b) mirror starts with image and when everything is loaded, the image goes away

            D 1 Reply Last reply Reply Quote 0
            • D
              duedahlb @doubleT last edited by

              @doubleT
              I have everything i need:) just not the code/module:/

              i want the: A

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

                Ok, I wrote something that could … should … I expect to be working with MMM-Button. At the moment I don’t have a button to test it with. I’ll try to get some testing done next weekend.

                MMM-FullsizeCover
                Check the readme and the guide to get it running. Let me know if it works. 😉

                D 1 Reply Last reply Reply Quote 0
                • D
                  duedahlb @doubleT last edited by

                  @doubleT
                  I dont feel the MMM-Button is giving some info… i copy paste the config fron readme, dont work…

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

                    You can check if MMM-Button works by checking the console (not the browser console but where you type in the command to start the MM), it should write "button pressed" when you use the button.

                    In my JS file, add a Log.info("notification: " + notification + "; payload: " + payload + "; sender: " + sender); in line 26 and see if it comes up and what it shows.

                    You can check if the cover works by using the developer tools, finding the module and adding the class show-image.

                    1 Reply Last reply Reply Quote 0
                    • 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