mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #56] Setting up the QR-Code functionality (Homeassistant Addon) #26
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0xvisualiris on GitHub (Jan 5, 2025).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/56
Originally assigned to: @glenndehaan on GitHub.
The question
Hello together,
I found this GitHub project and installed the UniFi Voucher Site on my homeassistant as an addon. Everything works really well. But I can't figure it out, how to enable the QR - Code functionality. Maybe I missed it in the docs or something like that. If anyone can help me, would be really nice!
cheers
@glenndehaan commented on GitHub (Jan 5, 2025):
Hi @0xvisualiris,
The QR codes are used within the Email and Print functions (So within the UI they are not displayed). If you have one or both setup but don't see the QR code then you are probably missing:
Only the
UNIFI_SSIDis required here if you have an Open network. If not then you also need to assignUNIFI_SSID_PASSWORD.Let me know if this works for you.
Kind regards,
Glenn
@aroundmyroom commented on GitHub (Jan 8, 2025):
Tried it today with iOS, I get an QR code, but my iPhone ( (photo-app)) states 'no valid etc.. '
however, when using QR-Reader app I see that it can read the QR code. but it won't auto-connect through the camera option
when using a tool like: https://qrfy.com/ I am able to use the created QR code without password/encryption for the open network.
@aroundmyroom commented on GitHub (Jan 8, 2025):
update: there is an issue for open networks, below sample codes qr.js is working in my environment for open networks
Does work and generates a valid QR for open networks without PWD and encryption is Free, the reason why it failed was that the P variable was not allowed for open networks
WIFI:S:;;;; and not WIFI:S:;;P:;;
In my script I created a variable UNIFI_SSID_PASSWORD = '' so that above could work
@0xvisualiris commented on GitHub (Jan 8, 2025):
Hey @glenndehaan :),
thanks for the fast answer. I configured it with the mail and now I get the QR - Code. Only problem is now, that I got the same error as the other people wrote with "no valid information found".
I also run my guest wifi with the hotspot portal so it's open for everyone. Would be nice if you can dig into it.
Thank you!
Cheers! :)
@glenndehaan commented on GitHub (Jan 8, 2025):
Hi @aroundmyroom,
You are correct it seems that the previous code got merged out when I was implementing the password option for someone else.
@0xvisualiris @aroundmyroom With version 4.5.2 that was just released this should now be resolved.
@aroundmyroom commented on GitHub (Jan 8, 2025):
@glenndehaan no problem, I've updated the code and its working with the git code.
Thanks.
@glenndehaan commented on GitHub (Jan 9, 2025):
Closing this issue since this is confirmed working