I don’t understand this code thing. The units made in the last few decades use a rolling code. The last time I heard of a code being used was when my dad installed a GDO in 1974.
What is being used in TV? Not your standard LiftMaster or Genie or Chamberlain?
A neighbors code could be the culprit. About 10 yrs ago I had a problem with my fireplace coming on (fireplace has a remote control) unexpectedly. I suspected ghosts but it was more benign. When the neighbor across the street would open their garage, my fireplace turned on. I told the neighbor about it. He must have done something because the problem was fixed.
Builder uses romac. Up to you to remove and use different brand