Alarm now has auto_now_add for time. Refactor measurement post. Implement create_alert_if_abnormal. Test post measurements.