# \[NODE-RED\] zwave-js-ui et volet roulants ZMNHCD1

**URL:** <https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589>\
**Category:** Tutoriels\
**Tags:** zwave, mqtt\
**Created:** [October 11, 2021, 1:40pm UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589 "2021-10-11T13:40:10Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [May 4, 2022, 10:47am UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/21 "2022-05-04T10:47:12Z")

</div>

That works perfectly. Thanks again @VonOx

I think I’ve understood my mistake — actually I thought zwavejs2mqtt also created an MQTT broker when in fact you have to use an existing MQTT broker. When I saw the config of your Node-RED flow with 2 MQTT

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 11, 2022, 9:20am UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/24 "2022-10-11T09:20:50Z")

</div>

@spenceur, just a question: did you create your MQTT server 192.168.1.30 on port 1885 beforehand?

zwavejs2mqtt doesn’t create an MQTT server, so I think that’s your problem.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 11, 2022, 9:46am UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/25 "2022-10-11T09:46:04Z")

</div>

For me, 2 solutions:

- either you deploy a new MQTT container on port 1885 (or another free port) and dedicate it to zwave2mqtt, like what is done when you enable the zigbee2mqtt integration. This integration adds 2 containers if you’ve already noticed! One for z2m and the 2nd for MQTT on port 1884.

- or you use the same MQTT server as Gladys, for example.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 11, 2022, 9:48am UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/26 "2022-10-11T09:48:55Z")

</div>

Oh yes, and another thing — I hope you’re not using your password everywhere, because we all know it now!

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [October 11, 2022, 12:17pm UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/27 "2022-10-11T12:17:27Z")

</div>

Oh damn, it was a password for my local environment 😃  
Thanks for the info @_Will_71  
However, I configured Gladys’s MQTT server in zwavejs2mqtt (I must be dumb but I don’t see anything in the logs nor in MQTT Explorer ^^')

EDIT :  
Well, I don’t know why but Gladys had crashed after a restart — it’s ok now  
so I’m continuing my migration then

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [October 11, 2022, 5:50pm UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/28 "2022-10-11T17:50:37Z")

</div>

So, quick note: I know how to retrieve the info but I don’t know how to send commands to my devices 😃 Do I just publish to the same topic I’m subscribed to?  
(I’m trying to migrate an fgd-212 for now ^^)

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 11, 2022, 7:57pm UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/29 "2022-10-11T19:57:21Z")

</div>

For my part I can read the current value and write to targetValue

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/5997811ea84108ffa18ead4645ae548d3c0a9c70.png)

With the commands in Node-RED

To read:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/5d1985f8505a8b18d2563685ac6839a690d4bfd5.png)

To send a command

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/f/f5336ff3636ab7e51821026d6f2e15abb0e98a09.png)

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [October 11, 2022, 8:40pm UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/30 "2022-10-11T20:40:30Z")

</div>

Thanks for your help 🙂

here’s what I have as a topic :

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/c0a1c1d5bfbd84db295205594b9241b4ef7f4eab.png)

I’ve tried changing the targetValue, but nothing changes 😕

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/c28954f69d52a7ab6f8ea4e9cbda92f9f7075332.png)

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 11, 2022, 8:57pm UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/31 "2022-10-11T20:57:24Z")

</div>

What are you controlling it with? Is it ON/OFF? Have you tried with the On and the Off by setting them to false, for example.

Here, for example I have a module for a shutter and I have several options.  
Either I can modify the targetValue or I can change the state of Up and Down  
![image|368x119](upload://tp0gVvdpJsdHk4IHhZhK

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [October 11, 2022, 9:30pm UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/32 "2022-10-11T21:30:22Z")

</div>

Indeed, I was foolishly trying to set the on/off and not the targetValue ^^’  
Well, the migration of the FGD 212s is progressing — I’ll look at the rest this weekend, thanks a lot 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [October 27, 2022, 4:41am UTC](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589/33 "2022-10-27T04:41:55Z")

</div>

This tutorial should be updated with zwave-js-ui 🙂 (the successor to ZwaveJS2mqtt which is deprecated / just a rename)

See a post like this:

> [@Demande aide installation zwavejs2mqtt](https://community.gladysassistant.com/t/demande-aide-installation-zwavejs2mqtt/7628):
>
> Salut à tous, Je débute mon installation domotique et j’ai besoin d’un d’aide pour l’installation de zwavejs2mqtt. Dans un 1er temps, je souhaite piloter un volet roulant (bubendorff 4 fils) avec gladys. Gladys est actuellement installé sur un SSD et tourne sur un raspberry pi 3b+. J’utilise une clé Aeotec Z Stick Gen 5 pour la communication zwave. Possédant un micromodule QUBINO ZMNHCD1, j’ai vu le tuto de @VonOx à ce sujet et je bute sur l’installation de zwavejs2mqtt. Je n’ai pas trouvé…

[Previous page](https://community.gladysassistant.com/t/node-red-zwave-js-ui-et-volet-roulants-zmnhcd1/6589.md?page=1)
