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.

    LED Pi4 PIR

    Scheduled Pinned Locked Moved Requests
    3 Posts 3 Posters 457 Views 3 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.
    • H Offline
      hec59
      last edited by

      Hi all. I am currently working on a MagicMirror. I have the pi4 4gb and I have the program running on a monitor until I have the actual mirror made. I have the PIR sensor I want to add so when approached, it will trigger off and light up LED strip lights as a sort of mood light. Is it possible to have these light up using the usb port? PS I am totally noob to this. Any help or pointers greatly appreciated. TIA

      1 Reply Last reply Reply Quote 0
      • M Offline
        mmcghee
        last edited by

        Hi Hec,

        This is what i am looking to do also, i figure that if you use the PIR and a button module to trigger a button press when the the PIR is activated. I think i saw on the raspberry pi forum that the power to the USB ports can be turned on and off this way however this only works with all usb ports and cant be done individually.

        If you come across a better method please let me know.

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by

          The triggers that turn on and off the monitor are different in the Pi4 then they were in the Pi3.

          I would spend some research time on the internet seeing what the new commands are :)

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