1. A method for generating event definitions to identify an event corresponding to an activity, comprising: (a) defining a dynamic event detection architecture; (b) generally specifying an event that may correspond to the activity; (c) processing historical sensor data to detect at least one instance of the event that was generally specified; (d) using modeling language derived from the historical sensor data for the at least one instance to create an initial event definition for the event; (e) using the initial event definition to search the historical sensor data for additional occurrences of the event; (f) based on the additional occurrences of the event that were identified in the search of the historical sensor data, creating a refined event definition; and (g) using the refined event definition to detect an activity corresponding to the event.