diff --git a/matter-bridge/src/index.ts b/matter-bridge/src/index.ts index be75a23..2598245 100644 --- a/matter-bridge/src/index.ts +++ b/matter-bridge/src/index.ts @@ -15,6 +15,8 @@ async function run() { } HA_MIDDLEWARE = await HAMiddleware.getInstance({ host: 'supervisor', + port: 80, + path: '/core/websocket', token, }); BRIDGE = getBridge(); @@ -22,7 +24,11 @@ async function run() { BRIDGE.start(); } -run().then().catch(LOGGER.error); +run() + .then() + .catch((error) => { + LOGGER.error(JSON.stringify(error)); + }); process.on('SIGINT', () => { HA_MIDDLEWARE.stop();