# Help getting started with HomeyScript, specifying node id

**URL:** <https://community.homey.app/t/help-getting-started-with-homeyscript-specifying-node-id/33383>\
**Category:** Questions & Help\
**Tags:** homeyscript\
**Created:** [August 8, 2020, 9:16am UTC](https://community.homey.app/t/help-getting-started-with-homeyscript-specifying-node-id/33383 "2020-08-08T09:16:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ragnar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ragnar/32/18145_2.png) [@Ragnar](https://community.homey.app/u/Ragnar)\
**Post date:** [August 8, 2020, 9:16am UTC](https://community.homey.app/t/help-getting-started-with-homeyscript-specifying-node-id/33383/1 "2020-08-08T09:16:10Z")

</div>

Im trying to learn HomeyScript. Ive found [https://apps-sdk-v2.developer.athom.com/tutorial-Z-Wave.html](https://apps-sdk-v2.developer.athom.com/tutorial-Z-Wave.html) and Im trying to build on the basic example from there.

```auto
node.CommandClass.COMMAND_CLASS_BASIC.BASIC_SET({
  "Value": true
})
  .catch( this.error )
  .then( this.log )

```

How do I specify node id in this example?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [August 8, 2020, 9:41am UTC](https://community.homey.app/t/help-getting-started-with-homeyscript-specifying-node-id/33383/2 "2020-08-08T09:41:40Z")

</div>

The documentation you’re referring to is the SDK documentation, which is limited to apps (so if you want to use any SDK methods, you need to write a full app).

Homeyscript uses the [WebAPI](https://developer.athom.com/docs/api), and specifically, the [HomeyAPI](https://developer.athom.com/docs/api/HomeyAPI.html) (which is available from Homeyscript through the `Homey` global variable). You can’t write device drivers in Homeyscript.

---

<div class="post-metadata">

**Author:** ![Ragnar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ragnar/32/18145_2.png) [@Ragnar](https://community.homey.app/u/Ragnar)\
**Post date:** [August 8, 2020, 4:46pm UTC](https://community.homey.app/t/help-getting-started-with-homeyscript-specifying-node-id/33383/3 "2020-08-08T16:46:19Z")

</div>

Thanks! Very clarifying. My bad.
