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.

    PIR sensor to turn on LED strip

    Scheduled Pinned Locked Moved General Discussion
    35 Posts 6 Posters 8.9k Views 6 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.
    • E Offline
      Egnos
      last edited by

      Hello everybody,
      I am moving forward with my MM project and was wondering if it would be possible to activate an LED strip when the PIR sensor detects motion.

      In particular, I use the following modules for the PIR:
      MMM-GPIO-Notifications: https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications
      MMM-Screen-Powersave-Notification: https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification

      Is there a module capable of controlling an LED strip using notifications?
      Perhaps using the notifications of the module “MMM-GPIO-Notifications” …

      Thank you all.

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

        @Egnos from the 3rd party modules list, maybe
        Screenshot_20220906-075511_Chrome.jpg

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Egnos @sdetweil
          last edited by

          @sdetweil said in PIR sensor to turn on LED strip:

          @Egnos from the 3rd party modules list, maybe

          This module https://github.com/idoodler/MMM-RPI-LED it seems it cannot be controlled with notifications.

          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

            @Egnos that could be added pretty easily.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              Egnos @sdetweil
              last edited by

              @sdetweil said in PIR sensor to turn on LED strip:

              that could be added pretty easily

              The problem is that I don’t have the skills to program. I understand something … but not enough … unfortunately

              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                @Egnos well, there ARE people who could do it…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @Egnos what actions would u like the LEDs to do on notification? and what would u think the notification ID string should be?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    Egnos @sdetweil
                    last edited by Egnos

                    @sdetweil said in PIR sensor to turn on LED strip:

                    what actions would u like the LEDs to do on notification? and what would u think the notification ID string should be?

                    Initially it would be enough to turn on the LEDs at the same time as the monitor is turned on and turn them off when the monitor is turned off.

                    For the notification I believe that the module that manages the LEDs should respond to a notification such as “LightOn-White” and “LightOff-White” generated by the module that manages the PIR sensor variations.
                    I hope I haven’t said too many wrong things … 🤞

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                      @Egnos that led module can only on/off/ or blink

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Egnos @sdetweil
                        last edited by Egnos

                        @sdetweil said in PIR sensor to turn on LED strip:

                        that led module can only on/off/ or blink

                        At the moment I could be satisfied … but it does not seem that the module proposed by you can receive notifications.

                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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