Yesterday it was partly cloudy and windy on/off.

It was windy off/on during the night.

It was windy when I went to bed.

It was mostly sunny and windy when I got up.