A two-step machine learning approach for predictive maintenance and anomaly detection in environmental sensor systems | Synapse