Skip to content

Unable to add the same device twice with different addresses (Local IP vs. DDNS) #62

@Moustachauve

Description

@Moustachauve

In the previous version of the WLED app, it was possible to add the same physical device to the list twice using different addresses: once via Local IP (for speed/reliability at home) and once via a Dynamic Domain/Port (for remote access).

In the new version, attempting to add the device a second time with a different address overwrites the first entry. The app now uniquely identifies devices by MAC address, preventing multiple connection paths for a single controller.

Steps to Reproduce

  1. Open the WLED Android app.
  2. Add a device (or allow auto-discovery) via its Local IP (e.g., 192.168.x.x).
  3. Attempt to manually add the same device again using an External Address/DDNS (e.g., mywled.dyndns.org:80).
  4. Observe the device list.

Expected Behavior

The app should allow the creation of two distinct entries for the same device (or allow a single device to have multiple fallback addresses), preserving the ability to connect via Local IP when at home and DDNS when away.

Actual Behavior

The app detects the device is the same (likely via MAC address check) and overwrites the existing Local IP entry with the new External Address (or vice versa), making it impossible to keep both connection methods saved simultaneously.

Context / Use Case

  • Local IP: Used when at home for faster load times and higher reliability.
  • DDNS: Used for external access when outside the local network.
  • Impact: Users currently have to manually edit the host address every time they switch between being at home and being away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions