Skip to content

Commit 7f0b015

Browse files
committed
Release 0.6.1
1 parent 009e4cd commit 7f0b015

10 files changed

Lines changed: 179 additions & 117 deletions

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
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.
66

7+
## [0.6.1] - 2024-06-28
8+
9+
### Changed
10+
11+
- [firmware]: The recent firmware update for Gen 2 and Gen. 3 devices changed the way data is sent. This fix the electrical readings.
12+
13+
<a href="https://www.buymeacoffee.com/luligugithub">
14+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
15+
</a>
16+
717
## [0.6.0] - 2024-06-26
818

919
### Added

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ Choose how to expose the shelly power meters: disabled, matter13 (use Matter 1.3
114114

115115
### blackList
116116

117-
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)
117+
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)
118118

119119
### whiteList
120120

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

123123
### deviceIp
124124

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

141141
### enableConfigDiscover
142142

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

145145
### debug
146146

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

149+
### unregisterOnShutdown
150+
151+
Should be enabled only if you want to remove the devices from the controllers on shutdown.
152+
149153
### Config file
150154

151155
These are the config values:
@@ -166,6 +170,7 @@ These are the config values:
166170
},
167171
"enableMdnsDiscover": true,
168172
"enableStorageDiscover": true,
173+
"resetStorageDiscover": false
169174
"enableConfigDiscover": false,
170175
"debug": false,
171176
"unregisterOnShutdown": false,

matterbridge-shelly.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"type": "string"
2323
},
2424
"exposeSwitch": {
25-
"description": "Choose how to expose the shelly switches: as a switch, light or outlet",
25+
"description": "Choose how to expose the shelly switches: as a switch (don't use it for Alexa), light or outlet",
2626
"type": "string",
2727
"enum": ["switch", "light", "outlet"],
2828
"default": "switch"

package-lock.json

Lines changed: 39 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "matterbridge-shelly",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Matterbridge shelly plugin",
55
"author": "https://github.com/Luligu",
66
"license": "Apache-2.0",
77
"type": "module",
88
"main": "dist/index.js",
9-
"types": "dist/index.d.js",
9+
"types": "dist/index.d.ts",
1010
"repository": {
1111
"type": "git",
1212
"url": "git+https://github.com/Luligu/matterbridge-shelly.git"
@@ -100,7 +100,7 @@
100100
"ws": "^8.17.1"
101101
},
102102
"devDependencies": {
103-
"@eslint/js": "^9.5.0",
103+
"@eslint/js": "^9.6.0",
104104
"@types/eslint__js": "^8.42.3",
105105
"@types/jest": "^29.5.12",
106106
"@types/multicast-dns": "^7.2.4",
@@ -119,4 +119,4 @@
119119
"overrides": {
120120
"eslint": "latest"
121121
}
122-
}
122+
}

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323

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

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

0 commit comments

Comments
 (0)