I see. I thought all it would need would be a Wifi Antenna, seeing as almost any phone or laptop can act as a Miracast sender, but it seems it's more complicated from the receiver side. Then that means that all the proprietary apps either don't work and outright lie that they "act as miracast receivers", or they implement their own protocols?
This is actually something I haven't thought of. I'll check it as soon as they deliver it. :D Although wouldn't switching between HDMI input and miracast be janky, or does it happen automatically?
I got BJCAST working (https://github.com/WirelessPresentation/WirelessDisplay) by installing the BJCastTV.apk on the TV and BJCast-v2.2.2.apk (from the Aug 18, 2021 release) on my phone. It also has windows/mac clients. It claims to also work with Miracast (so the phone app shouldn't be necessary), but I wasn't able to get it running that way. Maybe you'll have better luck. Also it seemed rather laggy to me, and kinda shady too, despite being open-source, it's all in chinese and displays "Trial Version" in the corner.
EDIT: Actually, I read now that it's not FOSS, only part of the code for the demo version is available. Sad.
No, I haven't found such an app yet, all those that claim to do so fail on my device, so I guess they really require something more hardware-side. There are some that work with their own proprietary apps, but I guess they have their own protocols and the performance is not great anyway.