Banana pi M3 display switcher

Hi. I want to build my own magic mirror project. I have already installed it, but it not a powersaver. I want to control the display by my voice or any motion. Does anyone know how i can do it? I would be so grateful:)