Tracking Injections for Diabetic Cat

I recently did a somewhat similar project using a Wyze contact sensor with our HVAC filter. (Sensor for tracking when HVAC filter is due to be changed) I’d love to hear more about how you set this up. Are alerts just triggered on each use, or do you have a time aspect as well? How are you tracking the time of the visits/counting the number of visits on your card?