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 9.8k 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 @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
                    • S Offline
                      sdetweil @Egnos
                      last edited by

                      @Egnos notifications are easy… but this module rpi-leds, only toggles the leds ON the pi board… not led strip…

                      if u can find one that works the ed strip with a python command, then we can make that work

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

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

                        but this module rpi-leds, only toggles the leds ON the pi board… not led strip…

                        Maybe this module could fit https://github.com/jc21/MMM-PiLights, using SPI and a LPD8806 or WS2801 LED strip.

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

                        if u can find one that works the ed strip with a python command, then we can make that work

                        It appears to respond to notifications:

                        this.sendNotification('PILIGHTS_SEQUENCE', 'blue_pulse');
                        

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

                        S 2 Replies 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