# Matter - Matterbridge

**URL:** <https://community.gladysassistant.com/t/matter-matterbridge/9521>\
**Category:** Configuration\
**Created:** [May 15, 2025, 8:55pm UTC](https://community.gladysassistant.com/t/matter-matterbridge/9521 "2025-05-15T20:55:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francis66](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/francis66/32/17375_2.png) [@Francis66](https://community.gladysassistant.com/u/Francis66)\
**Post date:** [May 15, 2025, 8:55pm UTC](https://community.gladysassistant.com/t/matter-matterbridge/9521/1 "2025-05-15T20:55:57Z")

</div>

Good evening  
Thank you for the Matter integration.  
My goal is to be able to integrate my Shelly Gen 3 devices into Gladys while I wait to acquire Matter-compatible devices

- I therefore installed matterbridge with Docker, the container started.  
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
9cd39bee5c05 luligu/matterbridge:latest «&nbsp;docker-entrypoint.s…&nbsp;» 21 minutes ago Up 12 minutes (healthy)
- I have access to the frontend. Logs  
WebSocket Connecting to WebSocket: ws://192.168.1.29:8283/  
• WebSocket Connected to WebSocket: ws://192.168.1.29:8283/  
• info [20:28:48.252] [Frontend] WebSocketServer client «&nbsp;::ffff:192.168.1.62&nbsp;» connected to Matterbridge
- Pairing of matterbridge with Gladys OK
- I installed the matterbridge-shelly plugin but the installation ends in failure

notice [20:39:39.806] [Matterbridge] Package matterbridge-shelly installed correctly  
• error [20:39:39.807] [PluginManager] Failed to resolve plugin path matterbridge-shelly/package.json: ENOENT: no such file or directory, open '/home/francis/.nvm/versions/node/v22.14.0/lib/node\_modules/matterbridge-shelly/package.json’Error: ENOENT: no such file or directory, open ‹&nbsp;/home/francis/.nvm/versions/node/v22.14.0/lib/node\_modules/matterbridge-shelly/package.json&nbsp;› at async open (node:internal/fs/promises:633:25) at async Object.readFile (node:internal/fs/promises:1237:14) at async PluginManager.resolve (file:///usr/local/lib/node\_modules/matterbridge/dist/pluginManager.js:97:44) at async PluginManager.add (file:///usr/local/lib/node\_modules/matterbridge/dist/pluginManager.js:399:33)  
• error [20:39:39.807] [PluginManager] Failed to add plugin matterbridge-shelly: package.json not found.  
There must be something missing in the modules.  
Thank you for your help

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [May 16, 2025, 6:23am UTC](https://community.gladysassistant.com/t/matter-matterbridge/9521/2 "2025-05-16T06:23:11Z")

</div>

Hi @Francis66  
Have you tried installing other plug-ins to see if the error is general or only for the Shelly?

---

<div class="post-metadata">

**Author:** ![Francis66](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/francis66/32/17375_2.png) [@Francis66](https://community.gladysassistant.com/u/Francis66)\
**Post date:** [May 16, 2025, 11:14am UTC](https://community.gladysassistant.com/t/matter-matterbridge/9521/3 "2025-05-16T11:14:01Z")

</div>

Thank you mutmut  
Yes I forgot to indicate it in my message. I tried to install the plugin that Pierre-Gilles presents in his livestream. Also, many thanks to Pierre-Gilles for his livestream.  
\*\*\*error [10:47:09.439] [PluginManager] Failed to resolve plugin path matterbridge-example-dynamic-platform/package.json:

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [May 16, 2025, 12:39pm UTC](https://community.gladysassistant.com/t/matter-matterbridge/9521/4 "2025-05-16T12:39:34Z")

</div>

So if it doesn’t work with another plugin, it’s a general problem.  
Like that, I’d say there’s an issue with a directory not being created

> [@Francis66](#):
>
> • error [20:39:39.807] [PluginManager] Failed to resolve plugin path matterbridge-shelly/package.json: ENOENT: no such file or directory, open ' **/home/francis/.nvm/versions/node/v22.14.0/lib/node\_modules/matterbridge-shelly/package.json** ’Error: ENOENT: no such file or directory, open ‹ /home/francis/.nvm/versions/node/v22.14.0/lib/node\_modules/matterbridge-shelly/package.json ›

On my system I find that file (in bold above) in **/usr/lib/node\_modules/matterbridge-shelly**  
Note, I’m not in Docker but in LXC (a slightly different virtualization).

I think you still have an installation problem and I’d be tempted to redo it completely by cleaning everything (the matterbridge container, the matterbridge image, clearing the exposed directories), and see if the problem still occurs.

EDIT: I just checked in my test Matterbridge Docker and the file is located under **/usr/local/lib/node\_modules/matterbridge-shelly** and all the plugin files are in the parent dir:

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

---

<div class="post-metadata">

**Author:** ![Francis66](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/francis66/32/17375_2.png) [@Francis66](https://community.gladysassistant.com/u/Francis66)\
**Post date:** [May 21, 2025, 9:17pm UTC](https://community.gladysassistant.com/t/matter-matterbridge/9521/5 "2025-05-21T21:17:46Z")

</div>

Thanks mutmut  
I removed the matterbridge image, the Docker container, and all directories related to matterbridge. Then I reinstalled the matterbridge Docker container, and the matterbridge-shelly module was able to install without error. I can now see my Shelly 1 Plus devices in Gladys’ Matter integration. Thanks again to Pierre-Gilles and the other developers for this great progress.
