Could it be the sensors were screwed because I was driving under the shade...
It's certainly possible that you have a temperature sensitive intermittent fault. Indonesia is probably a lot hotter than the engineers' offices and testing tracks in China.
If you're keen, you might be able to figure something out using a source of heat or cold. I'd usually use a hair dryer for heat, but you need to be very careful not to damage delicate components in the windscreen and things attached to it, so I'd find something far gentler.
Also possibly something like Rain·x Anti-fog, someone mentioned it recently in
another post. I have no idea if that's available in your area.
I had my other EV's windscreen replaced recently (it's a 2012 Nissan Leaf). They installer was saying that the rain sensors cost around AU$500 (US$320, UK£260, and if Google isn't kidding me, about 5 million Rupiah). We was very worried because he couldn't get it to work on the new windscreen, but said it
might come good in the sun in a few hours. It didn't, but came good about 2 days later, and has been working fine ever since. Windscreens are weird things at times.