Other Useful Methods

Device Handlers have available to them other APIs for features like scheduling, storing data, and making HTTP requests. While not often necessary for Device Handlers, these features can be useful for certain use cases.


Scheduling

Device Handlers can schedule future executions, just like SmartApps.

You can learn about scheduling in the Scheduling guide.


Storing data

Device Handlers can persist small amounts of data across exections using state, just as SmartApps. Note that Atomic State is not available to Device Handlers.

You can learn about storing data in the Storing Data With State guide.


Making external HTTP requests

Device Handlers can make HTTP requests to third party services, just like SmartApps.