I am not real clear on what you are trying to do but take a look at Tasker and all of its plugins. It might be a solution or at least give you some ideas. https://joaoapps.com/
Thanks to all, the suggestions mean I have a fair bit of reseatch to do!
To put a bit more detail as to what im trying to do:
I have a firestick in the LAN, which I use connected to a monitor to keep my eye on the cameras. I use TinyCamPro which auto starts when the firestick is powered up (Via monitors USB) which works well. What Im hoping to achive is a automation routine whereas I can control the monitor being on or off, either by shutting down the firestick completly at night (manually powering on in the mornings) OR control the screensaver on the firestick to control the monitors power saving to shut off the screen.
Any suggestions or expereinces gratefully recieved whilst I research the suggestions so far!