Suggestions or Programming Help Please?

nitromax

New member
Hello,

I am under a really big time crunch and I would try to figure this out on my own, but it would take me too long.

I have some Android 13 TV boxes setup to display digital signage (ads) for a number of businesses. I have smart switches setup to turn the TV and Android boxes on every morning and back off in the evening. I am using MacroDroid to auto launch an app that starts the signage (ad) player and monitoring service. Super easy and I have that working fine!

I had a problem with one of the boxes not auto connecting to the internet, so I added a 5 minute wait to the autoboot trigger and then it checked to see if the wifi was connected or not. If it wasn't it would connect to the 5G band if it was available, and if not it would connect to the 2.4G band. That works great too!

However, I am finding that for some reason, throughout the day, some of the Android boxes will randomly go down, meaning they stop serving the ads and I have to turn the smart switches off and then back on so the boxes restart. I'm not sure if there are too many processes running or it's running out of memory, or exactly what's going on. But I can't be watching it all day to restart it if one of them goes down.

What I would like to have someone help me with if possible, is how can I basically strip these boxes down to the bare minimum so that basically only the internet is running, and my 2 apps that run all day are the only ones really running or taking up any memory/processor?

I don't know if this would be a MacroDroid thing or maybe another app? I know you can go into the developer options and limit the processes, but my attempts to do that are not working. I can limit the processes to 4 or below and when I reboot the machine it is set back to Standard.

Can anyone point me in the right direction or is there someway to get MacroDroid to limit all the processes, or even watch for memory or processor overload and then allow me to shut down the apps and re launch them?

HELP PLEASE!!! lol
 
Top