How to identify the custom device name through Nanoleaf API or UPnP?
I’m developing a few tools that connect with the Nanoleaf API, and I noticed something confusing. Even though I renamed all of my devices inside the Nanoleaf mobile app, the API still only returns the factory default device name.
For example, instead of my custom room names (hot games), I only see names like “Shapes 4473”.
This happens in both places:
- REST API responses
- SSDP / UPnP NOTIFY messages (
nl-devicenameheader)
From the Nanoleaf documentation, I found this note about nl-devicename:
Could be updated by an iOS user using WAC.
That leads to a few questions:
1. What exactly is WAC?
It seems related to Apple Wireless Accessory Configuration, but it’s unclear how it works with Nanoleaf naming and whether users can still change names this way.
2. Is there another API field for the user-friendly name?
Is there any local API, mDNS property, or hidden endpoint that exposes the custom display name set in the Nanoleaf app?
3. If not, could this be added in future updates?
Useful options would be:
-
nl-devicenameupdated to match the custom app name -
/device_infoendpoint including the user display name - Local API method to read the display name without authentication
Why this matters
For dashboards, smart home tools, and device discovery apps, using friendly names like Living Room Panels is much more useful than default names like Shapes 4473.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare