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-PiLights - Control a LPD8806 Led Strip on a Raspberry Pi

    Scheduled Pinned Locked Moved Utilities
    17 Posts 7 Posters 15.3k Views 9 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.
    • A Offline
      aspartame
      last edited by

      Hi,
      Has anyone tried using one of the voice control modules to change color or control the light strip? I am new to this and would be interested in some ideas on how to point the correct modules.

      1 Reply Last reply Reply Quote 0
      • F Offline
        fabrang
        last edited by

        Hello :), I buyed a WS2801 LED-Chain and now I try to get the module running. I Installed the library via. “npm install rpi-ws2801” but I dont know what I Need to Change to get it work.
        var leds = require(“rpi-ws2801”);
        Putting this in my js.File I only get an error message in my developer console?
        Can somebody help me please?

        1 Reply Last reply Reply Quote 0
        • A Offline
          Ashidian
          last edited by

          yes, and you need to check the dependencies in your package.json file.
          The WS2801 library uses lightly other function-names, you probably need to check that out

          https://www.npmjs.com/package/rpi-ws2801 vs.
          https://www.npmjs.com/package/lpd8806-async

          I work on an own repository for this one but unfortunaly do not have much time at the moment, you can check that out as well. I thought of an option which sais that you are using ws2801 or lpd8806 and the module handles it … but a lot stuff to do.

          https://github.com/Ashidian/MMM-PiLights

          1 Reply Last reply Reply Quote 0
          • O Offline
            orayoflighto Project Sponsor
            last edited by

            Does anyone know if APA102 (or DOTSTAR) can be used without modification of the code?

            1 Reply Last reply Reply Quote 0
            • O Offline
              orayoflighto Project Sponsor
              last edited by orayoflighto

              I ordered these:
              https://www.amazon.com/gp/product/B01COEJST8/ref=oh_aui_detailpage_o09_s00?ie=UTF8&psc=1

              FYI - for those that are reading this in the future, make sure that your power supply ground is grounded to the RPi ground. That tripped me up.

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