How to automatically fix lighting conditions in different shots in a timelapse?
There are plugins that adjust exposure over time to reduce flickering in timelapses - GBDeflicker works well. (But it won't change night to day or anything like that).
See also:
Correcting exposure flickering in time-lapse footage &quot;in post&quot;