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.

    MM-Remote Android App

    Scheduled Pinned Locked Moved Utilities
    21 Posts 7 Posters 10.8k Views 10 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
      sdetweil @Klettner
      last edited by

      @Klettner you should make the command strings options so people don’t have to edit your code.
      set the default as it is now.

      my tvs don’t turn off , so I have hide/show for all modules

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Reply Quote 0
      • K Offline
        Klettner @Cr4z33
        last edited by

        @Cr4z33 I think I found a solution that might work for your.

        1. download the cec-utils package to your raspberry pi (you have probably already done that).
          For Ubuntu or Debian use:
        sudo apt install cec-utils
        
        1. scan for available devices to get the device number/address of your TV
        echo 'scan' | cec-client -s -d 1
        
        1. Now you should be able to power on the TV via the Raspi command terminal (replace Device# with the number or address form step 2):
        echo 'on Device#' | cec-client -s -d 1
        

        and off

        echo 'standby Device#' | cec-client -s -d 1
        
        1. If these commands work, overwrite the commands of MMM-Remote-Control.
          To do this, open you config.js file and add the customCommand section to the module MMM-Remote-Contorl:
          f13dbf2b-052f-4ba2-9e63-967a3a7a8796-grafik.png

        I’m wasn’t able to test the commands as my pi is currently not connected to a CEC-device. Let me know if this works for you.

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

          @Klettner never mind, you are using remotecontrol on the pi side…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          K 1 Reply Last reply Reply Quote 0
          • Cr4z33C Offline
            Cr4z33 @Klettner
            last edited by

            @Klettner oh it’s easy then to fix it. :)

            Thanks for the solution.

            1 Reply Last reply Reply Quote 0
            • K Offline
              Klettner @sdetweil
              last edited by

              @sdetweil yes exactly, all the default commands can be changed in the config.js file. Therefore you need to edit the customCommands section of MMM-Remote-Control. So if your TV does not turn off with the default command and you know one that works for you, you can change it there.

              1 Reply Last reply Reply Quote 0
              • K Offline
                Klettner
                last edited by

                New version of the MM-Remote android app is now available (v1.0.3).

                New functionalities:

                • Start/Stop/Pause a timer on the mirror
                • Start /Stop/Pause a stop-watch on the mirror
                • Hide and reorder the default commands of the Home-tab
                • Simplified set-up of the app

                currentDeviceHomeTab.png

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by

                  • My alpha user: Yeah good, i can control my MM with my phone !

                  • My developer user : Yes… But well done… Main code of remote control have open the port mirror to everyone ! without user and pass… so every one can see your mirror !
                    99% of user don’t change port (lazy to read ReadMe) so th default port is 8080 ! yeah

                  • My security point of view…: try to recode MMM-Remote-control with more security…

                  Sorry, it’s not for blame for program, but it’s the reality ;)

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

                    @Bugsounet well you would have to be on their network, so not likely exposure for most users

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      @sdetweil said in MM-Remote Android App:

                      well you would have to be on their network, so not likely exposure for most users

                      sam, look any firewall scan by external source hacking … 80 8080 25 etc…

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

                        @Bugsounet yeh, most routers come with all ports closed. all mine in the last 10 years.

                        I only open ports when I need to

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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