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

PIR sensor to turn on LED strip

Scheduled Pinned Locked Moved General Discussion
35 Posts 6 Posters 10.1k 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 Sep 6, 2022, 1:42 PM

    @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 Sep 6, 2022, 4:58 PM Reply Quote 0
    • S Offline
      sdetweil @Egnos
      last edited by Sep 6, 2022, 4:58 PM

      @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 Sep 6, 2022, 5:08 PM Reply Quote 0
      • E Offline
        Egnos @sdetweil
        last edited by Sep 6, 2022, 5:08 PM

        @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 Sep 6, 2022, 5:34 PM Reply Quote 0
        • S Offline
          sdetweil @Egnos
          last edited by Sep 6, 2022, 5:34 PM

          @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 Sep 6, 2022, 6:15 PM

            @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 Sep 6, 2022, 9:39 PM Reply Quote 0
            • E Offline
              Egnos @sdetweil
              last edited by Egnos Sep 6, 2022, 9:40 PM Sep 6, 2022, 9:39 PM

              @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 Sep 6, 2022, 10:39 PM Reply Quote 0
              • S Offline
                sdetweil @Egnos
                last edited by Sep 6, 2022, 10:39 PM

                @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 Sep 6, 2022, 11:12 PM Reply Quote 0
                • E Offline
                  Egnos @sdetweil
                  last edited by Egnos Sep 6, 2022, 11:14 PM Sep 6, 2022, 11:12 PM

                  @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 Sep 7, 2022, 1:11 AM Reply Quote 0
                  • S Offline
                    sdetweil @Egnos
                    last edited by Sep 7, 2022, 1:11 AM

                    @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 Sep 7, 2022, 8:59 AM

                      @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 Sep 7, 2022, 12:11 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        7/35
                        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