Skip to content
No description, website, or topics provided.
Python C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


NeoPy is a way to control your NeoPixel LEDs via WiFi in Python.


  • Fishino Guppy or NodeMCU
  • (optional) Raspberry Pi


  1. Setup Fishino Guppy or NodeMCU sketch with your WiFi credentials and LEDs number and flash the sketch
  2. Include in your Python script to control LEDs over WiFi usage

  • Instance one NeoPy object with 90 LEDs, send commands to these IP (default port = 4242):
    strip = NeoPy(90, "")
  • Set the third LED to RED:
    strip.Set(2, (255, 0, 0))
  • Set all LEDs to blue:
    strip.SetAll((0, 0, 255))
  • Set all LEDs half brightness (input values from 0 to 100):
  • Retrieve one RGB color from Wheel (input values from 0 to 255) and set to all LEDs:
    color = strip.Wheel(128)
  • LED matrix mode (True/False, Number of matrix, Width, Height, First pixel position [TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT]):
    strip.IsMatrix(True, 1, 12, 12, strip.BOTTOM_LEFT)
  • Set pixel color of a LED matrix at position X, Y (position 2,4 and color green):
    strip.SetPixel(2, 4, (0, 255, 0))
  • Refresh the strip (send command over WiFi):


If you use NeoPicture (12x12 NeoPixel matrix) you must use a Fishino Guppy with Fishino Guppy sketch due to memory optimization.

You can’t perform that action at this time.