# Mise à jour de Matter.js vers 0.16

**URL:** <https://community.gladysassistant.com/t/mise-a-jour-de-matter-js-vers-0-16/10149>\
**Category:** Développement\
**Tags:** matter\
**Created:** [Février 20, 2026, 1:34 UTC](https://community.gladysassistant.com/t/mise-a-jour-de-matter-js-vers-0-16/10149 "2026-02-20T13:34:44Z")\
**Posts on this page:** 1\
**Showing post:** 23

<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:** [Mars 23, 2026, 9:31 UTC](https://community.gladysassistant.com/t/mise-a-jour-de-matter-js-vers-0-16/10149/23 "2026-03-23T09:31:59Z")

</div>

Bon, j’ai refais une PR du coup ce matin, et effectivement avec le `autoConnect` qui fonctionne, ça change tout, j’ai pu supprimer 50% du code que j’avais écris pour cette migration 😃

Un nouveau build est disponible sur un nouveau tag :

```auto
gladysassistant/gladys:upgrade-matter-latest

```

J’en ai profité pour faire quelques améliorations pratiques :

1/ Dans les logs, les messages d’avertissement quand un appareil n’est pas encore ajouté à Gladys sont désormais affichés sur une seule ligne, au niveau de log «&nbsp;info&nbsp;», car en soi ce n’est pas une erreur mais juste un avertissement :

 ![Capture d’écran 2026-03-23 à 10.08.58](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/3/b/3b9b651321e2ad675e64638004c1a5a5a65020f0.jpeg)  
 ![Capture d’écran 2026-03-23 à 09.49.01](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/3/a3b994d2d9d0cba8ca0c89c9362ebfe7ca05cc25.jpeg)

2/ Le rafraîchissement de la liste des appareils Matter, étant une opération parfois longue sur les gros réseaux Matter comportant des appareils non disponibles, j’ai rendu cette opération non bloquante pour le démarrage de Gladys afin d’éviter de rallonger le temps de démarrage de Gladys.

@prohand tu peux re-tester ?

La nouvelle PR :

> <https://github.com/GladysAssistant/Gladys/pull/2501>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affect the code, did you write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new feature/service, did you run the integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community (\[forum\](https://community.gladysassistant.com/)) for testing before merging.
> \- \[x\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[x\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[x\] Did you add fake requests data for the demo mode (\`front/src/config/demo.js\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Upgrade Matter.js to latest version
> 
> 
> \## Summary by CodeRabbit
> 
> \* \*\*Chores\*\*
> \* Updated Matter-related development dependencies.
> 
> \* \*\*Bug Fixes\*\*
> \* Stricter device filtering during startup to avoid incomplete device entries.
> \* Initialization now refreshes devices in the background to prevent startup failures.
> \* State events quietly skip processing when a target device/feature is missing instead of throwing.
> 
> \* \*\*Refactor\*\*
> \* Aligned device endpoint and cluster client handling with updated Matter accessor APIs.
> 
> \* \*\*Tests\*\*
> \* Updated test fixtures to match accessor-based device APIs.

---

_[View the full topic](https://community.gladysassistant.com/t/mise-a-jour-de-matter-js-vers-0-16/10149)._
