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.

    MMM-PIR-Sensor-Lite modification

    Scheduled Pinned Locked Moved Solved Troubleshooting
    27 Posts 4 Posters 11.6k Views 5 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
      Freddy_boy
      last edited by

      As I dig more into this, I am finding that there seem to be a lot of reports that some LG monitors do not support using the Standby command. I am not certain of how this was working before, but now I am beginning to suspect that the Magic Mirror app simply went hidden when the timeout occurred. Perhaps the monitor was ON all along, but the app disappeared from the screen? I don’t know if this applies in my situation, because I can’t seem to make any of the CEC commands work at all.

      I attempted to turn OFF the monitor, and then issue the CEC ON command, but that also did not work. It appears to be some fundamental issue with the CEC commands that I may not be able to use. Are you aware of any modules that simply blackout the Magic Mirror app using the PIR sensor? I know that isn’t really saving as much energy, but it might be worthwhile implementing…

      S wishmaster270W 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Freddy_boy
        last edited by

        @Freddy_boy you can try my MMM-SleepWake
        https://github.com/sdetweil/MMM-SleepWake

        it listens for pir sensor or lite to signal user presence

        and mode HIDE will hide all the modules and show them again when a user appears

        I built this to use this with a webcam as I don’t have any pirs, and none of my monitors will behave (big ‘no power’ warning when hdmi goes off)

        I just added the code for sensor-lite, just a check …

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • F Offline
          Freddy_boy
          last edited by

          I assume that I would need to re-configure the MMM-PIR-Sensor-Lite module to prevent the command from turning OFF the HDMI. How do I do that?

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

            @Freddy_boy dang, this module also doesn’t alert other modules…

            too much to change quickly… sorry

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            bugsounetB 1 Reply Last reply Reply Quote 0
            • bugsounetB Offline
              bugsounet Banned @sdetweil
              last edited by bugsounet

              Really…

              Should I recode a module by merging screen and pir plugins ??

              Yes, I can do it but… I not really interested to maintened it
              @sdetweil: if I add you to contributor, you are able to “maintened” it ?

              I will create MMM-Pir

              bugsounetB 1 Reply Last reply Reply Quote 0
              • wishmaster270W Offline
                wishmaster270 Module Developer @Freddy_boy
                last edited by wishmaster270

                @Freddy_boy
                Hi, my MMM-Screen-Powersave-Notification module can do this job. It has a hideInsteadShutoffoption.
                You need my MMM-GPIO-Notifications in addition.
                I wrote a Guide of how to configure the modules.

                1 Reply Last reply Reply Quote 1
                • bugsounetB Offline
                  bugsounet Banned @bugsounet
                  last edited by

                  @bugsounet said in MMM-PIR-Sensor-Lite modification:

                  I will create MMM-Pir

                  It’s done.
                  It’s based with my EXT-Screen and EXT-Pir plugins
                  I have rewrite and clean it for MMM using

                  @wishmaster270:
                  do you want to try to maintened it ?
                  I can add you as contributor
                  (I see that you fork EXT-Screen)
                  I have really no time for any MMM :/

                  wishmaster270W 1 Reply Last reply Reply Quote 0
                  • wishmaster270W Offline
                    wishmaster270 Module Developer @bugsounet
                    last edited by wishmaster270

                    @bugsounet Hi,
                    sorry but at the moment a do not have plans to maintain more modules than i already do.
                    In addition i do not see a reason why there should be a need for a additional screensave module.
                    Most of the features are present in the exiting ones. I do not like the idea of putting the GPIO logic and screensave logic into the same module and had problems with it in my setup in the past. Thats why i created the two separted modules.
                    I forked MMM-Screen as i wanted to check if there is a easy way to implement the CEC logic to my screensave module. I do not think it would be a big deal. The problem is that i do not have a CEC aware monitor at the moment and do not have the time to build a dev environment with my tv.

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      Freddy_boy
                      last edited by

                      Terrific! I just installed MMM-Pir and it works properly as before. I am using mode 4 (HDMI CEC) and the monitor responds as expected. Thanks very much for the quick response! You guys are a real credit to this open source project!

                      bugsounetB 1 Reply Last reply Reply Quote 0
                      • F Freddy_boy referenced this topic on
                      • bugsounetB Offline
                        bugsounet Banned @Freddy_boy
                        last edited by

                        @Freddy_boy perfect !

                        You understand now why i prefer works alone :D

                        I repeat again … If someone have the time to maintened this new module,
                        I will add a contributor access :)

                        @sdetweil: this module can be referenced on the third party module page ;)

                        S 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