Creating remote version of code using NRF24

What is the distance involved? Have you considered ESP-NOW or LORA?
I would also make the data packet more robust with length, start and end matching CRC.