Just read about this in Linux Voice…
tl;dr: RasPI module to control mains sockets.
It’s a shame that their entire range is limited to 4 separate channels as I’ve had to use more than that with “manual” remote controlled sockets in the past (different frequency selector) – and it’s not impossible that the neighbour
could buy the same system (which would make for an amusing time…)
But… I see my plans for a fully automated house coming slightly nearer…
(Note: There’s no fancy program to control this… it’s down to you to use the example in the manual to make your own program(s))