# Sending commands to another device

**URL:** <https://community.smartthings.com/t/sending-commands-to-another-device/257353>\
**Category:** Writing Edge Drivers\
**Created:** [January 26, 2023, 4:45pm UTC](https://community.smartthings.com/t/sending-commands-to-another-device/257353 "2023-01-26T16:45:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [January 26, 2023, 5:09pm UTC](https://community.smartthings.com/t/sending-commands-to-another-device/257353/5 "2023-01-26T17:09:52Z")

</div>

> [@harobinson](#):
>
> That would mean that I would need to be able to send commands to other devices from my driver.

Z wave local scenes were never done programmatically. Something physical happened with one zwave device which caused a command to be sent directly to another Z wave device. It didn’t go through the hub at all, so any edge Driver would be irrelevant. Push a button, another light comes on. But you couldn’t issue a command to make that happen. That’s just part of the Z wave specification.

Anyway, I didn’t want to get too far afield on this, but since you brought up the Z wave possibility, I just wanted to mention it.

I’m pretty sure to do what you want in the SmartThings architecture you need an automation, either a routine, a rule, or a custom smartapp hosted elsewhere.

The only exception I could think of Might be @TAustin ‘s mqtt project, which technically isn’t an exception, but lets you run a smartapp and a broker on a local server. But at least keeps you out of the cloud.

[Integration Solutions using MQTT](https://community.smartthings.com/t/integration-solutions-using-mqtt/245186/)

---

_[View the full topic](https://community.smartthings.com/t/sending-commands-to-another-device/257353)._
