Problem with controlling a motor from OSMC