The GREATS H β + [O III] luminosity function and galaxy properties at z < 8: walking the way of JWST