1. A method for communicating with a device, the method comprising: determining, with one or more processors associated with one or more computer systems, a set of calls for an interface associated with a device based on a first XML event received from an application; receiving, at the one or more computer systems, data in response to invoking the set of determined calls to control the device; generating, with the one or more processors associated with the one or more computer systems, a second XML event based on the data and an examination of at least one of a time interval or value condition; and communicating, with the one or more processors associated with the one or more computer systems, the second XML event to the application.