• 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.

IR control of presentations?

Scheduled Pinned Locked Moved General Discussion
11 Posts 4 Posters 2.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 Away
    sdetweil @DrFalken
    last edited by sdetweil Aug 20, 2022, 5:02 PM Aug 20, 2022, 4:59 PM

    @DrFalken in MM a module creates a small section of html content

    div ->iframe <end-div

    and then gives that to MM which places it inside the div matching the position declared for the modules content… (see index.html for the raw mm html page layout)

    so, you create the div, create iframe, add the url to the iframe, add the iframe to the div and return the div to MM (return from getDom() function.). and mm does the placement, and browser does all the rest of the work…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 1 Reply Last reply Aug 20, 2022, 6:39 PM Reply Quote 0
    • D Offline
      DrFalken @sdetweil
      last edited by sdetweil Aug 20, 2022, 6:44 PM Aug 20, 2022, 6:39 PM

      @sdetweil ah I get it. So what’s the point of browser modules? Just to provide a UI to navigate?

      S 1 Reply Last reply Aug 20, 2022, 6:44 PM Reply Quote 0
      • S Away
        sdetweil @DrFalken
        last edited by sdetweil Aug 20, 2022, 6:50 PM Aug 20, 2022, 6:44 PM

        @DrFalken mm is a composite ( built from parts) information display. the ‘modules’ each from different author, control their content and update frequency, without knowledge of any other module.

        because the parts are independent, anyone can construct the information display any way they want

        technically mm is an output only medium, which has tiny bits of input nowadays… button push, limited voice, and some externally submitted events.

        no general keyboard or mouse. no office type desktop.

        due to some creative invention, mm has the ability to fake multiple pages, and allow externally invoked page change

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Aug 20, 2022, 8:50 PM Reply Quote 0
        • D Offline
          DrFalken @sdetweil
          last edited by Aug 20, 2022, 8:50 PM

          @sdetweil Thank you!

          1 Reply Last reply Reply Quote 0
          • T Offline
            Thierry7100
            last edited by Aug 21, 2022, 5:06 AM

            Hi,

            If you are looking for an IR remote module, I wrote one some months ago to control a radio player embedded in the mirror. This module send notifications to other modules (or actions to show, hide or toggle modules).
            This module work with lirc (the Linux infrared control) and has been tested on a RPi (4).

            The module is available at https://github.com/thierry7100/MMM-Infrared-Remote

            Hope this can help you.

            D 1 Reply Last reply Aug 23, 2022, 4:03 AM Reply Quote 1
            • D Offline
              DrFalken @Thierry7100
              last edited by Aug 23, 2022, 4:03 AM

              @Thierry7100 Awesome, thank you! Will give it a shot.

              1 Reply Last reply Reply Quote 0
              • K Offline
                kayakbabe @DrFalken
                last edited by kayakbabe Aug 23, 2022, 4:06 AM Aug 23, 2022, 4:03 AM

                @DrFalken said in IR control of presentations?:

                Hey everyone - i’m looking to run https://revealjs.com/demo/ on MM, in a web browser module. I have a basic MM setup but otherwise a newbie :)

                The idea would be to able to able navigate through the slides with an IR remote (either mimicking keystrokes, or issuing api calls to the revealjs server.

                Does this seem realistic to do? Any pointers on implementation would be very helpful!

                As others have explained, MagicMirror won’t do what you want.

                To solve your need,
                There are presentation wireless “mice” which look like tv remotes which can do what you want, if you are using a computer to display your website on a screen.
                OR
                you could turn each slide of your presentation into a graphic image and load them on a usb stick. Most “smart” tv’s have the ability to display images from a usb stick and will allow you to adjust the settings so you can change pages by clicking on your tv’s remote control.

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 1 / 2
                1 / 2
                • First post
                  9/11
                  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