🎉 New Somfy integration available in Gladys!

Hi everyone :slightly_smiling_face:

Do you have Somfy shutters or blinds at home? It is now possible to control them directly from Gladys Assistant thanks to Matterbridge and the new Matter integration :bullseye:

@mutmut has written a complete guide to help you connect your Somfy devices to Gladys in a few steps:

Don’t hesitate to ask if you have any questions!

4 Likes

Hello,
I installed Matterbridge and then the somfy-tahoma plugin a few days ago, everything worked fine (roller shutters). Yesterday evening I added an Atlantic convector to Tahoma and since this morning the plugin is in error. Log below:

  • WebSocketConnecting to WebSocket: ws://192.168.1.19:8283/settings
  • WebSocketConnected to WebSocket: ws://192.168.1.19:8283/settings
  • WebSocketDisconnected from WebSocket: ws://192.168.1.19:8283/settings
  • WebSocketReconnecting (attempt 1 of 100) to WebSocket: ws://192.168.1.19:8283/settings
  • WebSocketConnecting to WebSocket: ws://192.168.1.19:8283/settings
  • WebSocketConnected to WebSocket: ws://192.168.1.19:8283/settings
  • error[11:20:45.357][PluginManager]Failed to start plugin matterbridge-somfy-tahoma: Converting circular structure to JSON –\u003e starting at object with constructor ‹ Device › | property ‹ sensors › -\u003e object with constructor ‹ Array › | index 0 -\u003e object with constructor ‹ Device › — property ‹ parent › closes the circleStack:TypeError: Converting circular structure to JSON –\u003e starting at object with constructor ‹ Device › | property ‹ sensors › -\u003e object with constructor ‹ Array › | index 0 -\u003e object with constructor ‹ Device › — property ‹ parent › closes the circle at JSON.stringify (\u003canonymous\u003e) at SomfyTahomaPlatform.discoverDevices (file:///usr/local/lib/node_modules/matterbridge-somfy-tahoma/dist/platform.js:117:37) at async SomfyTahomaPlatform.onStart (file:///usr/local/lib/node_modules/matterbridge-somfy-tahoma/dist/platform.js:65:9) at async PluginManager.start (file:///usr/local/lib/node_modules/matterbridge/dist/pluginManager.js:522:13) at async PluginManager.load (file:///usr/local/lib/node_modules/matterbridge/dist/pluginManager.js:491:21)
  • error[11:20:45.591][Matterbridge]The plugin matterbridge-somfy-tahoma is in error state.
  • error[11:20:45.592][Matterbridge]The bridge will not start until the problem is solved to prevent the controllers from deleting all registered devices.
  • error[11:20:45.593][Matterbridge]If you want to start the bridge disable the plugin in error state and restart.

Any thoughts? :slightly_smiling_face:

Hi @Herve :slight_smile:

I invite you to open an issue with matterbridge-somfy-tahoma to report the bug!

To create an issue with them, it’s here:

If you’re not comfortable with English, just take the message you wrote on this forum in French and ask ChatGPT to convert it into English.

Edit: @Herve I don’t know if you saw this GitHub issue on their repo: TypeError: Converting circular structure to JSON · Issue #18 · Luligu/matterbridge-somfy-tahoma · GitHub

It looks a lot like your problem; maybe reinstalling the plugin could be the solution

hi @Herve
FYI the Somfy plugin only supports opening devices (admittedly that doesn’t

1 Like

Good evening @mutmut
And thanks for the feedback, it’s true I had forgotten that the plugin only supported openers…
But that shouldn’t make it crash if you add something else. I’ve created an issue on GitHub.
The idea of blacklisting unsupported devices is probably the solution, but