meross-cli 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.6.1] - 2026-01-22
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Code formatting improvements (removed trailing whitespace)
|
|
12
|
+
|
|
8
13
|
## [0.6.0] - 2026-01-20
|
|
9
14
|
|
|
10
15
|
### Added
|
package/README.md
CHANGED
|
@@ -77,6 +77,14 @@ The CLI supports all devices that are supported by the underlying `meross-iot` l
|
|
|
77
77
|
|
|
78
78
|
## Changelog
|
|
79
79
|
|
|
80
|
+
### [0.6.1] - 2026-01-22
|
|
81
|
+
|
|
82
|
+
#### Changed
|
|
83
|
+
- Code formatting improvements (removed trailing whitespace)
|
|
84
|
+
|
|
85
|
+
<details>
|
|
86
|
+
<summary>Older</summary>
|
|
87
|
+
|
|
80
88
|
### [0.6.0] - 2026-01-20
|
|
81
89
|
|
|
82
90
|
#### Added
|
|
@@ -85,9 +93,6 @@ The CLI supports all devices that are supported by the underlying `meross-iot` l
|
|
|
85
93
|
- Shows channel information and supported features in an organized format
|
|
86
94
|
- Verbose mode support for displaying raw abilities (namespaces) when `MEROSS_VERBOSE=true` is set
|
|
87
95
|
|
|
88
|
-
<details>
|
|
89
|
-
<summary>Older</summary>
|
|
90
|
-
|
|
91
96
|
### [0.5.0] - 2026-01-20
|
|
92
97
|
|
|
93
98
|
#### Changed
|
|
@@ -159,7 +159,7 @@ async function collectSetLightColorParams(methodMetadata, device) {
|
|
|
159
159
|
let supportsRgb = false;
|
|
160
160
|
let supportsTemperature = false;
|
|
161
161
|
let supportsLuminance = false;
|
|
162
|
-
|
|
162
|
+
|
|
163
163
|
if (device.light && device.abilities && device.abilities['Appliance.Control.Light']) {
|
|
164
164
|
const lightAbility = device.abilities['Appliance.Control.Light'];
|
|
165
165
|
if (lightAbility && lightAbility.capacity) {
|
|
@@ -178,7 +178,7 @@ async function collectDeleteTimerXParams(methodMetadata, device) {
|
|
|
178
178
|
console.log(chalk.dim('Fetching existing timers...'));
|
|
179
179
|
const response = await device.timer.get({ channel });
|
|
180
180
|
const items = response && response.timerx && Array.isArray(response.timerx) ? response.timerx : [];
|
|
181
|
-
|
|
181
|
+
|
|
182
182
|
if (items.length > 0) {
|
|
183
183
|
console.log(chalk.cyan(`\nExisting Timers (Channel ${channel}):`));
|
|
184
184
|
items.forEach((item, index) => {
|
|
@@ -155,7 +155,7 @@ async function collectDeleteTriggerXParams(methodMetadata, device) {
|
|
|
155
155
|
console.log(chalk.dim('Fetching existing triggers...'));
|
|
156
156
|
const response = await device.trigger.get({ channel });
|
|
157
157
|
const items = response && response.triggerx && Array.isArray(response.triggerx) ? response.triggerx : [];
|
|
158
|
-
|
|
158
|
+
|
|
159
159
|
if (items.length > 0) {
|
|
160
160
|
console.log(chalk.cyan(`\nExisting Triggers (Channel ${channel}):`));
|
|
161
161
|
items.forEach((item, index) => {
|
package/cli/commands/info.js
CHANGED
|
@@ -186,7 +186,7 @@ function _displayAbilities(device, manager) {
|
|
|
186
186
|
// Check verbose mode via environment variable or manager logger option
|
|
187
187
|
const isVerbose = process.env.MEROSS_VERBOSE === 'true' ||
|
|
188
188
|
(manager && manager.options && manager.options.logger !== null);
|
|
189
|
-
|
|
189
|
+
|
|
190
190
|
if (!isVerbose) {
|
|
191
191
|
return;
|
|
192
192
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meross-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Command-line interface for controlling Meross smart home devices",
|
|
5
5
|
"author": "Abe Haverkamp",
|
|
6
6
|
"homepage": "https://github.com/Doekse/merossiot#readme",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"chalk": "^4.1.2",
|
|
25
25
|
"commander": "^12.1.0",
|
|
26
26
|
"inquirer": "^8.2.6",
|
|
27
|
-
"meross-iot": "^0.
|
|
27
|
+
"meross-iot": "^0.9.0",
|
|
28
28
|
"ora": "^5.4.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|