Try the community app Lights On Motion Plus. It probably will be much easier to use. I think it does everything you requested.
It is available to install via Github, but I would suggest the Hubitat Package Manager instead. It is a much easier way to install and maintain apps.