web: fix color selection on graphs by using mod 255, iteration on sensor ids in groups when fetching data