Why roaches move into your electronics in the first place
German cockroaches are thigmotactic — they're wired to seek out tight spaces where their bodies contact a surface on more than one side, and they strongly prefer warmth. A microwave's transformer, a router that never powers down, a refrigerator's compressor housing, and a game console under load are all small, dark, reliably warm voids, which makes them attractive real estate independent of any food source nearby.
This is also why the problem tends to show up in kitchens and entertainment centers before anywhere else in a house: those are the rooms with the highest concentration of always-on, heat-generating devices.

