I did something similar for my parents remote controlled blinds. I used a Flipper Zero to record the signal sent from the remote and an ESP32 + transmitter to replay the commands at sunrise and sunset.