homebridge-melcloud-control 4.0.0-beta.385 → 4.0.0-beta.387
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/melcloudhometoken.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": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.387",
|
|
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/melcloudhometoken.js
CHANGED
|
@@ -7,9 +7,9 @@ import EventEmitter from 'events';
|
|
|
7
7
|
|
|
8
8
|
const MOBILE_USER_AGENT = 'MonitorAndControl.App.Mobile/35 CFNetwork/3860.100.1 Darwin/25.0.0';
|
|
9
9
|
const CLIENT_ID = 'homemobile';
|
|
10
|
-
const REDIRECT_URI = '
|
|
10
|
+
const REDIRECT_URI = 'melcloudhome://';
|
|
11
11
|
const SCOPE = 'openid profile email offline_access IdentityServerApi';
|
|
12
|
-
const TOKEN_ENDPOINT = 'https://
|
|
12
|
+
const TOKEN_ENDPOINT = 'https://app.melcloudhome.com/connect/token';
|
|
13
13
|
const AUTHORIZE_ENDPOINT = 'https://auth.melcloudhome.com/connect/authorize';
|
|
14
14
|
|
|
15
15
|
class MelCloudHomeToken extends EventEmitter {
|