There is one interesting problem. I have not confirmed when/what causes this but when dealing with the files directly, meaning using echo to send into delay_on/off for example, the files eventually disappear. I have tested this on both tp-link and glinet to be true so far.

No idea what condition causes this to happen and only a reboot resets this. I’ll try restarting the led program next time.