Luke was in Tuskan Raider territory when when he got punked. And he wasn't trying to use his knowledge of the terrain.
But spelling things out for you, you are aware that Rey didn't walk everywhere? She had
her own speeder. You also remember Finn told her to stay low because it messed up their tracking. That meant that Rey was flying the Millennium Falcon as if it was a speeder (in other words a type of vessel she flew every day) over terrain she flew over every day in a way she flew every day that the TIE fighters were ill-equipped to handle.
But that's not when the home ground advantage really kicked in. She led them first to and then through the bowels of the wrecked Star Destroyer that she spent every day looting in order to earn money. She knew where all the cover was and where the surprises were - and because of the fact she not just knew them but had been shown to know them (she didn't just walk round there, she speedered, and even climbed and abseiled onscreen) she had a significant advantage in how well she was able to use the terrain. And even with that advantage the Falcon took a number of hits, including locking out the quad laser and forcing her to push her knowledge of the terrain to the limit (rather than Finn going for the other quad laser, but possibly it wasn't repaired and possibly he would have been flung everywhere). So yes, home ground advantage in ways that were explicitly set up by the film.
[video=youtube;8sarFZJl3h0]https://www.youtube.com/watch?v=8sarFZJl3h0[/video]
And you'll notice that the Falcon took a number of hits - and how much bigger it is than the TIE fighters. Also TIE fighters might
or might not have had a home ground advantage over Lando Calrisian; had they done operations in the center of the Death Star? I doubt it.
It baffles me just how much of what actually happened onscreen gets ignored by people in an effort to find criticisms of the new trilogy.
Darth Emo is the second most compelling villain in the entire Star Wars trilogy (and far more compelling than e.g. the Trade Federation, General Grievous, Count Dooku, Darth Maul, the more or less content free Boba Fett, or even Jabba the Hutt who was basically a miniboss). In third is Palpatine - and there's no one else in the same league. And being the second most memorable and compelling villain in a series that includes
Darth Vader is quite an achievement, especially when you need to acknowledge Vader but can't make a retread. He won't win - but did you really expect the bad guys to win Return of the Jedi? On the other hand through a mix of malice and power he can potentially cause a vast amount of damage. He's going down but it won't be easy. And with the death of caffeine-free diet Palpatine he's off the leash.
And seriously, connection between Luke and Vader? It took them almost two films to get one with an ass-pull; "Luke, I am your father" wasn't in the original plan at all. But then Star Wars as written by George Lucas is a very bad film and one of the few films that editing can literally be said to have saved.
[video=youtube;GFMyMxMYDNk]https://www.youtube.com/watch?v=GFMyMxMYDNk[/video]