Automatic control of the motor for opening and closing the curtains and the roller shutter drive with delay on/off; scenarios. Manual control function, status feedback, motor adjustment range set, when the bus power is lost, the motor position is set; and other functions.