Text this: Intelligent Photonic Sensors for Application in Decentralized Wastewater Systems