homebridge-melcloud-control 3.8.12 → 3.8.13

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
@@ -16,6 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
  - do not configure it manually, always using Config UI X
17
17
  - required Homebridge v2.0.0 and above
18
18
 
19
+ ## [3.8.13] - (26.06.2025)
20
+
21
+ ## Changes
22
+
23
+ - fix [#206](https://github.com/grzegorz914/homebridge-melcloud-control/issues/206)
24
+
19
25
  ## [3.8.6] - (24.05.2025)
20
26
 
21
27
  ## Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.8.12",
4
+ "version": "3.8.13",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/deviceata.js CHANGED
@@ -130,8 +130,8 @@ class DeviceAta extends EventEmitter {
130
130
  this.mqtt1 = new Mqtt({
131
131
  host: this.mqtt.host,
132
132
  port: this.mqtt.port || 1883,
133
- clientId: this.mqtt.clientId || `melcloud_${Math.random().toString(16).slice(3)}`,
134
- prefix: this.mqtt.prefix || `melcloud/${this.deviceTypeText}/${this.deviceName}`,
133
+ clientId: this.mqtt.clientId ? `melcloud_${this.mqtt.clientId}_${Math.random().toString(16).slice(3)}` : `melcloud_${Math.random().toString(16).slice(3)}`,
134
+ prefix: this.mqtt.prefix ? `melcloud/${this.mqtt.prefix}${this.deviceTypeText}/${this.deviceName}` : `melcloud/${this.deviceTypeText}/${this.deviceName}`,
135
135
  user: this.mqtt.user,
136
136
  passwd: this.mqtt.pass,
137
137
  debug: this.mqtt.debug || false
package/src/deviceatw.js CHANGED
@@ -135,8 +135,8 @@ class DeviceAtw extends EventEmitter {
135
135
  this.mqtt1 = new Mqtt({
136
136
  host: this.mqtt.host,
137
137
  port: this.mqtt.port || 1883,
138
- clientId: this.mqtt.clientId || `melcloud_${Math.random().toString(16).slice(3)}`,
139
- prefix: this.mqtt.prefix || `melcloud/${this.deviceTypeText}/${this.deviceName}`,
138
+ clientId: this.mqtt.clientId ? `melcloud_${this.mqtt.clientId}_${Math.random().toString(16).slice(3)}` : `melcloud_${Math.random().toString(16).slice(3)}`,
139
+ prefix: this.mqtt.prefix ? `melcloud/${this.mqtt.prefix}${this.deviceTypeText}/${this.deviceName}` : `melcloud/${this.deviceTypeText}/${this.deviceName}`,
140
140
  user: this.mqtt.user,
141
141
  passwd: this.mqtt.pass,
142
142
  debug: this.mqtt.debug || false
package/src/deviceerv.js CHANGED
@@ -128,8 +128,8 @@ class DeviceErv extends EventEmitter {
128
128
  this.mqtt1 = new Mqtt({
129
129
  host: this.mqtt.host,
130
130
  port: this.mqtt.port || 1883,
131
- clientId: this.mqtt.clientId || `melcloud_${Math.random().toString(16).slice(3)}`,
132
- prefix: this.mqtt.prefix || `melcloud/${this.deviceTypeText}/${this.deviceName}`,
131
+ clientId: this.mqtt.clientId ? `melcloud_${this.mqtt.clientId}_${Math.random().toString(16).slice(3)}` : `melcloud_${Math.random().toString(16).slice(3)}`,
132
+ prefix: this.mqtt.prefix ? `melcloud/${this.mqtt.prefix}${this.deviceTypeText}/${this.deviceName}` : `melcloud/${this.deviceTypeText}/${this.deviceName}`,
133
133
  user: this.mqtt.user,
134
134
  passwd: this.mqtt.pass,
135
135
  debug: this.mqtt.debug || false