Calibration working again. Alerts for sensors and output separated.