This study presents a high performance porous graphene–Ecoflex triboelectric nanogenerator, which can be integrated into real-time control switch systems for smart homes to detect trigger signals and control the operation status of smart home modules.