travisghansen / hass-opnsense

OPNsense integration with Home Assistant
194 stars 25 forks source link

[FR]: Create Voucher in CaptivePortal #89

Open Riza-Aslan opened 1 year ago

Riza-Aslan commented 1 year ago

It would be awesome to have a button in HASS to create a new voucher in the captiveportal. I had a working solution, where I could set a name and a password for the voucher. But I had to change some files inside of opnsense in order to get it work like this. And I had to repeat it with every opnsense update. The best solution would be, to have a possibility to create new voucher-groups (for example a vouchergroup for every guest) and then vouchers inside of these groups. And opnsense should tell HASS the username and password for the new created voucher, so that it can be viewed in lovelace.

Do you think this would be possible?