Added reset counter sensor
also added ms1 init to z1 platform