UPDATED: Automating Unifi WiFi SSID password changes and QR code generation

There is no reason to continue talking about a sensor from the integration to provide the password in clear text. The decision is taken that is too sensitive.

I understand that, and I will not press the topic further. If you could provide a link to the discussions on that topic (or to the PR), I would appreciate it (I would like to understand better why it was considered too sensitive, because it does appear there is something I am missing regarding the topic).

Edit: I think I managed to find it and the change reverting it . I still would like to read and understand more about the reasoning (the PR discussion only mentions “internal dev discussion”, with no other details), but I can understand if that information is not public.
I also appreciate the fact that @Robban/Kane610 did not simply dismiss the idea out of hand, it was removed only after certain security implications were discussed.

Thank you for the reply, and the suggestions!

Most of it you can see voiced by bdraco in the original PR which after i brought it up in the core member chat for additional feedback which mostly followed bdracos view. Passwords should not be part of the state machine as its hard to control exposure.

I won’t share a transcript from the discussion but Ive summarized the gist of it.

1 Like

@Robban, @bogd, I sincerely appreciate your latest comments on this topic.

I wasn’t aware that this password sensor had already been implemented at a quality level worthy of the UniFi Network Integration (even if it was later retracted)…

Time to learn how to set this PR up as a custom component then. My puny solution looks so hacky and ridiculous now, I can’t help but laugh at myself :rofl:

Thanks again folks!

2 Likes

Hi @ozoidemi , did you manage to get it back with a custom component ?

Sorry for the delay.

Regretfully, no. I realized I wasn’t going to have a lot of time, so I posted my original project without the custom component.

Far from perfect but it works.

it took me a while but here is the update.

In the end, I didn’t use the Unifi integration. It is technically brilliant, but it’s too strict in terms of what a good password is for your guest network. Instead, I interact with Unifi directly via the API.

The funniest part of this entire discussion is that the answer to this ridiculous “problem” was posted in the very first post I made that started this thread.

Mind boggling how many people choose to reinvent the wheel instead of scrolling up. Lol

Not really. Your solution isn’t good enough for several people. Otherwise we would have taken it.