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

MMM-Pir relay

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 831 Views 2 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.
  • G Offline
    grssll @kayakbabe
    last edited by Feb 1, 2024, 9:02 AM

    @kayakbabe
    3v coil relay to turn on led strip with motion and when timer expires turn off

    1 Reply Last reply Reply Quote 0
    • G Offline
      grssll @kayakbabe
      last edited by Feb 1, 2024, 9:05 AM

      @kayakbabe 3v coil relay to turn led strip on with motio and off after timer expires

      K 1 Reply Last reply Feb 2, 2024, 5:10 AM Reply Quote 0
      • K Offline
        kayakbabe @grssll
        last edited by kayakbabe Feb 2, 2024, 5:11 AM Feb 2, 2024, 5:10 AM

        @grssll Does your led strip have it’s own remote control? is it rf or blue tooth? or wi-fi? Could you emulate that in your pi on the command line? It is possible to have the module in the pi execute a command line script , like the monitor on and off command.

        Depending on how your led strip is controlled, Maybe you could use IFTTT. Lots of led light brands will work with it, if the lights are wi-fi based.

        Just suggesting some ideas.

        G 1 Reply Last reply Feb 3, 2024, 1:51 AM Reply Quote 0
        • G Offline
          grssll @kayakbabe
          last edited by Feb 3, 2024, 1:51 AM

          @kayakbabe MMM-Pir has this configuration

          
          mode6_gpio	GPIO number for control the relay (mode 6 only)	Number	20.
          mode: 6 - use a relay switch command controled by GPIO with python
          

          but I cant make it to work

          K 1 Reply Last reply Feb 6, 2024, 4:44 AM Reply Quote 0
          • K Offline
            kayakbabe @grssll
            last edited by Feb 6, 2024, 4:44 AM

            @grssll is your relay already wired to your pi? And does it already work when you use the command line to change the state of the GPIO pin?

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              7/7
              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