homebridge-denon-tv 4.3.26 → 4.3.28
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/config.schema.json +1 -1
- package/package.json +3 -3
- package/src/denon.js +1 -1
- package/src/denondevice.js +2 -2
package/config.schema.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"pluginType": "platform",
|
|
4
4
|
"singular": true,
|
|
5
5
|
"fixArrays": true,
|
|
6
|
-
"headerDisplay": "This plugin works with Denon/Marantz AV Receivers. Devices are exposed to HomeKit as separate accessories and each needs to be manually paired
|
|
6
|
+
"headerDisplay": "This plugin works with Denon/Marantz AV Receivers. Devices are exposed to HomeKit as separate accessories and each needs to be manually paired.",
|
|
7
7
|
"footerDisplay": "For documentation please see [GitHub repository](https://github.com/grzegorz914/homebridge-denon-tv).",
|
|
8
8
|
"schema": {
|
|
9
9
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Denon TV",
|
|
3
3
|
"name": "homebridge-denon-tv",
|
|
4
|
-
"version": "4.3.
|
|
5
|
-
"description": "Homebridge plugin
|
|
4
|
+
"version": "4.3.28",
|
|
5
|
+
"description": "Homebridge plugin to control Denon/Marantz AV Receivers.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
|
8
8
|
"homepage": "https://github.com/grzegorz914/homebridge-denon-tv#readme",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"async-mqtt": "^2.6.3",
|
|
32
|
-
"axios": "^1.6.
|
|
32
|
+
"axios": "^1.6.2",
|
|
33
33
|
"fast-xml-parser": "^4.3.2",
|
|
34
34
|
"express": "^4.18.2"
|
|
35
35
|
},
|
package/src/denon.js
CHANGED
|
@@ -17,7 +17,7 @@ class DENON extends EventEmitter {
|
|
|
17
17
|
const mqttEnabled = config.mqttEnabled;
|
|
18
18
|
this.refreshInterval = config.refreshInterval;
|
|
19
19
|
|
|
20
|
-
const baseUrl =
|
|
20
|
+
const baseUrl = `http://${host}:${port}`;
|
|
21
21
|
this.axiosInstance = axios.create({
|
|
22
22
|
method: 'GET',
|
|
23
23
|
baseURL: baseUrl,
|
package/src/denondevice.js
CHANGED
|
@@ -1067,7 +1067,7 @@ class DenonDevice extends EventEmitter {
|
|
|
1067
1067
|
this.sensorInputsDisplayType.push(sensorInputDisplayType);
|
|
1068
1068
|
this.sensorInputsServices.push(sensorInputService);
|
|
1069
1069
|
this.allServices.push(sensorInputService);
|
|
1070
|
-
accessory.addService(
|
|
1070
|
+
accessory.addService(sensorInputService);
|
|
1071
1071
|
} else {
|
|
1072
1072
|
this.emit('message', `Sensor Name: ${sensorInputName ? sensorInputName : 'Missing'}, Reference: ${sensorInputReference ? sensorInputReference : 'Missing'}.`);
|
|
1073
1073
|
};
|
|
@@ -1123,7 +1123,7 @@ class DenonDevice extends EventEmitter {
|
|
|
1123
1123
|
|
|
1124
1124
|
this.buttonsServices.push(buttonService);
|
|
1125
1125
|
this.allServices.push(buttonService);
|
|
1126
|
-
accessory.addService(
|
|
1126
|
+
accessory.addService(buttonService);
|
|
1127
1127
|
} else {
|
|
1128
1128
|
this.emit('message', `Button Name: ${buttonName ? buttonName : 'Missing'}, Reference: ${buttonReference ? buttonReference : 'Missing'}.`);
|
|
1129
1129
|
};
|