# Z-wave question

**URL:** <https://discourse.nodered.org/t/z-wave-question/929>\
**Category:** General\
**Created:** [19 June 2018 15:46 UTC](https://discourse.nodered.org/t/z-wave-question/929 "2018-06-19T15:46:23Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Post date:** [26 June 2018 20:19 UTC](https://discourse.nodered.org/t/z-wave-question/929/22 "2018-06-26T20:19:34Z")

</div>

another info regarding sonoff wifi switches [https://www.youtube.com/watch?v=iyZwcZS7Qu4](https://www.youtube.com/watch?v=iyZwcZS7Qu4)

However you can directly do the same with the modules directly using rules & commands via MQTT without the need of any wiring even without node red or home assistant… anything else…

Regards

---

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [26 June 2018 20:26 UTC](https://discourse.nodered.org/t/z-wave-question/929/23 "2018-06-26T20:26:19Z")

</div>

> [@davidcgu](#):
>
> Understood, I guess you are having sonoff flashed with tasmota or ESPeasy because this is the starting point…, for this purpose is just required that one unit control the light and the other is a dummy device just to use the switch and publish the action, the message can be handled via node red or even directly from one unit to the other without the need of anything else as intermediate.

I write my own code - no Tasmoda, etc. I did figure how I could use the traveler wires to build a 3-way or 4-way switch using a single Sonoff Basic. I may yet, but I wanted to give Z-Wave a try first.

---

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [26 June 2018 20:43 UTC](https://discourse.nodered.org/t/z-wave-question/929/24 "2018-06-26T20:43:57Z")

</div>

> [@hotNipi](#):
>
> Here is 3-way switching with only one sonoff basic

This is how I planned to do it with Sonoff. I already use GPIO14 wired to the original switch and my software just looks for a change from the switch (it's either high or low). The difference is that I switch between +5 and GPIO14 to reduce the noise profile.

Darn, there goes my excuse for experimenting with Z-Wave....

---

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [26 June 2018 20:46 UTC](https://discourse.nodered.org/t/z-wave-question/929/25 "2018-06-26T20:46:41Z")

</div>

> [@davidcgu](#):
>
> I’m not sure why u wanted home assistant for exactly…

I don't want Home Assistant, but I have not found a way to control Z-Wave devices from Node Red without Home Assistant. If you are aware of a way to make a controller using the Aeotec Z-Stick and a Raspberry Pi3 without Home Assistant, then, please tell me.

---

<div class="post-metadata">

**Author:** ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Post date:** [26 June 2018 22:10 UTC](https://discourse.nodered.org/t/z-wave-question/929/26 "2018-06-26T22:10:50Z")

</div>

Steve, don’t waste your time… give a try to tasmota or ESPeasy, any of booth are so well done… that does not deserve to try to do nothing from your own for any sonoff module… believe me.

Regards

---

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [3 July 2018 17:43 UTC](https://discourse.nodered.org/t/z-wave-question/929/27 "2018-07-03T17:43:50Z")

</div>

> [@krambriw](#):
>
> Reason for my statement is simply that HA’s support for z-wave is great, including support for secure z-wave devices. I know that there are nodes for NR supporting z-wave but my experience was that to make it work is too complicated and the support for secure devices felt unreliable. Switching to HA, suddenly everything was functioning as expected.

OK, That's where I wound up. I started from scratch with a new Pi3 and burned the [hass.io](http://hass.io) image. I added SSH, ZWave and Node-Red and after banging my head into the wall many times (no documentation, or documentation written by and for Home Assistant experts), I finally got to where I can turn a light on or off from Node-Red.

Now, I have two Node Red servers running. I will now be migrating stuff from my Raspian Node-Red to my [hass.io](http://hass.io) Node-red.

I am still struggling in the deep end. Can you throw me a lifeline? I'll start another thread since this one has gone so far off-topic.

Steve

---

<div class="post-metadata">

**Author:** ![pvandenbulcke](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@pvandenbulcke](https://discourse.nodered.org/u/pvandenbulcke)\
**Post date:** [6 December 2019 08:49 UTC](https://discourse.nodered.org/t/z-wave-question/929/28 "2019-12-06T08:49:21Z")

</div>

Hello,  
I finally got openzwave on node-red to work on my PI..... finally 🙂  
I have purchased a Aeotec Z-Stick and a 6in1 motion detector from the same company.  
When I click on the action button on the sensor messages get send to to the zwave node giving parameters of the different sensors of the device, so communications is working as it should.

However, the sensor is a mainly a motion detector and I want to use it to detect motion to switch on lights in different sections of the house.  
Now, my problem is, that the sensor does not send any events when motion should be detected... It looks like the sensor goes into a deep-sleep and only responds when I push the action button.

What must I do to ensure the sensor sends motion events when motion is detected?  
Also, how do you send configuration parameters to the device?  
If anybody would have some sample flows to share this would be great?

Does anybody have any experience with this?

Thanks

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [6 December 2019 12:20 UTC](https://discourse.nodered.org/t/z-wave-question/929/29 "2019-12-06T12:20:27Z")

</div>

To set values, you need to use something like:

`{topic:"setValue",payload:{nodeid: 2,cmdclass: 64,cmdidx: 0,value:"Heat"}}`

The `nodeid`, `cmdclass` and `cmdidx` and `value` can be found in the xml file that has been created in your node-red directory.  
It contains all the information from your devices.

---

<div class="post-metadata">

**Author:** ![pvandenbulcke](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@pvandenbulcke](https://discourse.nodered.org/u/pvandenbulcke)\
**Post date:** [6 December 2019 17:28 UTC](https://discourse.nodered.org/t/z-wave-question/929/30 "2019-12-06T17:28:22Z")

</div>

hello thanks for the info

anybody has experience with the aeotec 6in1 sensor regarding responsiveness using node-red?

---

<div class="post-metadata">

**Author:** ![rgerrans](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@rgerrans](https://discourse.nodered.org/u/rgerrans)\
**Post date:** [7 December 2019 16:12 UTC](https://discourse.nodered.org/t/z-wave-question/929/31 "2019-12-07T16:12:21Z")

</div>

> [@pvandenbulcke](#):
>
> anybody has experience with the aeotec 6in1 sensor regarding responsiveness using node-red?

Yes, with the caveat that I don't use OpenZwave (didn't play nicely with me Eaton setup last time I tested it). I've used it with both OpenHab and HomeSeer Zwave tiggering MQTT messages and bringing those into Node-Red turn on lights for motion vents and on/off a fan for high humidity (those going back out over MQTT to trigger Zwave devices). Responsiveness has been good with minimal lag from motion to the light turning on.

[Previous page](https://discourse.nodered.org/t/z-wave-question/929.md?page=1)
