• 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 start an image slide show with a press of a button?

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 2 Posters 3.2k Views 1 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.
  • C Offline
    cruunnerr @xela
    last edited by Feb 12, 2018, 9:52 PM

    @xela

    Ah sorry… the MMM was missing. should be this:

    http://your.raspberry.ip.address:8080/remote?action=HIDE&module=module_0_MMM-ImageSlideshow

    And

    http://your.raspberry.ip.address:8080/remote?action=SHOW&module=module_0_MMM-ImageSlideshow

    1 Reply Last reply Reply Quote 2
    • X Offline
      xela
      last edited by Feb 13, 2018, 12:29 AM

      works perfectly, thank you so much for your help!

      and now to the ultimate question for me… Is it possible to start the camera on full screen by a press of a button?

      1 Reply Last reply Reply Quote 0
      • C Offline
        cruunnerr
        last edited by Feb 13, 2018, 4:28 AM

        surely, but i don’t know what camera u mean^^

        A security camera somewhere at your house or the RPi camera?

        For security u could check this: https://github.com/shbatm/MMM-RTSPStream

        for RPi cam u could check this: https://forum.magicmirror.builders/topic/603/camera-module

        1 Reply Last reply Reply Quote 0
        • X Offline
          xela
          last edited by Feb 13, 2018, 7:50 AM

          I use a Microsoft round web cam that I’ve embedded into the frame and I’m using the camera module however the voice recognition is not very good so I wanted to start it with a press of a button, but I don’t know how and how to display the video vertically on full screen.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cruunnerr
            last edited by cruunnerr Feb 13, 2018, 5:01 PM Feb 13, 2018, 4:56 PM

            So you use the camera module i posted?

            unfortunately i don’t use this module, so i am maybe the wrong person to ask…

            But i took a look at the webcam.js of the module and in line 46/47 the width and hight is defined.
            Maybe u should play around with that…
            https://github.com/alexyak/camera/blob/master/webcam.js

            nano MagicMirror/modules/camera/webcam.js

            also check the camera.js at line 62/63…

            nano MagicMirror/modules/camera/camera.js

            I don’t know if it would be necessary to set the resolution of the cam within raspbian… ?

            To start the cam with a button u can even use the MMM-Buttons module. This should work, if i understand the camera-module correct ^^

            {
            		    module: 'MMM-Buttons',
            		    config: {
            			maxShortPressTime: 1000,
            		        buttons: [
            		            {
            		                pin: 15,
            		                name: "camera",
            		                shortPress: {
            		                    notification: "SHOW_CAMERA",
                                                     }
            		             },
                                            longPress: {
                                            notification: "HIDE_CAMERA",
                                                     },
            		             },
            		         ]
            		     }
            		},
            
            1 Reply Last reply Reply Quote 1
            • 1 / 1
            1 / 1
            • First post
              10/10
              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