Android Webcam Switch with MQTT Client Tasker Plugin

I just installed the Android Webcam App on my Huawei Tablet. It’s not wall mounted so I just want to use the camera when I am not home. Therefore I made a simple MQTT call via CloutMQTT to the MQTT Client Tasker plugin to start/stop the camera server.
In general this works if the tablet is running, but after some time in standby it does not work anymore.
Does anyone have done something similar, and if yes how are you doing it?
Is there a way in the log to ignore the error messages when the camera is of? Not a big problem I suppose but also not nice to look at :wink: