Skip to content

Commit

Permalink
Merge pull request #54 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 1.3.1
  • Loading branch information
Luligu committed Jun 20, 2024
2 parents a2b0e85 + a45e065 commit 1f277fc
Show file tree
Hide file tree
Showing 11 changed files with 152 additions and 94 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-buildx-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
--platform linux/amd64,linux/arm64,linux/arm/v7 \
-f docker/Dockerfile.main \
-t luligu/matterbridge:latest \
-t luligu/matterbridge:1.3.0 \
-t luligu/matterbridge:1.3.1 \
--push .
docker manifest inspect luligu/matterbridge:latest
timeout-minutes: 60
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to this project will be documented in this file.

## [1.3.1] - 2024-06-20

### Changed
- [matterbridge]: Updated dependencies
- [matterbridge]: Refactor the loading of schemas, now they load from the plugin directory.
- [matterbridge]: Moved getPluginVersion to the start also for disabled plugins.

<a href="https://www.buymeacoffee.com/luligugithub">
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
</a>

## [1.3.0] - 2024-06-16

This release is all about Matter 1.3
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN npm -g install matterbridge-example-accessory-platform
RUN npm -g install matterbridge-example-dynamic-platform
RUN npm -g install matterbridge-zigbee2mqtt
RUN npm -g install matterbridge-somfy-tahoma
RUN npm -g install matterbridge-shelly
RUN npm -g install matterbridge-eve-door
RUN npm -g install matterbridge-eve-motion
RUN npm -g install matterbridge-eve-energy
Expand Down
6 changes: 6 additions & 0 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ RUN GIT_SSL_NO_VERIFY=true git clone https://github.com/Luligu/matterbridge-eve-
COPY docker/link-matterbridge-docker-script.js ./link-matterbridge-script.js
RUN npm install && npm run build && npm pack

WORKDIR /matterbridge-shelly
RUN GIT_SSL_NO_VERIFY=true git clone https://github.com/Luligu/matterbridge-shelly.git .
COPY docker/link-matterbridge-docker-script.js ./link-matterbridge-script.js
RUN npm install && npm run build && npm pack

WORKDIR /matterbridge-eve-motion
RUN GIT_SSL_NO_VERIFY=true git clone https://github.com/Luligu/matterbridge-eve-motion.git .
COPY docker/link-matterbridge-docker-script.js ./link-matterbridge-script.js
Expand Down Expand Up @@ -71,6 +76,7 @@ COPY --from=builder /matterbridge-example-accessory-platform/*.tgz .
COPY --from=builder /matterbridge-example-dynamic-platform/*.tgz .
COPY --from=builder /matterbridge-zigbee2mqtt/*.tgz .
COPY --from=builder /matterbridge-somfy-tahoma/*.tgz .
COPY --from=builder /matterbridge-shelly/*.tgz .
COPY --from=builder /matterbridge-eve-door/*.tgz .
COPY --from=builder /matterbridge-eve-motion/*.tgz .
COPY --from=builder /matterbridge-eve-energy/*.tgz .
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.main
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN npm -g install matterbridge-example-accessory-platform
RUN npm -g install matterbridge-example-dynamic-platform
RUN npm -g install matterbridge-zigbee2mqtt
RUN npm -g install matterbridge-somfy-tahoma
RUN npm -g install matterbridge-shelly
RUN npm -g install matterbridge-eve-door
RUN npm -g install matterbridge-eve-motion
RUN npm -g install matterbridge-eve-energy
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ function DialogConfigPlugin( { config, schema, handleCloseConfig }) {
});
const handleSaveChanges = ({ formData }, event) => {
console.log('handleSaveChanges:', formData);
const schema = JSON.stringify(formData, null, 2)
sendCommandToMatterbridge('saveconfig', formData.name, schema);
const config = JSON.stringify(formData, null, 2)
sendCommandToMatterbridge('saveconfig', formData.name, config);
// Close the dialog
handleCloseConfig();
window.location.reload();
Expand Down
96 changes: 48 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matterbridge",
"version": "1.3.0",
"version": "1.3.1",
"description": "Matterbridge plugin manager for Matter",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
Expand Down Expand Up @@ -81,10 +81,10 @@
"devDependencies": {
"@tsconfig/node-lts": "^20.1.3",
"@types/express": "^4.17.21",
"@types/node": "^20.14.2",
"@types/node": "^20.14.5",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.3.2",
Expand Down
10 changes: 9 additions & 1 deletion src/defaultConfigSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const zigbee2mqtt_schema: PlatformSchema = {
title: 'Matterbridge zigbee2mqtt plugin',
description: 'matterbridge-zigbee2mqtt v. 2.0.13 by https://github.com/Luligu',
type: 'object',
required: ['username', 'password', 'host', 'port', 'topic'],
required: ['host', 'port', 'topic'],
properties: {
name: {
description: 'Plugin name',
Expand Down Expand Up @@ -129,6 +129,10 @@ export const zigbee2mqtt_schema: PlatformSchema = {
},
},
},
debug: {
description: 'Enable the debug for the plugin (development only)',
type: 'boolean',
},
unregisterOnShutdown: {
description: 'Unregister all devices on shutdown (development only)',
type: 'boolean',
Expand Down Expand Up @@ -214,6 +218,10 @@ export const somfytahoma_schema: PlatformSchema = {
type: 'integer',
},
},
debug: {
description: 'Enable the debug for the plugin (development only)',
type: 'boolean',
},
unregisterOnShutdown: {
description: 'Unregister all devices on shutdown (development only)',
type: 'boolean',
Expand Down
Loading

0 comments on commit 1f277fc

Please sign in to comment.