New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add wifi config instead of replacing it when using the UI #401
Comments
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/MANUAL#faq Do you mean like this? |
This is a section I added https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/MANUAL#i-want-to-add-another-wi-ssid-eg-at-a-friend On top there is a "hidden" .sh in the frontend to easily add new wifis the the correct files, just open in browser: < yourphonieboxip >/userScripts.php select the addhotspot.sh and add the atm priority of wifis has to be added manually, but usually only one wifi is at one place so priority is not that important then. Only using your phone as hotspot could be a matter of setting a higher prio, so always your phone beats the other wifi available. More info here: https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/master/scripts/userscripts/addhotspot.sh all this is a fire-and-forget adding of SSIDs so no edit is possible in frontend. |
Hi @gizmo21 |
Hey @MiczFlor didn't want you to do anything with it, you have enough to fix in maincode to get a stable version out. And coincidentally just successfully tested it at the grandparents wifi, by entering the wifi credentials at home with my .sh method and now booted the box at the grandparents and it connected correctly. btw. In frontend now the new SSID shows with hashed psk password instead of plaintext one. |
@gizmo21 did not know about that option - thanks for pointing it out! It pretty much does what my use case would be. Would love to see that being integrated in the "main ui". @MiczFlor My idea around the logic was:
|
addhotspot.sh couldn't be executed on a fresh installation. |
Hi, a friend of my and I recently build a phoniebox. Our version now has not only one Wifi but multiples and even provide them with a priority. Should I create a pull request for the change or should I rather provide the changes separately on GitHub. |
Hi @sikraemer |
Hi @sikraemer |
If I read the code correctly currently when you enter new wifi it will replace any existing, correct?
I think it would be a nice enhancement if the new wifi just gets added to the config and does not replace existing ones. I am happy to contribute the code if that is a feature more people would like to have and if it makes sense to you @MiczFlor ?
The text was updated successfully, but these errors were encountered: