A problem with using fixed times for the open/close electronic functions is that friction in the movement mechanism will change the window speed with e.g. temperature, moisture present, dirt on the glass etc. You would also need sensors to detect obstructions (pet's head, kid's fingers etc) and...