-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[unifi] Add support for guest Wi-Fi vouchers #14284
Conversation
Signed-off-by: Mark Herwege <[email protected]>
Signed-off-by: Mark Herwege <[email protected]>
e2306c5
to
740c073
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some style comments.
You could also consider adding an action with the parameters. That would make it possible to more dynamically create the vouchers from rules, and/or create virtual items where the user can set the configuration options that are passed when the rule is triggered.
...ng.unifi/src/main/java/org/openhab/binding/unifi/internal/handler/UniFiSiteThingHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.unifi/src/main/resources/OH-INF/config/config.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Mark Herwege <[email protected]>
@Hilbrand thank you for the quick review. I incorporated your feedback, but did not implement an action yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this feature, looks good to me!
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/unifi-binding-beta-3-2-0-4-0-0/131156/1 |
* guest voucher support Signed-off-by: Mark Herwege <[email protected]>
* guest voucher support Signed-off-by: Mark Herwege <[email protected]>
* guest voucher support Signed-off-by: Mark Herwege <[email protected]>
This PR adds support for creating guest wifi hotspot vouchers. The PR adds channels to the site thing for showing the next available hotspot voucher and triggering generation for new hotspot vouchers. Channel configuration paramaters allow tailoring the specifications of the vouchers generated.
Signed-off-by: Mark Herwege [email protected]