A high-performance flexible TENG was designed using a biocompatible pectin polymer and a high-dielectric SBTO–PDMS composite. The device supports the development of IoT-enabled next-generation fire alarm systems for advancing sustainable electronics.