Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue running in docker on Sonoff iHost #175

Open
roger-richards opened this issue Nov 29, 2024 · 2 comments
Open

issue running in docker on Sonoff iHost #175

roger-richards opened this issue Nov 29, 2024 · 2 comments

Comments

@roger-richards
Copy link

Allow me to elaborate on my environment and use case: I use a Sonoff iHost to integrate devices into Apple Home. iHost, in addition to native functionality which integrates a variety of Zigbee devices, it includes a docker hosting feature. iHost also includes a Matter Bridge for the devices it supports. For instance, I am using iHost to integrate Zigbee IKEA roller shade (without using an IKEA hub) and Zigbee Sonoff light controller and expose it to Apple Home via the integrated Matter Bridge. I am also running Homebridge in a iHost docker to integrate various WiFi devices to Apple Home. Shelly devices make up a large part of my home automation. I've integrated them via two Homebridge plugins but this does not seem to be a supported approach going forward (Shelly Gen3 devices are not supported by any Homebridge plugin.) Shelly recommends matterbridge and has a robust matterbridge-shelly plugin. In order to simplify my Shelly integration and add support for Gen3 devices, I installed matterbrige in an iHost docker. Added matterbridge-shelly via the web gui. It discovers all my Shelly devices. Before I add this matterbridge to my Apple Home, I noticed the two devices integrated via native iHost matter bridge (IKEA shade & Sonoff switch) stopped responding in Apple Home. I stopped the matterbridge docker and these two devices responded again. There seems to be a conflict between iHost Matter Bridge and matterbridge running in docker on iHost. The only log error in the matterbridge log is:

info - [10:14:16.700] [CaseServer]: Received pairing request from udp://fe80::1ccb:403f:2375:5f7%eth0:49956
error - [10:14:16.705] [CaseServer]: An error occurred during the commissioning Fabric cannot be found from destinationId at FabricManager.findFabricFromDestinationId (file:///app/node_modules/@matter/protocol/dist/esm/fabric/FabricManager.js:184:11) at CaseServer.handleSigma1 (file:///app/node_modules/@matter/protocol/dist/esm/session/case/CaseServer.js:115:36) at async CaseServer.onNewExchange (file:///app/node_modules/@matter/protocol/dist/esm/session/case/CaseServer.js:36:7) at async SecureChannelProtocol.onNewExchange (file:///app/node_modules/@matter/protocol/dist/esm/securechannel/SecureChannelProtocol.js:122:9) at async ExchangeManager.onMessage (file:///app/node_modules/@matter/protocol/dist/esm/protocol/ExchangeManager.js:207:9)
info - [10:14:16.710] [InsecureSession]: End insecure session insecure/9412610887785303301
@Luligu
Copy link
Owner

Luligu commented Nov 29, 2024

Hi,
first of all thank you for your interest in Matterbridge.
It actually supports all shelly BLU included.

Your setup is clearly super complicated.

I imagine the issue is the mdns.

Too many devices on the same host.

I would try to change matter port in Matterbridge
and see: add -port 5550 to the command line

@Luligu
Copy link
Owner

Luligu commented Nov 29, 2024

Or since matterbridge also have matterbridge-zigbee2mqtt plugin… use Matterbridge for everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants