# \[TUTORIAL\] Mail in the mailbox

**URL:** <https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273>\
**Category:** Tutoriels\
**Created:** [April 21, 2021, 10:06pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273 "2021-04-21T22:06:32Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 20, 2022, 8:29am UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/21 "2022-01-20T08:29:56Z")

</div>

ok thanks, I’ll check it out tonight. In the meantime, I just got another burst of 5 messages at 9 a.m. It’s not coming from 5, my sensor is in the basement where no one or nothing is moving. They must be very sensitive, I suppose.

---

<div class="post-metadata">

**Author:** ![jerome](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jerome/32/7030_2.png) [@jerome](https://community.gladysassistant.com/u/jerome)\
**Post date:** [January 20, 2022, 9:11pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/22 "2022-01-20T21:11:34Z")

</div>

Hello @pascal_sapin

Amazing your unexpected trigger. I will test I have one and get back to you to see if I have the same case.

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 21, 2022, 1:37pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/23 "2022-01-21T13:37:37Z")

</div>

hello  
here is the continuation of the adventures  
I have everything installed correctly, it seems to work but with the sensors close to the ziegbee key

I have 1 outdoor thermometer and 2 presence sensors

problem as soon as I move the sensors away, I lose the reception  
I thought that the fact that they are mesh would make everything work much better  
My question is whether the mesh is configured by default, I don’t think so, because there are 3 or 4 mesh plans star tree etc..  
My question, how to configure the ziegbee modules to be able to extend the network ???  
there are many parameters in the console

---

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [January 21, 2022, 1:57pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/24 "2022-01-21T13:57:30Z")

</div>

It seems that after a while, Zigbee devices connect to the nearest router or relay.

I added a plug a few weeks ago and I notice in the Zigbee2MQTT interface that devices are now connected to it. I have no idea when this happened, though.

In your case, it shouldn’t be as blocking, Zigbee is designed to cover several hundred meters thanks to relays 🤔

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 21, 2022, 2:30pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/25 "2022-01-21T14:30:56Z")

</div>

Yes, it should be automatic, for example in case of signal loss or weakening  
I found a diagram in the console, you can see how the modules are connected, I also found a tab that allows you to choose how to connect, but it doesn’t work, errors

I’ll take screenshots when I get the chance

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 21, 2022, 2:52pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/26 "2022-01-21T14:52:52Z")

</div>

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

Here is my schema for now

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 21, 2022, 3:50pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/27 "2022-01-21T15:50:49Z")

</div>

I’m going crazy here, in the Zigbee interface the sensor works but not in Glays

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

I’ve tried everything upside down and nothing works

---

<div class="post-metadata">

**Author:** ![mikael](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@mikael](https://community.gladysassistant.com/u/mikael)\
**Post date:** [January 21, 2022, 6:50pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/28 "2022-01-21T18:50:24Z")

</div>

> [@pascal\_sapin](#):
>
> This seems to work but with the following sensors close to the Zigbee key
> 
> I have 1 outdoor thermometer and 2 presence sensors
> 
> Problem as soon as I move the sensors away I lose reception  
> I thought that the fact that they are mesh would make everything work much better  
> My question is whether the mesh is configured by default, I don’t think so, because there are 3 or 4 plans star tree etc…

Maybe a problem like I had with a presence sensor and resolved with 4.7.2.

[Here is the topic of the failure I had](https://community.gladysassistant.com/t/conflict-lors-de-lajout-dun-device-z2m/6736/10)

Create a topic in configuration by giving your sensor model so that the developers can see if there is the same error

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 22, 2022, 7:57am UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/29 "2022-01-22T07:57:04Z")

</div>

Battery-powered devices do not act as repeaters, so you don’t have a mesh.

This is what it looks like with router-type devices

 ![IMG_20220122_085827](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/1b7389abc71791da45dca875a52fbadc68ec8ad7.jpeg)

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 22, 2022, 11:47am UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/30 "2022-01-22T11:47:56Z")

</div>

Thanks for the response, that’s what I thought, devices on battery cannot relay otherwise it drains the battery, however in terms of distance it’s really not great, as soon as there’s a wall it’s over, the transmission drops, looking at the diagram there’s an error in the transmission level of 0-255 on the diagram we are often below 100?

My error is fixed, I changed the sensor name and it works? I don’t understand, I put «&nbsp;mailbox&nbsp;» maybe the «&nbsp;à&nbsp;» with an accent.

In any case, I think I will switch to 868MHz or 432 for long distances, I have a plot of 33ares.

Thanks

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 22, 2022, 11:55am UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/31 "2022-01-22T11:55:45Z")

</div>

Can you tell me what type of Zigbee router you are using?

Thank you  
Could I also use a device that plugs into the mains to act as a bridge?

---

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [January 22, 2022, 12:33pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/32 "2022-01-22T12:33:42Z")

</div>

@pascal_sapin is right, some Zigbee routers are more powerful than others. Mine has a small external antenna that improves reception.  
On my end, I have 2 walls of 3cm of concrete and it works fine without any issues.

However, I have a sensor in the same room that has poor reception…

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 22, 2022, 12:49pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/33 "2022-01-22T12:49:45Z")

</div>

Almost everything on the sector acts as a relay

Example on my graph, a Philips hue bulb, a Schneider shutter module, a diy router

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 22, 2022, 3:14pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/34 "2022-01-22T15:14:37Z")

</div>

Fine, I know what I have left to do LOL

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 28, 2022, 4:00pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/35 "2022-01-28T16:00:18Z")

</div>

Well, after trying all day, it’s not very conclusive  
I give up on Zigbee, it doesn’t work correctly, connection loss or impossible to know if the modules are correctly connected, I try testing the connections with the panel below, even unplugging the module I get 80 connection lol or maybe there’s something I don’t understand, I bought a power module to act as a relay, you can see it on the diagram but it changes nothing

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

I think I’ll switch to Z-Wave or go straight to 435MHz

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 28, 2022, 4:46pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/36 "2022-01-28T16:46:21Z")

</div>

However, your mailbox sensor is a presence sensor, not an opening sensor.

It has nothing to do with it, look at the tutorial photos, it has nothing to do with it. That’s why it doesn’t trigger.

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 28, 2022, 5:26pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/37 "2022-01-28T17:26:27Z")

</div>

Yes, but no, because when opening the box, the sensor did trigger. I remain doubtful about the diagram, which in my opinion only shows the routing. The connection values don’t mean anything, and even after removing the battery from the sensor, it still detects. I just measured the distance from my mailbox, 16m to the facade of the cellar where I have the relay just on the other side of the wall.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 28, 2022, 5:53pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/38 "2022-01-28T17:53:18Z")

</div>

So I didn’t understand what’s wrong

---

<div class="post-metadata">

**Author:** ![pascal\_sapin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pascal_sapin/32/8958_2.png) [@pascal\_sapin](https://community.gladysassistant.com/u/pascal_sapin)\
**Post date:** [January 28, 2022, 8:18pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/39 "2022-01-28T20:18:20Z")

</div>

Okay, sorry if my explanation is a bit scattered. The issue isn’t the motion sensor in the mailbox; it’s the reception.

Let me recap: to pair my motion detector, I need to be near my computer; otherwise, it doesn’t work (interview error or it doesn’t connect at all). At the access point or relay, even if I manage to connect, when I move my sensor further away, the system still indicates it’s connected, with the same reception strength or quality (your choice), even though I’m convinced the sensor is offline. I’ve done tests all day, but nothing works. Zigbee is only designed for short-range connections without interference. After several days of testing, I conclude that Zigbee has a maximum range of 10 meters in open space, and even then, it’s hit or miss.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 28, 2022, 8:42pm UTC](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273/40 "2022-01-28T20:42:02Z")

</div>

Attention, the sensor values are those of the last transmission; it’s not real-time, so it can skew your analysis.

10 m in open field seems low. 🤔

[Previous page](https://community.gladysassistant.com/t/tutoriel-courrier-dans-la-boite-aux-lettres/6273.md?page=1)
