diff --git a/matter-bridge/config.yml b/matter-bridge/config.yml index ee3412c..93c4eed 100644 --- a/matter-bridge/config.yml +++ b/matter-bridge/config.yml @@ -9,5 +9,9 @@ arch: ports: 5540/tcp: 5540 -hassio_role: admin +hassio_role: homeassistant hassio_api: true +homeassistant_api: true +auth_api: true +map: + - addon_config:rw \ No newline at end of file diff --git a/matter-bridge/src/matter/index.ts b/matter-bridge/src/matter/index.ts index 37d09ec..d580965 100644 --- a/matter-bridge/src/matter/index.ts +++ b/matter-bridge/src/matter/index.ts @@ -16,7 +16,7 @@ export function serverSetup(): { storageManager: StorageManager; } { if (!(MATTER_SERVER && STORAGE && STORAGE_MANAGER)) { - const storageLocation = getParameter('store') || './deviceData'; + const storageLocation = getParameter('store') || '/config/deviceData'; STORAGE = new StorageBackendDisk( storageLocation,