Hi,
I don't know about other simulation distances but to my experience with mob farms at simulation distance 4 I know that no mob is allowed to spawn closer than in 16 blocks radius (including Y axis consider it a sphere).
I would recommend to search for possible spawning not only around your house but also above and bellow.
Can't get it to work? Tame a Cat, breed more, and place strategically around your house (I used this almost every new game as I don't usually construct anything before proper Mending tools)
Edit after attempts:
I tried to recreate what you are trying to do and came across this:
/give @p frame 1 0 {"Entity_Tag": {"Invisible":1}}
and received Entity_Tag is not supported note
For your information, a redstone lamp powers on instantly but, i requires 2 redstone ticks to power off (source: gamepedia.com). It would be easier for you to understand with practical example:
This picture shows a simple clock used in a number of 0-tick based farms. Just play around with the tick delay of a redstone repeater in the middle and watch what happens.
Hi,
I had a similar issue long time ago and I was saved by a Realms' auto backups - have you checked yours?