@homebridge-plugins/homebridge-meross 10.16.3 → 10.16.5

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
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to `@homebridge-plugins/homebridge-meross` will be documented in this file.
4
4
 
5
+ ## v10.16.5 (2026-07-18)
6
+
7
+ ### Changed
8
+
9
+ - chore: remove the looking-for-maintainers message
10
+ - chore(github): update the setup-node action to v7
11
+ - chore(deps): dependency updates
12
+
13
+ ## v10.16.4 (2026-07-14)
14
+
15
+ ### Changed
16
+
17
+ - fix: never pass external accessories to the homebridge cache so saving no longer fails (#792)
18
+
5
19
  ## v10.16.3 (2026-07-13)
6
20
 
7
21
  ### Changed
package/README.md CHANGED
@@ -25,8 +25,6 @@ Homebridge plugin to integrate Meross devices into HomeKit
25
25
  - supports configuring devices for local-only control without your Meross credentials
26
26
  - can ignore any HomeKit-native devices you have using the configuration
27
27
 
28
- > I'm looking for some lovely people to help maintain this plugin, please get in touch on GitHub or Discord if you'd like to help out 😄
29
-
30
28
  ### Prerequisites
31
29
 
32
30
  - To use this plugin, you will need to already have:
package/lib/platform.js CHANGED
@@ -448,7 +448,7 @@ export default class {
448
448
  })
449
449
 
450
450
  // Setup successful
451
- this.log('%s. %s', platformLang.complete, platformLang.welcome)
451
+ this.log('%s.', platformLang.complete)
452
452
  } catch (err) {
453
453
  // Catch any errors during setup
454
454
  const eText = parseError(err, [platformLang.noCredentials])
@@ -1092,6 +1092,12 @@ export default class {
1092
1092
  )
1093
1093
  .setCharacteristic(this.api.hap.Characteristic.Identify, true)
1094
1094
 
1095
+ // Mark the accessory as external so it is never passed to
1096
+ // updatePlatformAccessories, since Homebridge 2 adds any accessory passed
1097
+ // there to its cached list, and an external accessory has no associated
1098
+ // platform so every cache save then fails to serialize it (#792)
1099
+ accessory.context.isExternal = true
1100
+
1095
1101
  // Register the accessory
1096
1102
  this.api.publishExternalAccessories(plugin.name, [accessory])
1097
1103
  this.log('[%s] %s.', device.devName, platformLang.devAdd)
@@ -1122,7 +1128,7 @@ export default class {
1122
1128
  }
1123
1129
 
1124
1130
  updateAccessory(accessory) {
1125
- if (!accessory.context.hidden) {
1131
+ if (!accessory.context.hidden && !accessory.context.isExternal) {
1126
1132
  this.api.updatePlatformAccessories([accessory])
1127
1133
  }
1128
1134
  if (accessory.context.isOnline) {
@@ -1133,7 +1139,7 @@ export default class {
1133
1139
  }
1134
1140
 
1135
1141
  saveAccessoryUpdate(accessory) {
1136
- if (!accessory.context.hidden) {
1142
+ if (!accessory.context.hidden && !accessory.context.isExternal) {
1137
1143
  this.api.updatePlatformAccessories([accessory])
1138
1144
  }
1139
1145
  this.devicesInHB.set(accessory.UUID, accessory)
@@ -108,6 +108,5 @@ export default {
108
108
  storageWriteErr: 'could not save accessory to file as',
109
109
  timeout: 'the request timed out',
110
110
  viaAL: 'via adaptive lighting',
111
- welcome: 'I\'m looking for some lovely people to help maintain this plugin, please get in touch on GitHub or Discord if you\'d like to help out 😄',
112
111
  wrongDevice: 'queried IP belongs to a different Meross device',
113
112
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@homebridge-plugins/homebridge-meross",
3
3
  "alias": "Meross",
4
4
  "type": "module",
5
- "version": "10.16.3",
5
+ "version": "10.16.5",
6
6
  "description": "Homebridge plugin to integrate Meross devices into HomeKit.",
7
7
  "author": {
8
8
  "name": "bwp91",