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

[Remote-Control] Shutdown, Configure and Update your MagicMirror

Scheduled Pinned Locked Moved System
274 Posts 78 Posters 684.1k Views 77 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.
  • F Offline
    fox @chaseb1357
    last edited by Aug 22, 2017, 9:14 AM

    @chaseb1357 said in [Remote-Control] Shutdown, Configure and Update your MagicMirror:

    I downloaded this module today and its been the best one so far. It has everything in it that I have been trying to accomplish for weeks. I wish I saw this one sooner.

    same to me. this module rocks…! i am for donating with ETH

    Issues With MMM-WatchDog known?

    https://forum.magicmirror.builders/post/29827

    Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

    1 Reply Last reply Reply Quote 0
    • K Offline
      krisalexroberts
      last edited by Aug 25, 2017, 6:23 PM

      Can you confirm the get URL to hide and show all?

      1 Reply Last reply Reply Quote 0
      • A Offline
        ArkantosArk
        last edited by Sep 9, 2017, 7:51 AM

        @Jopyth

Hi! First of all thanks a lot for creating this awesome module, it really expands the capability of what a Magic Mirror can do.

I just wanted to point out that I had an issue turning on the screen after turn it it off using the module. I went to the “node_helper.js” file to see which function you were using:

 if (query.action === “MONITORON”)
        {
        exec(“tvservice --preferred && sudo chvt 6 && sudo chvt 7”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
        return true;
        }
        if (query.action === “MONITOROFF”)
        {
        exec(“tvservice -o”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
        return true;
        }
        This function wasn’t really working for me and it seems a bit outdated. You can go further on the reasons why on this links:

https://raspberrypi.stackexchange.com/questions/52042/turning-tvservice-on-and-off-leaves-screen-blank

http://www.elinux.org/RPI_vcgencmd_usage

I just changed that code to:

        if (query.action === “MONITORON”)
        {
        exec(“vcgencmd display_power 1”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
        return true;
        }
        if (query.action === “MONITOROFF”)
        {
        exec(“vcgencmd display_power 0”, opts, function(error, stdout, stderr){ self.checkForExecError(error, stdout, stderr, res); });
        return true;
        }

And everything seems to work perfectly for me now. I’m using a Raspberry pi 1 and Midori as a web browser. 

My question is, would you be able to implement this changes in order to solve this issue for another users? (and also to keep my same valid configuration in case of an update)

Thanks!

        1 Reply Last reply Reply Quote 2
        • J Offline
          Jopyth Moderator
          last edited by Sep 20, 2017, 9:43 PM

          I have not been able to work on anything mentioned here, yet, but at least got out a release with a few cool contributions by other people, and a few simple fixes and additions. I do not know when I will be able to look at your questions and issues, but maybe in one or two weeks (especially turning display on and off apparently works much better with the vcgencmd command). If anyone is reading is this in the hopes of finally getting an answer from me, please feel free to post again and remind me, if have not been able to solve it yourself.

          Here is the change log:

          [1.1.4] - 2017-09-17

          Added

          • Dutch translation
          • Updating a module tries to install dependencies with npm install
          • Module identifier is shown if a module is locked with lock strings
          • Confirmation dialog before restart and shutdown

          Fixed

          • Internal save file format and mistakenly hiding modules which were hidden by other modules
          • Restart should work for new installations

          Changed

          • German translation for power menu changed from “Ausschalten” to “Energieoptionen”

          Helpful sticky: How to troubleshoot

          L P 2 Replies Last reply Sep 22, 2017, 10:29 AM Reply Quote 0
          • L Offline
            logen563 @Jopyth
            last edited by Sep 22, 2017, 10:29 AM

            @Jopyth Thanks for the update!

            1 Reply Last reply Reply Quote 0
            • P Offline
              pyrosmiley
              last edited by Oct 20, 2017, 6:26 AM

              So, I’m having a really unexpected bug, where this module somehow negates my custom CSS for the header color of all modules. No idea how/why, but when the page first loads, it’s fine, but as the last of the modules (including this one) load and are activated, the color suddenly snaps back to the default #aaa.

              I know for certain it’s this module, since disabling it in the config fixed the header issue. I think this was introduced in the newest update, but I’m not 100% for-sure positive. I do know it started right around the most recent release date though.

              1 Reply Last reply Reply Quote 1
              • P Offline
                pepebc @Jopyth
                last edited by pepebc Feb 21, 2018, 4:39 PM Feb 11, 2018, 9:30 PM

                @Jopyth
                Hello, excellent module. I have built the translation file into Spanish: es.json
                you want it?

                J 1 Reply Last reply Feb 19, 2018, 9:03 PM Reply Quote 0
                • J Offline
                  Jopyth Moderator @pepebc
                  last edited by Feb 19, 2018, 9:03 PM

                  @pepebc Sure. Can you make a PR?

                  @pyrosmiley Did you start using the brightness adjustment? That definitely overrides brightness of headers and text. Maybe reset to default? That should solve the problem.

                  Helpful sticky: How to troubleshoot

                  P 1 Reply Last reply Feb 21, 2018, 2:56 AM Reply Quote 1
                  • E Offline
                    emlowe Module Developer
                    last edited by Feb 21, 2018, 2:16 AM

                    This module is great - a couple items related to support for the ‘official 7" pi touchscreen’
                    I can probably code this up and submit a PR if you want - the on/off is easy to do because that is already in the helper. Brightness would need to get moved to the helper away from the CSS tricks.

                    It is interesting that controlling the brightness of a monitor itself over HDMI is surprisingly non-existent, but the 7" touchscreen h/w rev: 1.1 does indeed support direct brightness manipulation:

                    You can control the brightness of the backlight itself by:

                    echo X > /sys/class/backlight/rpi_backlight/brightness
                    

                    where X is a value between 0 and 255

                    And you can turn off the backlight with

                    echo 0 > /sys/class/backlight/rpi_backlight/bl_power
                    

                    and turn it back on with:

                    echo 1 > /sys/class/backlight/rpi_backlight/bl_power
                    

                    Earle

                    1 Reply Last reply Reply Quote 1
                    • P Offline
                      pyrosmiley @Jopyth
                      last edited by Feb 21, 2018, 2:56 AM

                      @Jopyth I didn’t think I had (actually I don’t think I ever even noticed it!) but I guess I bumped into it just enough to change the value. All good now. Thanks!

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 21
                      • 22
                      • 23
                      • 24
                      • 25
                      • 26
                      • 27
                      • 28
                      • 23 / 28
                      • 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