I used an app called MacroDroid to turn on screen and start picture presentations in certain times on my mi box. But it seems that after last update app is never able to fire on time and turn the screen on and that's because time trigger doesn't work. Even if you install normal alarm clock app and set alarm you will found it will not fire in time and it will fire only after I turn screen on manually. I have disabled battery optimizations for these apps but it doesn't help. Anyone knows how to disable these kind of power optimizations Xiaomi enforced into the system? These kind of apps are unusable with this.
The Mi Box S is a Streaming Device that's meant for 99% of the users to run one app at a time. As its HW is quite old, I guess they need to be agressive with killing apps.