homebridge-melcloud-control 3.8.6 → 3.8.7
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/package.json +1 -1
- package/src/deviceata.js +2 -2
- package/src/deviceatw.js +2 -2
- package/src/deviceerv.js +2 -2
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.
|
|
4
|
+
"version": "3.8.7",
|
|
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
|
|
134
|
-
prefix: this.mqtt.prefix
|
|
133
|
+
clientId: this.mqtt.clientId || `melcloud_${Math.random().toString(16).slice(3)}`,
|
|
134
|
+
prefix: this.mqtt.prefix || `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
|
|
139
|
-
prefix: this.mqtt.prefix
|
|
138
|
+
clientId: this.mqtt.clientId || `melcloud_${Math.random().toString(16).slice(3)}`,
|
|
139
|
+
prefix: this.mqtt.prefix || `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
|
|
132
|
-
prefix: this.mqtt.prefix
|
|
131
|
+
clientId: this.mqtt.clientId || `melcloud_${Math.random().toString(16).slice(3)}`,
|
|
132
|
+
prefix: this.mqtt.prefix || `melcloud/${this.deviceTypeText}/${this.deviceName}`,
|
|
133
133
|
user: this.mqtt.user,
|
|
134
134
|
passwd: this.mqtt.pass,
|
|
135
135
|
debug: this.mqtt.debug || false
|