homebridge-melcloud-control 3.8.14 → 3.8.15
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 +1 -1
- package/src/deviceatw.js +1 -1
- package/src/deviceerv.js +1 -1
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.15",
|
|
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
|
@@ -131,7 +131,7 @@ class DeviceAta extends EventEmitter {
|
|
|
131
131
|
host: this.mqtt.host,
|
|
132
132
|
port: this.mqtt.port || 1883,
|
|
133
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}
|
|
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.passwd,
|
|
137
137
|
debug: this.mqtt.debug || false
|
package/src/deviceatw.js
CHANGED
|
@@ -136,7 +136,7 @@ class DeviceAtw extends EventEmitter {
|
|
|
136
136
|
host: this.mqtt.host,
|
|
137
137
|
port: this.mqtt.port || 1883,
|
|
138
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}
|
|
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.passwd,
|
|
142
142
|
debug: this.mqtt.debug || false
|
package/src/deviceerv.js
CHANGED
|
@@ -129,7 +129,7 @@ class DeviceErv extends EventEmitter {
|
|
|
129
129
|
host: this.mqtt.host,
|
|
130
130
|
port: this.mqtt.port || 1883,
|
|
131
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}
|
|
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.passwd,
|
|
135
135
|
debug: this.mqtt.debug || false
|