checjking device id and glow status