Skip to content
nikolakPublic

About

Open source, €5 Nanoleaf Shapes compatible controller. WLED based, fully local.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation


My Nanoleaf Shapes controller died, and I wasn't about to drop €40 just to turn on my perfectly good light panels. So I built Releaf: a cheap, fully local WLED controller based on the C3 SuperMini.

I kept the goals simple:

  • Keep it cheap.
  • Make it easy to build.
  • Use common parts.
  • Keep everything local.
  • Avoid heavy custom firmware.

I went a step further and made an optional PCB that keeps the footprint small. Technically, you just need a C3 SuperMini (about 2 bucks), a resistor (cents), some wire (cents), and either a step-down converter to power the C3 SuperMini via the panel power, or just power it via USB-C if you don't mind the extra cable. The full build with the PCB and everything comes to about €7-€9 depending on where you source your hardware, shipping costs, etc.

Releaf in its printed shell on a Shapes hexagon Five Shapes hexagons in rainbow colours, driven by Releaf

Downloads

No need to compile the firmware yourself—just grab the binaries from the latest releases:

File What it's for
releaf-esp32c3-factory.bin First installation over USB, including the bootloader and partition table
releaf-esp32c3.bin Updating an existing Releaf installation through WLED
releaf-gerbers.zip Ordering the optional PCB
releaf-shell.3mf 3D printing the shell (Bambu Studio project with both halves). The STEP files are in hardware/shell.

The firmware instructions cover flashing the downloaded files. Changes between versions are in the changelog.

Getting started

You can wire this directly, use a breadboard, or make the controller board below. The firmware is the same for all three.

  1. Grab a release and follow the firmware instructions to flash the C3. You can also build from source.
  2. Swap the cables: disconnect the original Nanoleaf controller and connect the C3 using the wiring below. The panels still use their original power supply.
  3. Power on the C3 and connect to WLED-AP (password: wled1234). Open 4.3.2.1 and enter your Wi-Fi details.
  4. Open WLED at its network address. Releaf finds the panels and their layout on its own, so you can use WLED's effects and presets as usual.

Wiring

Connect the C3 to the panels like this:

C3 connection Panel connection
GPIO4 (TX) and GPIO5 (RX) Both connect to DATA
3.3 V through a 10 kΩ resistor DATA (the pull-up resistor)
GND GND

WLED still needs a configured LED output, so GPIO10 is used as a dummy output. Leave it unconnected; the panels communicate through GPIO4 and GPIO5.

You can power the C3 through USB-C, or use a step down converter to get 5 V from the panel supply. Crucial: Do not connect the panel's 41–42 V supply directly to the C3. Double-check the pinout as the linkers swap the 41v and DATA positions.

Optional controller board

The PCB integrates the C3 and power management into one board. It draws power directly from the panels, converting it to 5V for the C3 so you don't need an extra USB cable. All five components are through-hole and can be soldered by hand:

  • ESP32-C3 SuperMini
  • Pololu D45V5F5 converter
  • ESP1010 switch
  • 10 kΩ resistor
  • 33 µF / 100 V capacitor

The board in the back half of the shell

The Gerber files are ready for production. The board is 80 × 20 mm, two layers, and 1.6 mm thick. If you want to change the design, open releaf.kicad_pro in KiCad 10.

When using the board, switch it OFF before connecting USB, and unplug USB before switching it back ON.

Shell

A two-part printed shell holds the board and clips onto a panel with a standard linker. The files and print notes are in hardware/shell.

Front Back
Shell, front Shell, back with the panel contacts

Next to the original Nanoleaf controller (top):

From the front At an angle From the side
Original controller and shell, from the front Original controller and shell, at an angle Original controller and shell, from the side

Credits

The firmware is WLED, with a Shapes usermod adapted from Cptmeme's Nanoleaf Shapes controller for the ESP32-C3 SuperMini. WLED provides the effects, presets and web interface.

MyrikLD's LeafBus documents the panel communication in PROTOCOL.md.

License

The original Releaf hardware and project files are MIT licensed. The Shapes usermod keeps its upstream GPL-3.0 license.

About

Open source, €5 Nanoleaf Shapes compatible controller. WLED based, fully local.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages