Self-powered Attiny13 with 2N2222

Good to hear that it is working.
Thank you for posting the final solution.