Controlling a specific device from a smartapp tile (or another device handler tile)


I’d like to control another device’s capability (switch for example) from my device handler (or smart app)
(And show its state on the tile)
How can I achive this ? (where to start from ?)


A Device instance cannot directly control another Device.

You use a SmartApp to subscribe to the Event (such as a Tile press) generated by the first Event, and then send Commands to the second Device.

Generally a Device only receives Events from the real world. A Device, however, can have Commands issued from any SmartApp that is authorized to use the Device. Ideally, the Commands (and Attributes set by Events) are standard ones defined by the Capability(s) claimed by the Device Type.

Please ready everything first…

1 Like