smpanaro / esp-lights

ESP8266-controlled WS2812s
3 stars 0 forks source link

Instructions #1

Open FezVrasta opened 6 years ago

FezVrasta commented 6 years ago

Hi, I'm trying to run your script, so far that's what I have done:

  1. Install the node.js package and add this to my huebridge config.json:
    "accessories": [
    {
      "accessory": "LED Strip",
      "name": "Lights",
      "host": "localhost",
      "port": 9090
    }
    ],
  2. Flash the code on the board, configuring the wireless settings. Wired the GPIO3 to control the led strip
  3. Run the python server, replacing the LIGHT_IP variable in the colors.py file

That's all I needed to make this code work, I hope it's useful to someone else.

FezVrasta commented 6 years ago

What I don't understand is why the LED strip isn't brighten up at its maximum brightness level, from what I see the range is 0-255, but the UDP packet is probably sending a lower value..

EDIT: Seems like I have to change the "MAX_RGB" value in server.py