adding switch between real meters and simulation