I used to have a surepet catflap. Unfortunately it is cloud based, but it worked pretty well most of the time. It has pretty detailed logs and can set things like curfew times via nextcloud home assistant
I think, there is a hack to get it to run locally, but I didn't try it.