To start simple.
A cheap rotating anemomerter and wind vane from ebay ir aliexpress.
An SD card to store data.
ESP or WiFi micro to get time from the internet or use an RTC
I have an ESP8266 with RTC and SD
Another choice is big batteries or sleep mode.