Skip to content

Feature request: Password protection of adding lights to app #596

Closed as not planned

Description

@fribse

Hi Aircookie

The 0.9.0-b1 is performing very well here. Very smooth.
I had an idea, because I've now added some LED's to my youngest desk, and as some features are not controllable through the IKEA remote I've given him, he has to have the WLED app installed.
This in itself is not a problem, everybody can just download it, but it is a problem that he (and others) can add our lights to their app, and create chaos for us (if they have access to our Wifi of course).

Thus I would very much like to have a password protection or the like, built in to the code, so that you have to give the password in the app to be allowed to add it.

This will eliminate the problem of him (and others) making funny effects with the other wled's in the house.

My thought was that you could set the password during the initial setup, and then to be able to add it to the app, you would have to enter the password as well.

Activity

  1. Aircoookie commented on Jan 21, 2020

    @Aircoookie
    Member

    Hi!
    I am glad that you like WLED!

    It would probably be a good idea for me to implement one of the following at some point:

    • Password protection for UI
    • API key system so that you need to approve any new client device before it may control the light
    • Limited accessibilty, e.g. only from certain white-listed IPs

    What you could do for now though, is after adding the light to every app you want to control it from, clear the mDNS field in WiFi settings. This will make it impossible for the app to discover the light (you can still add it manually by IP though)

  2. fribse commented on Jan 22, 2020

    @fribse
    Author

    An API key system would be perfect, but might also be overkill :-)
    I guess White-listing and PW protection would be the low-hanging fruits.
    Ok, good to know. I'll do that to start with, as the other lights are already present, and connected to HA.

  3. linked a pull request that will close this issueFull blazoncek fork merge #2610on Jul 12, 2022
  4. blazoncek commented on Jul 12, 2022

    @blazoncek
    Contributor

    #2610 has a PIN code as a protection mechanism for changing Settings.

  5. blazoncek commented on Jul 26, 2024

    @blazoncek
    Contributor

    Closing this issue as it is directed to the WLED mobile app which has its own repository (unfortunately abandoned at the time of writing).
    There is alternative mobile app by @Moustachauve with some advanced features.

  6. Moustachauve commented on Jul 26, 2024

    @Moustachauve
    Contributor

    I feel like having a pin for settings was a good first step, but it seems like the real request for this bug would be to have the API and user interface be password protected so that someone with a "rogue" app can't start turning on and off all their lights.

    Even if I wanted to implement this in the app, I would need a way to ask the controller if I have the correct pin or something like that.

    I don't know if it's a feature we want to have though. I can see how it can be useful for some cases, but it would add quite some complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions