Hey there! I have not pushed this project further yet - there were numerous other projects waiting for my attention. But I would still be very interested in this! If you get it working, would be great if you’d let me know.
So basicly you teach me and i teach you
As i did not start the project so far, but what i found out is, the part missing for you.
You generate a rtsp stream on your raspberry and than feed that into homeassistant via Generic Camera - Home Assistant (home-assistant.io) or you use a system like frigate and use than the integration in HA.