# Zwave js nodered

**URL:** <https://discourse.nodered.org/t/zwave-js-nodered/76337>\
**Category:** General\
**Tags:** node-red-dashboard, function-node\
**Created:** [9 March 2023 08:57 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337 "2023-03-09T08:57:16Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 08:57 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/1 "2023-03-09T08:57:16Z")

</div>

hello,  
I create a program in NODE-RED (zwave js) to pilote my air conditionner  
I filled the IR code but the remotec zxt 600 don't receive the signals from nodered.  
Thank you

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 March 2023 09:05 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/2 "2023-03-09T09:05:47Z")

</div>

Hi @daak

can you provide a little more detail?

- what's the name of the node you are using?
- what command are you sending to your zwave device
- is the device paired and interviewed

---

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 10:25 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/3 "2023-03-09T10:25:21Z")

</div>

I use Zwave controller.  
It's an automatic program, the remotec send a signal ( for exemple on at 6h and Off at 7h) to the air conditionner.  
I create a dashbord with manuel commands ON/OFF and automatic commands ( ON AT 6h and OFF at 7h) but it doesn't work.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 March 2023 10:40 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/4 "2023-03-09T10:40:35Z")

</div>

1 down, 2 to go

- what command are you sending to your zwave device (please paste exact command)
- is the device paired and interviewed

is the device even awake - does it have a sun icon?  
you are not giving us enough information to work with

---

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 12:32 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/5 "2023-03-09T12:32:51Z")

</div>

I create a dashbord with 4 Botton ON, OFF, HEAT and COOL connected to a zwave cmd factory connected to a zawve device( mode multiple nodes) and finaally a debug node

---

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 12:35 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/6 "2023-03-09T12:35:40Z")

</div>

![20230308_165700](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/e/5ef4a235a53d00565d86f5c81dad5587ad429051.jpeg)

---

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 12:38 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/7 "2023-03-09T12:38:37Z")

</div>

when i deploy i receive this message

 ![20230309_133641](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/2/522e35ce8bb7b7e549ac0878ae8b56413f6bc875.jpeg)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 March 2023 13:18 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/8 "2023-03-09T13:18:51Z")

</div>

I see in your screen shots (any reason they are photos?)

- Node 5 not ready
- Serial disconnected

Therefore

- You have either a bad USB connection
- and / or Node 5 is not yet interviewed

Please do the following, before I continue

- Check the USB/serial connection is not going bad
- check node 5 has been interviewed (check the UI for a thumbs up)
- check its awake in the UI
- Please send me what EXACTLY your CMD Factory is setup like (including the payloads you are sending it)

or better yet, paste your flow export here.

---

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 14:04 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/9 "2023-03-09T14:04:56Z")

</div>

![20230309_145057](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/1/11a93757d6719c292d9c1e130567ba203dbc95e6.jpeg)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 March 2023 14:35 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/10 "2023-03-09T14:35:43Z")

</div>

What `payload` are you sending to the CMD Factory node.  
you can see it needs to evaluate to an array `[]` (its JSONata)

So, on the basis you are using `payload`, you send this to it

```auto
{
    payload:["Off"]
}

```

OR anyone one of these values

```
"Off" = 0x00,
"Heat" = 0x01,
"Cool" = 0x02,
"Auto" = 0x03,
"Auxiliary" = 0x04,
"Resume (on)" = 0x05,
"Fan" = 0x06,
"Furnace" = 0x07,
"Dry" = 0x08,
"Moist" = 0x09,
"Auto changeover" = 0x0a,
"Energy heat" = 0x0b,
"Energy cool" = 0x0c,
"Away" = 0x0d,
"Full power" = 0x0f,
"Manufacturer specific" = 0x1f,

```

Next  
You Say this is connected to a device node set to **Multiple** , but you may still need to set the node  
(else it will address a multi cast to all nodes you have selected - you need to select at least 1)

so in your case set topic to 5

overall your `msg` to the CMD node needs to be

```auto
{
    payload:["Off"],
    topic: 5
}

```

And ensure the node is awake (sun in the UI with a thumbs up)

may I suggest you give this a read.

[Getting Started · zwave-js/node-red-contrib-zwave-js Wiki (github.com)](https://github.com/zwave-js/node-red-contrib-zwave-js/wiki/getting-started)

---

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 14:41 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/11 "2023-03-09T14:41:10Z")

</div>

Thank you  
but i need to sent command to 20 devices(remotec ZXT 600)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 March 2023 14:45 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/12 "2023-03-09T14:45:44Z")

</div>

OK - Ensure that all 20 nodes are selected in the device node list, and your throttle isn't to light

---

<div class="post-metadata">

**Author:** ![daak](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@daak](https://discourse.nodered.org/u/daak)\
**Post date:** [9 March 2023 15:08 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/13 "2023-03-09T15:08:01Z")

</div>

This list but i can't select all nodes

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/5/45afe68395ed51f32c2122e9eac2878825f52b7a.jpeg)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [9 March 2023 15:12 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/14 "2023-03-09T15:12:07Z")

</div>

CTRL + left mouse click in windows or SHIFT + left mouse click to select in a row

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 May 2023 15:12 UTC](https://discourse.nodered.org/t/zwave-js-nodered/76337/15 "2023-05-08T15:12:46Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
