MIAMI -

The only problem Miami Heat coach Erik Spoelstra had with Monday night's 102-96 victory over the Detroit Pistons at AmericanAirlines Arena was with himself.

Spoelstra got a game-high 30 points, 10 rebounds and five assists from guard Dwyane Wade, but there was another number he was not too happy about.

"The only knock was on me -- I ended up playing him 37 minutes," Spoelstra said of Wade, who has battled knee soreness this season and was recently rested for four consecutive games.

"I would have liked to keep his minutes a little bit down, but I just couldn't take him out in the fourth quarter. He was in such a great rhythm."

Wade made 13 of his 19 shots from the floor -- including 1-of-1 from 3-point range, which is not his forte -- and 3-of-4 from the foul line.

"I was very aggressive from the start," said Wade, who had nine points in each of the first two quarters.

Many of his baskets came off of passes from forward LeBron James, who nearly had his first triple-double of the season.

After three quarters, he had 22 points and 11 assists and needed just two rebounds for the triple-double. But those boards never came as he finished with 24 points, 11 assists and eight rebounds.

Yet, in two instances in the fourth quarter, it appeared that James would get the rebounds that ultimately went to teammates -- Wade and guard Ray Allen.

"I think LeBron is working on the all-time record for near misses on triple-doubles," Spoelstra joked.

Turning serious, Spoelstra said the rebounds for most of the night were so "hotly contested" that James' teammates could not leave those caroms to chance against Detroit's physical front line.

"They weren't trying to steal rebounds," Spoelstra said of James' teammates. "The ball just happened to drop to them. But as long as LeBron is playing good basketball, that's all I care about."

Detroit won the rebound battle 51-44 but trailed by 15 points with 3:41 left to play. The Pistons scored the game's final six points to make the contest appear closer than it was for most of the game's final minutes.

"I think we matched their intensity," Pistons forward Josh Smith said of the Heat. "They are the world champs -- we have to play almost perfect (to beat them)."

With the win, the Heat (34-17) avenged one of their four home losses this season. Detroit won in Miami 107-97 on Dec. 3.

Detroit (19-28) had its two-game win streak snapped and lost ground on idle Charlotte (21-28), which currently holds the eighth and final playoff spot in the Eastern Conference.

Miami forward Chris Bosh added 17 points and seven rebounds.

Detroit was led by guard Brandon Jennings, who had 26 points and seven assists.

The Pistons got 17 points and 11 rebounds from forward Greg Monroe. Pistons center Andre Drummond also had a double-double -- 12 points and 12 rebounds.

The Heat led 32-29 after the first quarter. Smith missed his first five shots, and Drummond played just two minutes after picking up a pair of quick fouls. But Jennings' 13 points in the quarter kept Detroit in the game.

Miami led 63-57 at the half, outshooting Detroit 52 percent to 38 percent. The Pistons were issued three technical fouls in the period -- to coach Maurice Cheeks, Smith and Monroe -- as the Heat led by as many as 12 points.

"Referees are part of the game," Cheeks said. "You have to learn how to deal with it. ... I thought we did that for the most part."

Detroit won the third period, cutting Miami's lead to 84-80. Perhaps that had something to do with the fact that Drummond played all 12 minutes and did not pick up his fourth foul. He had four points and an impressive nine rebounds in the quarter.

"In the second half, I thought Andre learned how not to pick up those fouls," Cheeks said of Drummond.

The Pistons picked up a fourth technical in the fourth quarter, but this one was split between Jennings and Heat guard Norris Cole, both of whom did a bit of pushing at each other.

NOTES: The Pistons entered Monday ranked first in the NBA in offensive rebounds (14.6) and second in points in the paint (51.7). That is what happens when you start a front line that features 6-10, 270-pound C Andre Drummond, 6-11, 250-pound F Greg Monroe and 6-9, 225-pound F Josh Smith. ... Drummond leads the NBA in offensive rebounding and has a career-high 34 double-doubles, which ranks second in the league. He is also third in the league in field-goal percentage and overall rebounding. ... Heat F Chris Bosh shot over 50 percent in four straight games before a 2-of-11 game against the Knicks on Saturday. ... Heat F LeBron James has spoken out a few times lately about how Miami's decision not to re-sign G Mike Miller after last season has negatively impacted the team. Miller was allowed to leave due to luxury-tax issues. ... Next up for the Heat is a six-game road trip that begins Wednesday against the Los Angeles Clippers. ... Detroit's two-game road trip ends Wednesday at Orlando.