Power-operated mechanisms for wings with automatic actuation using wireless control using light beams