Hi, Wifi nomader...
Depends what "subcription" you plan to offer !
I would start looking directly in the Wifi Router features and software that comes with.
That is your best play !
You may find that some models offering a HotSpot managing feature comes with all what you want/need out of the box and this will save you all the coding headache beside, this is from farrrrrrrrrrrrrrrrrrrrrrrrrr the best way to go.
Else....
if you start with a regular non hotspot ready router, and lots of coding test ahead... !
Most all routers include a setting page with a basic Black list users so that one can restrict access to anyone added to the list.
...but these black list needs to be manually modified which you practicaly want to avoid doing manually I beleive !
So I guess you would have to use the router as website manager access point.
It seems to me that you would have to code the following in order to reach that goal :
- Code to Access the Router IP address and Login/logoff. (guess that this is quite easy)
- code to move between pages... and fields...
- Code to find and retreive the "new user Mac address" on the guest network !
( this guest network would be like a free open access network but with limited/no internet access;
*it would just be used to see connected devices (MAC ad?) info to it)
- code to then copy past this Mac Add. to the other "Paying Members" wifi network White list.
- Copy/past that very Mac address into your LC App. table too...
(you d have to confirm with the user that the Mac is the right one probably)
- Start a timer countdown for this Mac address. for X minutes in your App Table...
Once time is over...
- Code to have your App adding the Mac Ad. to the other Router Black list while removing it from the Router white list.
and voila, your app can almost manage your weird users !
USUALLY, as soon as a Mac address is added to a router Black list the blocking is instantaneous.
no need to reboot or interupt other connected users...
*make sure about that before buying any router.
Code a bit more to have a new WIFI password generated each day...restrains previous users from hacking !
Good practice involves,
deactivating the WDS access on the router.
using a stronger Router password than "i'mzeboss123"
connecting to your own router using cable.
PS: there is probably some free/pâid Opensource Firmware that can be installed on some Routers model and are including hotspot features.