homey-api 3.17.2 → 3.17.4
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.
|
@@ -1569,7 +1569,12 @@
|
|
|
1569
1569
|
"path": "/stats/locations",
|
|
1570
1570
|
"method": "get",
|
|
1571
1571
|
"private": true,
|
|
1572
|
-
"parameters": {
|
|
1572
|
+
"parameters": {
|
|
1573
|
+
"since": {
|
|
1574
|
+
"in": "query",
|
|
1575
|
+
"type": "number"
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1573
1578
|
},
|
|
1574
1579
|
"getVersionStatistics": {
|
|
1575
1580
|
"path": "/stats/homey-software-versions",
|
|
@@ -3892,7 +3892,7 @@ export class AthomCloudAPI {
|
|
|
3892
3892
|
|
|
3893
3893
|
getAppDriversStatistics(): Promise<any>;
|
|
3894
3894
|
|
|
3895
|
-
getLocationStatistics(): Promise<any>;
|
|
3895
|
+
getLocationStatistics(opts: { since?: number }): Promise<any>;
|
|
3896
3896
|
|
|
3897
3897
|
getVersionStatistics(): Promise<any>;
|
|
3898
3898
|
|
|
@@ -4594,7 +4594,7 @@ export class AthomCloudAPI {
|
|
|
4594
4594
|
|
|
4595
4595
|
getAppDriversStatistics(): Promise<any>;
|
|
4596
4596
|
|
|
4597
|
-
getLocationStatistics(): Promise<any>;
|
|
4597
|
+
getLocationStatistics(opts: { since?: number }): Promise<any>;
|
|
4598
4598
|
|
|
4599
4599
|
getVersionStatistics(): Promise<any>;
|
|
4600
4600
|
|
|
@@ -7374,7 +7374,7 @@ export class AthomCloudAPI {
|
|
|
7374
7374
|
|
|
7375
7375
|
getAppDriversStatistics(): Promise<any>;
|
|
7376
7376
|
|
|
7377
|
-
getLocationStatistics(): Promise<any>;
|
|
7377
|
+
getLocationStatistics(opts: { since?: number }): Promise<any>;
|
|
7378
7378
|
|
|
7379
7379
|
getVersionStatistics(): Promise<any>;
|
|
7380
7380
|
|
|
@@ -8076,7 +8076,7 @@ export class AthomCloudAPI {
|
|
|
8076
8076
|
|
|
8077
8077
|
getAppDriversStatistics(): Promise<any>;
|
|
8078
8078
|
|
|
8079
|
-
getLocationStatistics(): Promise<any>;
|
|
8079
|
+
getLocationStatistics(opts: { since?: number }): Promise<any>;
|
|
8080
8080
|
|
|
8081
8081
|
getVersionStatistics(): Promise<any>;
|
|
8082
8082
|
|
|
@@ -17,7 +17,8 @@ class DiscoveryManager {
|
|
|
17
17
|
if (this.homey.__strategies.includes(DISCOVERY_STRATEGIES.MDNS)) {
|
|
18
18
|
if (Util.isHTTPUnsecureSupported()) {
|
|
19
19
|
if (this.homey.__properties.mdnsFqdn) {
|
|
20
|
-
|
|
20
|
+
const port = this.homey.__properties.portHttp && this.homey.__properties.portHttp !== 80 ? `:${this.homey.__properties.portHttp}` : '';
|
|
21
|
+
urls[DISCOVERY_STRATEGIES.MDNS] = `http://${this.homey.__properties.mdnsFqdn}${port}`;
|
|
21
22
|
} else {
|
|
22
23
|
urls[DISCOVERY_STRATEGIES.MDNS] = `http://homey-${this.homey.id}.local`;
|
|
23
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homey-api",
|
|
3
|
-
"version": "3.17.
|
|
3
|
+
"version": "3.17.4",
|
|
4
4
|
"description": "Homey API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "SEE LICENSE",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/athombv/node-homey-api#readme",
|
|
48
48
|
"engines": {
|
|
49
|
-
"node": ">=
|
|
49
|
+
"node": ">=24"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"engine.io-client": "^3.5.5",
|