MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Klettner
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    Klettner

    @Klettner

    0
    Reputation
    15
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Klettner Unfollow Follow

    Latest posts made by Klettner

    • RE: MM-Remote Android App

      @videogame95 in addition to the explanations of @sdetweil you can also start your MagicMirror in the console to get hints at problems in your config.js.

      First to go to the MagicMirror folder type cd ~/MagicMirror in your terminal.
      Then npm start to start the mirror.

      Now you should see some log messages in the terminal. If there is an error in your config.js there should also be an error message in between the logs. This message will tell you, around which line in the config.js the error occurs.
      Something like:

      WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:361
      

      In the config you posted, you are missing for example a , after ‘MMM-Remote-Control’

      posted in Utilities
      K
      Klettner
    • RE: MM-Remote Android App

      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

      posted in Utilities
      K
      Klettner
    • RE: MM-Remote Android App

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

      posted in Utilities
      K
      Klettner
    • RE: MM-Remote Android App

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

      posted in Utilities
      K
      Klettner
    • RE: MM-Remote Android App

      @thgmirror thanks for your feedback, I’am pleased to hear that :slightly_smiling_face:

      posted in Utilities
      K
      Klettner
    • RE: MM-Remote Android App

      To be honest, I don’t know what CEC is, but I can explain you how turning the monitor on/off is implemented and how you can test if it will work for you.
      If you press a button to send a command to the mirror, the app sends a REST requests to MMM-Remote-Controle, which handles the execution.

      I looked up for you how they have implemented tuning the monitor on/off there.
      To turn the monitor off they use the shell command:

      tvservice -o
      

      To turn on the monitor they use:

      tvservice --preferred && sudo chvt 6 && sudo chvt 7
      

      You can test these commands in the terminal of your Raspberry pi. If it works there, this should work with the app as well.
      It is also possible to overwrite these shell commands with you own ones, if you are interested in this, have a look at the custom commands section in the MMM-Remote-Control github repository

      posted in Utilities
      K
      Klettner
    • MM-Remote Android App

      Hello everyone,

      I have created an android app to remote controle MagicMirrors.
      With the app you can:

      • reboot/shutdown your mirror
      • toggle the monitor on/off
      • change the brightness
      • change the pages of the MMM-Pages module
      • play, pause and skip the displayed image of MMM-Background-Slideshow
      • send alerts to the mirror
      • you can also add custom commands

      As this is the first app I have created I would like to get some feedback.
      If you have trouble to set up the app let me know. If you discover bugs or have feature requests, please write an issue on github.

      You can find the latest release and a detaild describtion of the MM-Remote app in my github repository.

      posted in Utilities
      K
      Klettner