# Upcoming installation

**URL:** <https://community.gladysassistant.com/t/installation-en-devenir/8594>\
**Category:** Partagez votre installation\
**Created:** [December 7, 2023, 2:04pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594 "2023-12-07T14:04:55Z")\
**Posts on this page:** 20\
**Page:** 4

<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 8, 2024, 11:14am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/61 "2024-10-08T11:14:45Z")

</div>

I can try to explain it to you as we go.

In fact, you should see Node-RED as a bridge between Gladys and Zigbee2MQTT. It will retrieve data from Gladys, for example the comfort command, and send it to your module. In short, it will read the information on the MQTT broker (Gladys) and forward the info to another MQTT broker (zigbee2mqtt).

1. First, install Node-RED and configure the MQTT broker. I put the video below directly at the broker MQTT config part.  
[https://youtu.be/bpmHzR8\_S5g?t=1132](https://youtu.be/bpmHzR8_S5g?t=1132)

2. Then, I think your module is already paired with zigbee2mqtt? If not, do that.

3. Configure the broker used by zigbee2mqtt in Node-RED.

- **How to retrieve the connection info:**

Connect to your Gladys machine via ssh and run the command:

`cat /var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml`

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

- **Create the zigbee2mqtt MQTT broker in Node-RED:**

Add an **mqtt in** or **mqtt out** node in a Node-RED flow

![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/3/e/3eb228057774c75c45393d2b6e1f42d68b2e6d6d.png)  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/3/0/3096054a2a4b2f4fcbfce3c4cb8c3cad13a065c3.png)

Then double-click the node to configure it

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

In the Server properties, click the + on the right to add the broker and give your broker a name.  
To be original: **zigbee2mqtt**.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/9/4/942a87924a8dd21fd0ac1c20fbfeec7edabc4026.png)

In the **Connection** tab enter the IP of your MQTT broker in **server** ; if it’s the one created by Gladys then it’s the same IP, otherwise enter your IP.  
Also enter your port if different from **1884**.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/9/4/942a87924a8dd21fd0ac1c20fbfeec7edabc4026.png)

In the **Security** tab enter the user and password you retrieved earlier.

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

Then click **Update** and select this broker in the server list of your node

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/5/8/58896f72b022b11612f7dff4b05366b01b2e7156.png)

The topic to set is zigbee2mqtt/device\_name

For the example I used a temperature sensor from my network

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/1/1/11f65acc00d9796966f560c31f0c83ba4e967af8.png)

I added a debug node behind it and deployed the flow

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/e/b/ebfa3fc831fafa7e1990915b4f493e6a6fc92cf9.png)

Here is the result when my sensor sends its value.

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

1. Configure “virtual” MQTT devices in Gladys. On this part, you have already integrated 2 elements. I will give you an example of how to set up the exchanges once the first 3 points are configured.

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 8, 2024, 11:33am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/62 "2024-10-08T11:33:02Z")

</div>

ok great thanks

so point 1 is good, everything is installed

for point 2 this is where it gets stuck: my device was recognized as two different devices, one that collects everything related to energy and the other unknown to Gladys  
however in Zigbee2mqtt it is present as a single component  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/optimized/3X/6/6/66bfd740f7bdce60f5dfc72a7da3ca10cdeea812_2_690x34.png)

for point 3 I’ll wait this evening

Thanks in advance

---

<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 8, 2024, 11:56am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/63 "2024-10-08T11:56:37Z")

</div>

For your module, don’t take into account what is reported in Gladys for now, as it isn’t yet fully integrated.

---

<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 8, 2024, 12:43pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/64 "2024-10-08T12:43:28Z")

</div>

Here’s what I have on my side.  
The commands: 6 controls in Gladys. Ok, there are only 4 because I don’t use the other 2

 ![IMG_20241008_143145](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/d/c/dcc892dea653336e172502fd0a6121139a394d26.jpeg)

A thermostat with the room temperature.

 ![IMG_20241008_143328](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/9/e/9ee63a1192268c93dad5ab30411eb5cfa0d8d3e2.jpeg)

Gladys will send the state of the buttons for the commands to Node-RED, and Node-RED will take care of forwarding the information to your module via the MQTT broker of zigbee2mqtt.

Then you’ll just need to create scenes in Gladys to control the different commands according to your needs.

I’ll also explain how to create the buttons in Gladys and I’ll give you the Node-RED flow that you’ll need to adapt for your module. Normally after my explanation you’ll be able to manage your electric radiator in Gladys.

I’ll send another message this evening with all the details.

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 8, 2024, 12:51pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/65 "2024-10-08T12:51:11Z")

</div>

Great, thanks for your help

---

<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 8, 2024, 8:10pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/66 "2024-10-08T20:10:11Z")

</div>

I’ve updated point 3.

Before continuing, add your broker, then add a sensor to test the connection, and once all that is operational we’ll go further.

As for tonight, I’m wiped out — I’ve caught a cold and won’t be able to do any more.

---

<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 9, 2024, 12:16am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/67 "2024-10-09T00:16:38Z")

</div>

By the way, I don’t know if you saw @Prof_Techno but there’s a tutorial on the forum that explains what you want to do:

> [@Mini-tuto Piloter dans Gladys un appareil Zigbee2Mqtt qui n'est pas encore reconnu par Gladys via Node-red](https://community.gladysassistant.com/t/mini-tuto-piloter-dans-gladys-un-appareil-zigbee2mqtt-qui-nest-pas-encore-reconnu-par-gladys-via-node-red/8465):
>
> Ce mini-tuto propose de connecter un appareil reconnu dans zigbee2mqtt mais dont l’intégration n’existerais pas encore dans Gladys en utilisant node-red comme intermédiaire ! Plus d’excuse slight_smile pour ne pas utiliser Gladys ! Pour cela on va créer un appareil virtuel (ou virtual device) dans l’intégration MQTT de Gladys et un flow Node-red qu’il suffit d’importer et il faudra juste paramétrer en fonction de l’appareil à controler et de vos paramètres (IP de votre instance Gladys, mot de…

Also, @Prof_Techno as I said in this thread :

> [@Avoir des appareils adaptés au Chauffage](https://community.gladysassistant.com/t/avoir-des-appareils-adaptes-au-chauffage/9088/11?u=pierre-gilles):
>
> @Prof_Techno si jamais tu penses avoir les compétences pour nous aider, un petit tutoriel pour tester le build de @cicoub13 :

There is already development done to have Zigbee2mqtt pilot-wire heating in Gladys natively, but we need a tester to test the development.

If you want to help us with testing, it will allow you to have this feature without needing Node-RED.

If you can’t help us, we’ll have to find someone else with a pilot wire but they aren’t exactly common 😛

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 9, 2024, 12:13pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/68 "2024-10-09T12:13:17Z")

</div>

So I’ll try to do that — hang in there with your cold.

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 10, 2024, 10:05am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/69 "2024-10-10T10:05:24Z")

</div>

I’ll run tests again with Node-RED starting Monday — I’m giving myself the weekend to test Cicoub’s solution.

But I’ll use Node-RED because I think it can do things a bit more advanced than Gladys for certain tasks, like pinging a device, for example.

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 17, 2024, 1:28pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/70 "2024-10-17T13:28:33Z")

</div>

Okay the feature is almost ready so I’m going to move on to the implementation stage for all my sensors

But before that, do you have a rule for naming your sensors and do you name them in gladys at discovery or in zigbee2mqtt? I would like this to be as clean as possible

Thanks for your advice

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [October 17, 2024, 7:26pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/71 "2024-10-17T19:26:53Z")

</div>

Personally, I always rename in Zigbee2mqtt.  
The name change appears instantly in Gladys.

---

<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 18, 2024, 12:05am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/72 "2024-10-18T00:05:00Z")

</div>

I recommend using names in Zigbe2mqtt, in lowercase with «&nbsp;\_&nbsp;» between words, for example: «&nbsp;interrupteur\_salon\_gauche&nbsp;», «&nbsp;capteur\_temperature\_jardin&nbsp;», etc.. 🙂

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [October 18, 2024, 5:56am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/73 "2024-10-18T05:56:20Z")

</div>

Initially that’s what I was going to recommend, but have you noticed any issues on your end related to accents / spaces?  
For my part I chose to use standard names «&nbsp;Outdoor water valve&nbsp;» and everything works fine… And above all it saves me from renaming things in Gladys! 😁 #lazy

---

<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 18, 2024, 5:58am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/74 "2024-10-18T05:58:58Z")

</div>

That should work! I prefer to use «&nbsp;\_&nbsp;» and no accents, because I think that in Zigbee2mqtt the device name is used in the MQTT topic name, and I’d be afraid it would break in case of an MQTT version change, that kind of thing 😛 But really, if it works, it must not be that serious right now 🙂

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 27, 2024, 5:52pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/75 "2024-10-27T17:52:04Z")

</div>

Hey, so I’m getting started and getting stuck over not much, but I’d like to use a Gladys calendar — which one works best??

Thanks

---

<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 28, 2024, 7:19am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/76 "2024-10-28T07:19:49Z")

</div>

What would it be used for?

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 28, 2024, 11:04am UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/77 "2024-10-28T11:04:12Z")

</div>

For the heating, to program it accordingly

That’s the first idea; beyond that, I don’t know what’s possible.

---

<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 28, 2024, 12:11pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/78 "2024-10-28T12:11:49Z")

</div>

If you ever want a pure CalDAV calendar for this kind of thing, I had already used Fruux ([https://fruux.com/](https://fruux.com/)) for Gladys demos in the past and it works great. For setting up a heating schedule that’s an excellent idea! Plus, it gives you a calendar that’s truly dedicated to that.

If, however, it’s more for syncing your personal calendar, it depends on what you use

---

<div class="post-metadata">

**Author:** ![Prof\_Techno](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prof_techno/32/19038_2.png) [@Prof\_Techno](https://community.gladysassistant.com/u/Prof_Techno)\
**Post date:** [October 28, 2024, 1:03pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/79 "2024-10-28T13:03:47Z")

</div>

I just checked the Jolie site but there’s no sharing on the free plan, and since there are several of us at home, if needs evolve that’s not great.

So I’m avoiding Google as a result.

What else is available that’s free or open-source, or maybe we can install one on the machine? I don’t know.

Otherwise, do Microsoft Outlook calendars work? Because I have one I’m not using at the moment.

---

<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 28, 2024, 1:11pm UTC](https://community.gladysassistant.com/t/installation-en-devenir/8594/80 "2024-10-28T13:11:24Z")

</div>

Some people use Nextcloud self-hosted: [Nextcloud - Online collaboration platform](https://nextcloud.com/fr/)

I’ve also seen [https://framagenda.org](https://framagenda.org) on the forum

I think there are plenty of solutions if you look around a bit 🙂

The essential thing is that the solution has CalDAV compatibility.

[Previous page](https://community.gladysassistant.com/t/installation-en-devenir/8594.md?page=3)

[Next page](https://community.gladysassistant.com/t/installation-en-devenir/8594.md?page=5)
