Help with Setting Up Local Network API on Nanoleaf Shapes (Beginner Question)

Started by dark__tree__905

dark__tree__905

I'm new to Nanoleaf development and just got a Shapes starter kit. I'm trying to get started with the Local Network API and wanted to test basic control through Python. I’ve followed the documentation and got the IP address of the panel, but I’m stuck at the step where I need to generate the auth token.

I pressed and held the power button on the controller for 5-7 seconds, but I’m not sure if it actually entered pairing mode. When I try sending a POST request to /api/v1/new, I get a connection error.

A few questions:

  • Is there a clear way to confirm the device is in pairing mode?
  • Does the controller need to stay on a specific firmware version for this to work?
  • Can I use tools like Postman for this, or should I stick with curl/Python?

Any tips or sample code would be super appreciated. Thanks in advance!
Geometry Dash