# Send the Z-wave "basic on" and "basic off" from a flow? Or with Homey Script?

**URL:** <https://community.homey.app/t/send-the-z-wave-basic-on-and-basic-off-from-a-flow-or-with-homey-script/20019>\
**Category:** Questions & Help\
**Created:** [October 31, 2019, 6:10pm UTC](https://community.homey.app/t/send-the-z-wave-basic-on-and-basic-off-from-a-flow-or-with-homey-script/20019 "2019-10-31T18:10:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [October 31, 2019, 6:10pm UTC](https://community.homey.app/t/send-the-z-wave-basic-on-and-basic-off-from-a-flow-or-with-homey-script/20019/1 "2019-10-31T18:10:21Z")

</div>

Hi,

Is there a way to send a “Basic On” and “Basic Off” from a flow? I know I can send raw ZWave commands through the flow, but I don’t know what to send. Is it a specific commend per type of device? Or a generic code for all devices?

Thanks in advance,

Cheers,  
/Cactus

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [October 31, 2019, 7:21pm UTC](https://community.homey.app/t/send-the-z-wave-basic-on-and-basic-off-from-a-flow-or-with-homey-script/20019/2 "2019-10-31T19:21:57Z")

</div>

The placeholder/example (0x20, 0x01, 0xFF) in the send raw z-wave command flow card is already the “Basic On” command, if you want the off signal change the `FF` into `00`.

This is the same for every device. (Not all will respond if they are configured by the manufacturer for secure devices to just accept the secure basic on/off command).

Device = the “Node ID” above it, there is no way to use only 1 card for all devices.

It is btw not possible with Homey script, Homey script doesn’t have enough permissions for that.

---

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [October 31, 2019, 7:50pm UTC](https://community.homey.app/t/send-the-z-wave-basic-on-and-basic-off-from-a-flow-or-with-homey-script/20019/3 "2019-10-31T19:50:21Z")

</div>

Thanks for the info. /me goes tinkering 🙂
