updating NodeFly example code with multi-gear monitoring support