• 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 8.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.
  • S Offline
    sdetweil @Egnos
    last edited by Sep 8, 2022, 11:52 AM

    @Egnos fixed the typo, git pull for the update

    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 @MMRIZE
      last edited by Sep 8, 2022, 11:52 AM

      @MMRIZE good catch

      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 sdetweil Sep 8, 2022, 1:10 PM Sep 8, 2022, 1:06 PM

        @Egnos u don’t need the GPIO_Notifications module. as the PIR modules send the USER_PRESENCE notification

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Sep 9, 2022, 8:59 AM Reply Quote 0
        • E Offline
          Egnos @sdetweil
          last edited by Sep 9, 2022, 8:59 AM

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

          u don’t need the GPIO_Notifications module. as the PIR modules send the USER_PRESENCE notification:

          The module I use for sending notifications when the PIR detects motion is MMM-GPIO-Notifications
          I believe he is sending the “USER_PRESENCE” notification:

          notifications: [
                      {
                        notification: 'USER_PRESENCE',
                        payload: true
                      },
          

          Thanks for your patience @sdetweil ! ;-)

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

          S 1 Reply Last reply Sep 9, 2022, 12:10 PM Reply Quote 0
          • S Offline
            sdetweil @Egnos
            last edited by Sep 9, 2022, 12:10 PM

            @Egnos ok got it.

            what I was saying is that the

            MMM-PIR-???

            modules, if you use them, THEY send the USER_PRESENCE notification

            the GPIO_Notifcations module is more generic and can send notifications for ANY gpio device

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Sep 9, 2022, 12:38 PM Reply Quote 0
            • E Offline
              Egnos @sdetweil
              last edited by Sep 9, 2022, 12:38 PM

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

              @Egnos ok got it.
              what I was saying is that the
              MMM-PIR-???
              modules, if you use them, THEY send the USER_PRESENCE notification
              the GPIO_Notifcations module is more generic and can send notifications for ANY gpio device

              Ok ok, I just wanted to be sure that, in my case, the MMM-GPIO-Notifications module sends the “USER_PRESENCE” notification.
              I knew that the module I am using is a collector of GPIO devices…

              Thanks @sdetweil

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

              O 1 Reply Last reply Sep 12, 2022, 3:33 PM Reply Quote 0
              • O Offline
                OberfragGER @Egnos
                last edited by Sep 12, 2022, 3:33 PM

                @Egnos Just in case…
                Im using ioBroker @home (thats a free Smart Home Software). WIth that i also have installed MQTT. Any other Smart Home software like Home Assist can do the same.
                I also installed Hyperion on the same Raspyberry i have installed MagicMirror. Inside ioBroker iam using the Hyperion adapter.
                So with any “user_presence” i get the MQTT informartion… and that triggers a scipt inside ioBroker to activate Hyperion.

                If your using any smart home software as well… this should be an easy thing. Feel free to ask…

                E 1 Reply Last reply Sep 17, 2022, 3:50 PM Reply Quote 0
                • E Offline
                  Egnos @OberfragGER
                  last edited by Egnos Sep 17, 2022, 3:52 PM Sep 17, 2022, 3:50 PM

                  @OberfragGER thanks for the valuable advice and for your availability, now I’ll read something.

                  In the meantime, can you tell me an LED strip (not necessarily RGB …) that is compatible with this project?

                  Thank you all.

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

                  O 1 Reply Last reply Sep 18, 2022, 7:09 PM Reply Quote 0
                  • O Offline
                    OberfragGER @Egnos
                    last edited by Sep 18, 2022, 7:09 PM

                    @Egnos I have to add… i use also the Module https://github.com/olexs/MMM-UserPresenceToMQTT

                    For the LED-Strip… i use a WS2812. Its adessable an u can use it with 5V and it preconfigured in Hyperion.

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      Egnos
                      last edited by Egnos Sep 18, 2022, 8:35 PM Sep 18, 2022, 8:32 PM

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

                      For the LED-Strip… i use a WS2812. Its adessable an u can use it with 5V and it preconfigured in Hyperion

                      Where did you buy the LED strip? They seem very expensive …

                      I have seen the connection between RPI and LED strip but I do not understand why the external 5V power supply must also be connected to the RPI, is it not enough to connect it to the LED strip?

                      If I really have to connect the power supply to the RPI as well, how do you do if you have both PINs of the 5V GPIO occupied?

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

                      E 1 Reply Last reply Sep 19, 2022, 9:32 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        22/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