A time depending variance for a shock

Unfortunately, that is not so easy. What you have in mind amounts to a “structural break” in the Kalman filter. See my reply at Estimation With Structural Break In Shock Processes
Supporting this is still on our to-do-list, see http://www.dynare.org/DynareWiki/SubsamplesEstimation