The cultural capital of Java, Yogyakarta is home to the Sultan's Palace (Kraton) and remains a functioning sultanate — the only one officially recognized in the Indonesian republic. It sits between two of the world's great monuments: the 9th-century Buddhist temple of Borobudur and the Hindu temple complex of Prambanan, both UNESCO World Heritage Sites.
Nights sit around 23°C and afternoons around 30°C.
Yogyakarta barely changes season: afternoons sit around 30°C and nights around 23°C most of the year.
There is a clear wet season from November – April, peaking in January with around 292 mm. The dry months run from July – September.
Wind is rarely an issue; most months sit between calm and a light breeze. Air quality is worth watching: November averages an AQI of 122, while July clears to 83.
Daylight is steady all year, around 12.0 hours a day.
For what you're after, the best months in Yogyakarta are April – October. Expect fast internet (61 Mbps) and a low cost of living (about €500 a month).
Affiliate links: if you book through them I earn a small commission, at no extra cost to you.