This came up in the discussion PR #374 . Today you have to create an InfraredSensor object per channel to accomplish this.