Motion eye: how to create switch off at night

Hi all,
I am new in camera integration, and I recently opted for MotionEye. It integrated very well (so far) 2 cameras, and I plan to insert two more.
One of the things I struggle to do is switch off the devices using a service by having a switch on/off.
I have tried it all I could find within the last hours in vain.
Where can we find the whole list of commands supported by motioneye on port 7999 ? A few examples are given such as obtaining a status (i.e. http://10.0.0.120:7999/1/detection/status), but what I would like to do is stop the video completely during some hours at night.
Has anyone done this?

Best regards, Felix

Just in case somebody is searching for the same, all commands on MotionEye add-on are available in the following link: https://motion-project.github.io/motion_config.html.
I couldnt find a way to stop precisely one camera and then restart it, for now I have used a call service of hassio to turnoff the addon. In effect it stops all cameras at the same time and shuts downs the camera sensors as well, but this is what there is right now.

Best of luck to anytime,Felix

2 Likes