We discuss a new approach to patients' adherence to enhance to their medication-taking regimen by developing a context-aware alerting system that would optimize the expected utility of alerts. Each patient's instantaneous context is assessed using a real-time sensor network deploying a variety of sensors. The alerts are generated to optimize the expected value to the patient. This paper is focused on the initial assessment of the utility of alerts, including the tradeoff between effectiveness and annoyance.