Skip to content

Commit

Permalink
Release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Jun 28, 2024
1 parent 009e4cd commit 7f0b015
Show file tree
Hide file tree
Showing 10 changed files with 179 additions and 117 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-shelly and sponsoring it.

## [0.6.1] - 2024-06-28

### Changed

- [firmware]: The recent firmware update for Gen 2 and Gen. 3 devices changed the way data is sent. This fix the electrical readings.

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

## [0.6.0] - 2024-06-26

### Added
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ Choose how to expose the shelly power meters: disabled, matter13 (use Matter 1.3

### blackList

If the blackList is defined the devices included in the list will not be exposed to Matter. Use the device id (e.g. shellyplus2pm-5443b23d81f8)
If the blackList is defined the devices included in the list will not be exposed to Matter. Use the device id (e.g. shellyplus2pm-5443B23D81F8)

### whiteList

If the whiteList is defined only the devices included in the list are exposed to Matter. Use the device id (e.g. shellyplus2pm-5443b23d81f8).
If the whiteList is defined only the devices included in the list are exposed to Matter. Use the device id (e.g. shellyplus2pm-5443B23D81F8).

### deviceIp

Expand All @@ -140,12 +140,16 @@ Reset the storage discovery on the next restart (it will clear the storage of al

### enableConfigDiscover

Should be enabled only if the mdns is not working. It adds the devices defined in deviceIp.
Should be enabled only if the mdns is not working in your network. It adds the devices defined in deviceIp.

### debug

Should be enabled only if you want to debug some issue in the log.

### unregisterOnShutdown

Should be enabled only if you want to remove the devices from the controllers on shutdown.

### Config file

These are the config values:
Expand All @@ -166,6 +170,7 @@ These are the config values:
},
"enableMdnsDiscover": true,
"enableStorageDiscover": true,
"resetStorageDiscover": false
"enableConfigDiscover": false,
"debug": false,
"unregisterOnShutdown": false,
Expand Down
2 changes: 1 addition & 1 deletion matterbridge-shelly.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"type": "string"
},
"exposeSwitch": {
"description": "Choose how to expose the shelly switches: as a switch, light or outlet",
"description": "Choose how to expose the shelly switches: as a switch (don't use it for Alexa), light or outlet",
"type": "string",
"enum": ["switch", "light", "outlet"],
"default": "switch"
Expand Down
73 changes: 39 additions & 34 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,12 +1,12 @@
{
"name": "matterbridge-shelly",
"version": "0.6.0",
"version": "0.6.1",
"description": "Matterbridge shelly plugin",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/Luligu/matterbridge-shelly.git"
Expand Down Expand Up @@ -100,7 +100,7 @@
"ws": "^8.17.1"
},
"devDependencies": {
"@eslint/js": "^9.5.0",
"@eslint/js": "^9.6.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.12",
"@types/multicast-dns": "^7.2.4",
Expand All @@ -119,4 +119,4 @@
"overrides": {
"eslint": "latest"
}
}
}
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

import { Matterbridge, PlatformConfig } from 'matterbridge';
import { AnsiLogger } from 'node-ansi-logger';
import { AnsiLogger } from 'matterbridge/logger';
import { ShellyPlatform } from './platform.js';

/**
Expand All @@ -32,7 +32,7 @@ import { ShellyPlatform } from './platform.js';
* @param {Matterbridge} matterbridge - An instance of MatterBridge. This is the main interface for interacting with the MatterBridge system.
* @param {AnsiLogger} log - An instance of AnsiLogger. This is used for logging messages in a format that can be displayed with ANSI color codes.
* @param {PlatformConfig} config - The platform configuration.
* @returns {ShellyPlatform} - An instance of the SomfyTahomaPlatform. This is the main interface for interacting with the Somfy Tahoma system.
* @returns {ShellyPlatform} - An instance of the ShellyPlatform. This is the main interface for interacting with the Shellies.
*
*/

Expand Down
Loading

0 comments on commit 7f0b015

Please sign in to comment.