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 « docker-entrypoint.s… » 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 « ::ffff:192.168.1.62 » 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 ‹ /home/francis/.nvm/versions/node/v22.14.0/lib/node_modules/matterbridge-shelly/package.json › 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
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:
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
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:
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.