In Pokémon Diamond, Pearl, and Platinum, the TV in Eterna Forest containing Rotom is located in a small house just south of the forest entrance (Route 205 side).
Steps:
Note: This is a one-time static encounter. Save before interacting. Rotom is Electric/Ghost with Levitate (Ground immunity).