homebridge-gree-ac 2.1.5 → 2.1.6
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/CHANGELOG.md +25 -0
- package/README.md +125 -37
- package/config.schema.json +20 -5
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +19 -6
- package/dist/platform.js.map +1 -1
- package/dist/platformAccessory.d.ts +4 -4
- package/dist/platformAccessory.d.ts.map +1 -1
- package/dist/platformAccessory.js +125 -69
- package/dist/platformAccessory.js.map +1 -1
- package/dist/settings.d.ts +26 -1
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +29 -3
- package/dist/settings.js.map +1 -1
- package/dist/tsAccessory.d.ts.map +1 -1
- package/dist/tsAccessory.js +11 -10
- package/dist/tsAccessory.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/uiconfig.jpg +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.6] - 2024-11-28
|
|
4
|
+
|
|
5
|
+
**<ins>Reminder:</ins> New (v2) network encryption protocol supported since v2.1.0**
|
|
6
|
+
|
|
7
|
+
When upgrading from v2.0.0 - v2.1.1 to v2.1.2 or later, configuration settings should be updated.
|
|
8
|
+
The following configuration parameters are applied only once, when the device is enabled:
|
|
9
|
+
* name
|
|
10
|
+
* model
|
|
11
|
+
* speedSteps
|
|
12
|
+
* minimumTargetTemperature
|
|
13
|
+
* maximumTargetTemperature
|
|
14
|
+
* temperatureStepSize
|
|
15
|
+
|
|
16
|
+
Changes of the above parameters are ignored until the device is disabled and re-enabled. But keep in mind that disabling the device removes all associated automations from the Home App.
|
|
17
|
+
|
|
18
|
+
### Updates
|
|
19
|
+
- Extended heating threshold temperature range: 8°C~30°C (works only on selected models)
|
|
20
|
+
|
|
21
|
+
### New features
|
|
22
|
+
- Added new configuration parameter: temperatureStepSize
|
|
23
|
+
|
|
24
|
+
### Fixes
|
|
25
|
+
- Fixed heating / cooling threshold minimum and maximum value settings on accessory initialization
|
|
26
|
+
- Heating / Cooling threshold temperature handling has aligned to physical AC unit capabilities
|
|
27
|
+
|
|
3
28
|
## [2.1.5] - 2024-11-12
|
|
4
29
|
|
|
5
30
|
**<ins>Reminder:</ins> New (v2) network encryption protocol supported since v2.1.0**
|
package/README.md
CHANGED
|
@@ -17,9 +17,9 @@ You can add all of your GREE Air Conditioner devices to the Home App by specifyi
|
|
|
17
17
|
|
|
18
18
|
Quiet / Auto / Powerful mode is supported by the fan speed control. Zero means off. Minimum value turns on Quiet mode. Next value is Auto mode. Maximum value is Powerful mode. All other values between them are exact fan speeds (Low, MediumLow**, Medium, MediumHigh**, High)
|
|
19
19
|
|
|
20
|
-
** these values are supported only on 5-speed models
|
|
20
|
+
(**) these values are supported only on 5-speed models
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
All devices must be added to the Homebridge configuration. Devices are identified by MAC Address (Serial Number). It can be queried using the official [GREE+ mobile app](https://apps.apple.com/us/app/gree/id1167857672). (The app is required to connect the devices to the local WiFi network for the first time.) If an AC unit's MAC address is not added to the configuration then it will be skipped by the plugin. You can also skip a device by adding it to the configuration and setting the "disabled" parameter to true. _(This is useful if you want to temporarily remove the device but you want to keep it's parameters, e.g. changing the name or temperature step size is not possible without removal.)_
|
|
23
23
|
|
|
24
24
|
xFan function is also supported, but it works automatically if enabled in Homebridge configuration. If xFan is enabled for the device, it is automatically turned on when you select a supported operating mode in Home App. If xFan is disabled, the Home App will not modify its actual setting in any case.
|
|
25
25
|
|
|
@@ -38,11 +38,11 @@ The plugin finds all supported units automatically if they are located on the sa
|
|
|
38
38
|
|
|
39
39
|
IPv4 address is required. GREE Air Conditioners do not support IPv6 nor other network protocols.
|
|
40
40
|
|
|
41
|
-
This is not plugin dependency but its good to know that Homebridge server host address must be static. If the host address changes Homebridge looses connection with Home App and only Homebridge restart restores the connection.
|
|
41
|
+
This is not plugin dependency but its good to know that Homebridge server host address must be static. If the host address changes then Homebridge looses connection with Home App and only Homebridge restart restores the connection.
|
|
42
42
|
|
|
43
43
|
## Supported devices
|
|
44
44
|
|
|
45
|
-
* GREE Air Conditioners with WiFi support (hardware version v1.x.x and
|
|
45
|
+
* GREE Air Conditioners with WiFi support (hardware version v1.x.x, v2.x.x and v3.x.x)
|
|
46
46
|
* May work with other GREE compatible AC units (e.g. Sinclair)
|
|
47
47
|
* Successfully tested with Sinclair SIH-13BITW
|
|
48
48
|
|
|
@@ -60,10 +60,8 @@ This plugin was designed to support the Home App's Heater Cooler functionality u
|
|
|
60
60
|
* Additional device functions (e.g. health mode, sleep, SE) are not supported.
|
|
61
61
|
* Horizontal swing control is not supported, it remains the same as set directly on the device.
|
|
62
62
|
* GREE AC units do not support temperature ranges in auto mode, so temperature ranges have zero length in Home App.
|
|
63
|
-
* GREE AC units are not able to display decimals of temperature values (if set to half a degree, e.g. 21.5 °C, then unit display may not be in sync with temperature set in Home App).
|
|
64
|
-
* Not all half a degree values are supported in °C mode (GREE AC units are designed to support only integer °C and °F values). Unsupported values are automatically updated to the nearest supported values.
|
|
63
|
+
* GREE AC units are not able to display decimals of temperature values (if set to half a degree, e.g. 21.5 °C, then unit display may not be in sync with temperature set in Home App). To avoid this inconsistency it is recommended to set the **temperatureStepSize** configuration parameter to 1, when the AC unit is used in Celsius display mode, and to 0.5 in Fahrenheit display mode. The most convenient version is to use the Home App device (e.g. iPhone) in the same temperature display mode as the AC unit and to set the temperatureStepSize parameter to the appropriate value also.
|
|
65
64
|
* There is no way to get current heating-cooling state from the AC unit in auto mode, so displayed state in the Home App is based on temperature measurement, but internal sensor is not precise enough to always display the correct state.
|
|
66
|
-
* Cooling / Heating temperature threshold limits (minimum and maximum values) can only be set in active cooling / heating mode. So the gauge in Home App may show invalid minimum and maximum values for the first use of cooling and heating modes. If so please restart Home App. Next time the correct values will be displayed.
|
|
67
65
|
* Devices without a built-in temperature sensor display the target temperature as current temperature not the measured one. (Some AC firmware versions do not report the measured temperature but the unit has a built-in sensor. They are handled by the plugin as devices without a sensor.)
|
|
68
66
|
|
|
69
67
|
## Installation instructions
|
|
@@ -78,6 +76,38 @@ If successfully installed and configured, your devices will appear on the Homebr
|
|
|
78
76
|
|
|
79
77
|
## Upgrade
|
|
80
78
|
|
|
79
|
+
Always check out your current settings in Homebridge and also in Home App (including scenes and automation rules) before you start an upgrade!
|
|
80
|
+
|
|
81
|
+
### v2.1.2 - v2.1.5 to v2.1.6
|
|
82
|
+
|
|
83
|
+
The upgrade is automatic by installing the latest version but configuration settings should be updated.
|
|
84
|
+
|
|
85
|
+
#### Configuration update steps
|
|
86
|
+
|
|
87
|
+
- <ins>Recommended:</ins> Using the graphical user interface of Homebridge ([Homebridge Config UI X](https://www.npmjs.com/package/homebridge-config-ui-x))
|
|
88
|
+
- Open plugin configuration
|
|
89
|
+
- Review and update settings if needed
|
|
90
|
+
- If you have changed the 'Temperature step size' parameter to 1
|
|
91
|
+
- Set each device (with value 1) to disabled
|
|
92
|
+
- Save changes
|
|
93
|
+
- Restart Homebridge
|
|
94
|
+
- Wait until all devices are listed in the log as skipped
|
|
95
|
+
- Set devices to enabled
|
|
96
|
+
- Save changes
|
|
97
|
+
- Restart Homebridge
|
|
98
|
+
- If any device was disabled and re-enabled in previous steps then recreate automations _(automations are lost when you disable a device)_
|
|
99
|
+
- **OR** <ins>Alternative:</ins> Edit the configuration file directly _(Needed only if temperatureStepSize should be added with value 1)_
|
|
100
|
+
- Add the following parameter to each devices in the devices section:
|
|
101
|
+
- temperatureStepSize _(device disabling and re-enabling is needed if value is set to 1)_
|
|
102
|
+
- Change "disabled" to true
|
|
103
|
+
- Save changes
|
|
104
|
+
- Restart Homebridge
|
|
105
|
+
- Wait until all devices are listed in the log as skipped
|
|
106
|
+
- Change "disabled" to false
|
|
107
|
+
- Save changes
|
|
108
|
+
- Restart Homebridge
|
|
109
|
+
- If any device was disabled and re-enabled in previous steps then recreate automations _(automations are lost when you disable a device)_
|
|
110
|
+
|
|
81
111
|
### v2.0.0 - v2.1.1 to v2.1.2 or later
|
|
82
112
|
|
|
83
113
|
The upgrade is automatic by installing the latest version but configuration settings should be updated.
|
|
@@ -85,20 +115,35 @@ The upgrade is automatic by installing the latest version but configuration sett
|
|
|
85
115
|
#### Configuration update steps
|
|
86
116
|
|
|
87
117
|
- <ins>Recommended:</ins> Using the graphical user interface of Homebridge ([Homebridge Config UI X](https://www.npmjs.com/package/homebridge-config-ui-x))
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
118
|
+
- Open plugin configuration
|
|
119
|
+
- Review and update settings if needed
|
|
120
|
+
- Save changes _(pressing the Save button is required to update the configuration to new version even if no changes needed in the displayed values)_
|
|
121
|
+
- if 'Temperature step size' parameter is set to 1 _(available in version v2.1.6 and later)_ then device disabling and re-enabling is needed:
|
|
122
|
+
- Set each device (with value 1) to disabled
|
|
123
|
+
- Save changes
|
|
124
|
+
- Restart Homebridge
|
|
125
|
+
- Wait until all devices are listed in the log as skipped
|
|
126
|
+
- Set devices to enabled
|
|
127
|
+
- Restart Homebridge
|
|
128
|
+
- If any device was disabled and re-enabled in previous steps then recreate automations _(automations are lost when you disable a device)_
|
|
92
129
|
- **OR** <ins>Alternative:</ins> Edit the configuration file directly
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
1
|
|
101
|
-
|
|
130
|
+
- Remove the following parameters from the platform's main section:
|
|
131
|
+
- port _(it may be kept if you want to set the UDP port manually)_
|
|
132
|
+
- scanAddress
|
|
133
|
+
- scanCount
|
|
134
|
+
- scanTimeout
|
|
135
|
+
- Optionally you can add the following parameter to the platform's main section:
|
|
136
|
+
- scanInterval _(default is 60 if missing, needed only if other value required)_
|
|
137
|
+
- Optionally you can add the following parameter to each devices in the devices section _(available in version v2.1.6 and later)_:
|
|
138
|
+
- temperatureStepSize _(device disabling and re-enabling is needed if value is set to 1)_
|
|
139
|
+
- Change "disabled" to true
|
|
140
|
+
- Save changes
|
|
141
|
+
- Restart Homebridge
|
|
142
|
+
- Wait until all devices are listed in the log as skipped
|
|
143
|
+
- Change "disabled" to false
|
|
144
|
+
- Save changes
|
|
145
|
+
- Restart Homebridge
|
|
146
|
+
- If any device was disabled and re-enabled in previous steps then recreate automations _(automations are lost when you disable a device)_
|
|
102
147
|
|
|
103
148
|
### v1.x.x to v2.0.0 or later
|
|
104
149
|
|
|
@@ -107,10 +152,10 @@ There is no clean way to update the plugin to release v2.0.0 or later if you are
|
|
|
107
152
|
#### Upgrade steps
|
|
108
153
|
|
|
109
154
|
1. Check out your current settings in Homebridge and also in Home App (including scenes and automation rules)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
155
|
+
1. Uninstall the old version (this will remove all settings also)
|
|
156
|
+
1. Install the new version
|
|
157
|
+
1. Configure plugin in Homebridge
|
|
158
|
+
1. Assign accessories to rooms and recreate scenes and automations in Home App
|
|
114
159
|
|
|
115
160
|
## Example configuration
|
|
116
161
|
_Only the relevant part of the configuration file is displayed:_
|
|
@@ -126,7 +171,7 @@ _Only the relevant part of the configuration file is displayed:_
|
|
|
126
171
|
"mac": "502cc6000000",
|
|
127
172
|
"name": "Living room AC",
|
|
128
173
|
"ip": "192.168.1.2",
|
|
129
|
-
"port": 7003
|
|
174
|
+
"port": 7003,
|
|
130
175
|
"statusUpdateInterval": 10,
|
|
131
176
|
"encryptionVersion": 0,
|
|
132
177
|
"model": "Pulse 3.2kW GWH12AGB-K6DNA1A/I",
|
|
@@ -134,6 +179,7 @@ _Only the relevant part of the configuration file is displayed:_
|
|
|
134
179
|
"minimumTargetTemperature": 16,
|
|
135
180
|
"maximumTargetTemperature": 30,
|
|
136
181
|
"sensorOffset": 40,
|
|
182
|
+
"temperatureStepSize": 1,
|
|
137
183
|
"temperatureSensor": "disabled",
|
|
138
184
|
"xFanEnabled": true,
|
|
139
185
|
"overrideDefaultVerticalSwing": 0,
|
|
@@ -152,22 +198,25 @@ _It's not recommended to add the port and ip parameters. The above example conta
|
|
|
152
198
|
* scanInterval - time period in seconds between device query retries (defaults to 60 sec if missing)
|
|
153
199
|
* devices - devices should be listed in this block (specify as many devices as you have on your network)
|
|
154
200
|
* mac - MAC address (Serial Number) of the device
|
|
155
|
-
* name - custom name of the device (optional) Please use only alphanumeric, space, and apostrophe characters. Ensure it starts and ends with an alphabetic or numeric character, and avoid emojis.
|
|
201
|
+
* name* - custom name of the device (optional) Please use only alphanumeric, space, and apostrophe characters. Ensure it starts and ends with an alphabetic or numeric character, and avoid emojis.
|
|
156
202
|
* ip - device IP address (optional) Address is auto detected if this parameter is missing. **Specify only if device is located on a different subnet then homebridge!**
|
|
157
203
|
* port - free UDP port (optional) (plugin will listen on this port for data received from the device; valid values: 1025 - 65535) **Do not specify a port unless you have trouble with automatic port assignment!**
|
|
158
204
|
* statusUpdateInterval - device status will be refreshed based on this interval (in seconds, default is 10 seconds)
|
|
159
205
|
* encryptionVersion - Auto (0) is fine for most AC units. If auto does not work then you can force v1 (1) or v2 (2) encryption version to use in network communication
|
|
160
|
-
* model - model name, information only (optional)
|
|
161
|
-
* speedSteps - fan speed steps of the unit (valid values are: 3 and 5)
|
|
162
|
-
* minimumTargetTemperature - minimum target temperature accepted by the device (default is 16 °C, must be specified in °C, valid values:
|
|
163
|
-
* maximumTargetTemperature - maximum target temperature accepted by the device (default is 30 °C, must be specified in °C, valid values:
|
|
206
|
+
* model* - model name, information only (optional)
|
|
207
|
+
* speedSteps* - fan speed steps of the unit (valid values are: 3 and 5)
|
|
208
|
+
* minimumTargetTemperature* - minimum target temperature accepted by the device (default is 16 °C, must be specified in °C, valid values: 8-30, values less than 16 work only in heating mode and on selected models only)
|
|
209
|
+
* maximumTargetTemperature* - maximum target temperature accepted by the device (default is 30 °C, must be specified in °C, valid values: 8-30, values less than 16 work only in heating mode and on selected models only)
|
|
164
210
|
* sensorOffset - device temperature sensor offset value for current temperature calibration (default is 40 °C, must be specified in °C)
|
|
165
|
-
*
|
|
211
|
+
* temperatureStepSize* - numeric parameter, valid values: 0.5 and 1 (defaults to 0.5 if missing) Controls the acceptable temperature values in Home App (It is recommended to set it to 1 if Celsius display mode is used on the AC unit and 0.5 in Fahrenheit display mode.)
|
|
212
|
+
* temperatureSensor - controls additional temperature sensor accessory in Home App (disabled = do not add to Home App / child = add as a child accessory / separate = add as a separate (independent) accessory)
|
|
166
213
|
* xFanEnabled - automatically turn on xFan functionality in supported device modes (xFan actual setting is not modified by the Home App if disabled)
|
|
167
214
|
* overrideDefaultVerticalSwing - by default this plugin does not change the vertical swing position of the AC unit but some devices do not keep the original vertical position set by the remote control if controlled from Homebridge and return back to device default position; this setting allows to override the default position -> if AC unit is set to default vertical swing position Homebridge modifies it to a predefined position (set by defaultVerticalSwing) (Never (0) = turn off override, let device use default / After power on (1) = override default position on each power on / After power on and swing disable (2) = override default position on each power on and each time when swing is switched to disabled)
|
|
168
215
|
* defaultVerticalSwing - specify the vertical swing position to be used instead of device default when overriding is enabled (Device default (0) = use device default, same position as used by device by default without overriding / one of the following 5 positions: fixed Highest (2), fixed Higher (3), fixed Middle (4), fixed Lower (5), fixed Lowest (6))
|
|
169
216
|
* disabled - set to true if you do not want to control this device in the Home App _(can be used also to temporarily remove the device from Home App but not if the device is not responding any more on the network)_
|
|
170
217
|
|
|
218
|
+
(*) these parameters are initalized only once on device enable; device must be disabled an re-enabled to apply a new value
|
|
219
|
+
|
|
171
220
|
Recommended configuration:
|
|
172
221
|
|
|
173
222
|

|
|
@@ -197,13 +246,19 @@ Unfortunaltely if you have multiple devices you will not know which MAC address
|
|
|
197
246
|
### Device settings
|
|
198
247
|
|
|
199
248
|
Some settings are initialized by Home App only once (when enabling the device). They can only be changed by disabling and re-enabling the device. The following settings are affected:
|
|
200
|
-
|
|
201
249
|
* name
|
|
202
250
|
* model
|
|
203
251
|
* speedSteps
|
|
252
|
+
* minimumTargetTemperature
|
|
253
|
+
* maximumTargetTemperature
|
|
254
|
+
* temperatureStepSize
|
|
255
|
+
|
|
256
|
+
Changes of the above parameters are ignored until the device is disabled and re-enabled.
|
|
204
257
|
|
|
205
258
|
All other settings are applied when starting up Homebridge. You have to restart Homebridge to apply changes in configuration settings.
|
|
206
259
|
|
|
260
|
+
__Keep in mind that disabling the device removes all associated automations from the Home App.__
|
|
261
|
+
|
|
207
262
|
### IP address
|
|
208
263
|
|
|
209
264
|
IP addresses of the AC units are determined automatically by the plugin. However this auto detection works only if the AC unit is on the same subnet as homebridge. There is an optional IP address parameter which can be used to specifiy the unit's IP address if it is on a different subnet. (Routing should be correctly set up to communicate with units on different subnets.)
|
|
@@ -215,11 +270,13 @@ Network communication uses UDP ports. There are two kind of ports:
|
|
|
215
270
|
- Plugin port. This port is used by the plugin to communicate on the network.
|
|
216
271
|
- Device specific port. The plugin is listening for data received from the device using this port.
|
|
217
272
|
|
|
218
|
-
All ports are set up automatically by default. In some cases auto detection is not appropriate. (E.g. when firewall rules should be set up) It is possible to overwrite the default ports by optional port parameters (for the plugin and also for each devices). _Note that the ports must be unique._
|
|
273
|
+
All ports are set up automatically by default. In some cases auto detection is not appropriate. (E.g. when firewall rules should be set up) It is possible to overwrite the default ports by optional port parameters (for the plugin and also for each devices). _Note that the ports must be unique and not used by other applications._
|
|
219
274
|
|
|
220
275
|
### Temperature display units
|
|
221
276
|
|
|
222
|
-
Home App allows to set the device temperature display units but it is independent from the temperature units shown in Home App. Home App always displays temperature values as specified by iOS/MacOS (can be changed in Preferences / Regional settings section). Display unit conversion is made by the Home App device (e.g. iPhone).
|
|
277
|
+
Home App allows to set the device temperature display units but it is independent from the temperature units shown in Home App. Home App always displays temperature values as specified by iOS/iPadOS/MacOS (can be changed in Preferences / Regional settings section). Display unit conversion is made by the Home App device (e.g. iPhone).
|
|
278
|
+
|
|
279
|
+
GREE Air Conditioners do not support displaying decimals of temperature values. If you normally use the AC unit in Celsius display mode then it is recommended to use also the Home App device (e.g. iPhone) in Celsius mode and set the temperatureStepSize parameter to 1. Fahrenheit mode recommends the same consistency (Fahrenheit mode on both sides and temperatureStepSize parameter set to 0.5) This helps to avoid displaying inconsistent values on the connected devices.
|
|
223
280
|
|
|
224
281
|
### Temperature measurement
|
|
225
282
|
|
|
@@ -237,7 +294,7 @@ Fan speed is adjustable on the Heater Cooler's settings page in Home App. There
|
|
|
237
294
|
|
|
238
295
|
Slider description: Zero means off. Minimum value turns on Quiet mode. Next value is Auto mode. Maximum value is Powerful mode. All other values between them are exact fan speeds (Low, MediumLow**, Medium, MediumHigh**, High)
|
|
239
296
|
|
|
240
|
-
** these values are supported only on 5-speed models
|
|
297
|
+
(**) these values are supported only on 5-speed models
|
|
241
298
|
|
|
242
299
|
### Accessory removal
|
|
243
300
|
|
|
@@ -253,9 +310,34 @@ If you need to remove an old AC unit which is not accessible any more (e.g hardw
|
|
|
253
310
|
|
|
254
311
|
On some platforms the graphical user interface of Homebridge does not support accessory removal. In this case you have to remove and reinstall the plugin to remove a deprecated accessory or you need to manually edit the cache file (it requires advanced Homebridge technical knowledge).
|
|
255
312
|
|
|
313
|
+
### How to restart Home App
|
|
314
|
+
|
|
315
|
+
Some settings are updated only after Home App restart. Restarting the Home App means you have to remove it from memory and start again.
|
|
316
|
+
|
|
317
|
+
On iPhone these steps are required to quit the app:
|
|
318
|
+
1) From the Home Screen, swipe up from the bottom of the screen and pause in the middle of the screen.
|
|
319
|
+
1) Swipe right or left to find the app that you want to close.
|
|
320
|
+
1) Swipe up on the app's preview to close the app.
|
|
321
|
+
|
|
322
|
+
On iPad follow these steps to quit the app:
|
|
323
|
+
1) Swipe up from the bottom of the screen and hold. You will see all open apps and their preview.
|
|
324
|
+
1) Swipe horizontally to find the app you wish to close. Finally, swipe up on an app card to force quit it.
|
|
325
|
+
|
|
326
|
+
Sometimes Home App restart does not update the changed settings. In this case restarting the Home App device (e.g. iPhone) can help.
|
|
327
|
+
|
|
328
|
+
**Keep in mind that some settings are updated in Homebridge only once when the device is enabled. If you change one of these settings you have to disable and re-enable the device to tell Homebridge the new value. Home App can update the value only if Homebridge already knows the new value. See [Device settings](#device-settings)**
|
|
329
|
+
|
|
330
|
+
### Temperature step size
|
|
331
|
+
|
|
332
|
+
There is a configuration parameter (temperatureStepSize; available in version v2.1.6 and later) which controls the selectable target temperature values in Home App. There are two valid values:
|
|
333
|
+
- 0.5 -> this is designed for Fahrenheit temperature units
|
|
334
|
+
- 1 -> this is designed for Celsius temperature units
|
|
335
|
+
|
|
336
|
+
It is recommended to use the appropriate value to let Home App work consistently with GREE Air Conditioner units. GREE AC units do not support decimals of temperature values.
|
|
337
|
+
|
|
256
338
|
### Troubleshouting
|
|
257
339
|
|
|
258
|
-
Most known errors are fixed by later versions. If so
|
|
340
|
+
Most known errors are fixed by later versions. If so you can upgrade to the latest version and it will solve the problem. Some errors may require some additional steps.
|
|
259
341
|
|
|
260
342
|
#### "Failed to save cached accessories to disk: Converting circular structure to JSON" error
|
|
261
343
|
|
|
@@ -272,13 +354,19 @@ This error is fixed in v2.1.2 and later. First upgrade the plugin to the latest
|
|
|
272
354
|
|
|
273
355
|
Do not try to restore Homebridge configuration from backup because this error means that the cached configuration is corrupt and all the backups contain also the corrupt configuration! Restoring settings from backup will restore the error also.
|
|
274
356
|
|
|
357
|
+
#### "Characteristic '... Threshold Temperature': characteristic was supplied illegal value ..."
|
|
358
|
+
|
|
359
|
+
This message is displayed only in debug log and is usually followed by an error message. These messages can safely ignored. They are telling that GREE Heating / Cooling threshold limits are more restrictive than Apple's default values.
|
|
360
|
+
|
|
275
361
|
#### Unusual behaviour
|
|
276
362
|
|
|
277
363
|
Check if you are using the correct version of configuration settings. It is always recommended to open and save the actual configuration settings using the graphical user interface of Homebridge. Pressing the Save button on the GUI automatically converts the configuration settings to the actual version. It is useful to re-save the configuration after each upgrade or downgrade even if there are no visible changes in the parameters.
|
|
278
364
|
|
|
279
365
|
#### Device not responding
|
|
280
366
|
|
|
281
|
-
|
|
367
|
+
Versions earlier than v2.1.4 could add AC unit devices to Home App as an accessory when the device was detected but could not be bound (e.g. unsupported device). If you are using a version earlier than v2.1.4 and encounter this issue please upgrade to the latest version, then disable and re-enable your device.
|
|
368
|
+
|
|
369
|
+
Versions v2.1.4 and later check binding before Home App registration and do not add unsupported devices to Home App. If you have a device which is not responding then it is probably not working (e.g. unplugged power cord or hardware failure) or is malfunctioning. Usually a device restart solves the problem (removing power from the device by unplugging or by using a hardware switch and after a few minutes restoring power).
|
|
282
370
|
|
|
283
371
|
## Refs & Credits
|
|
284
372
|
|
package/config.schema.json
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"minimumTargetTemperature": {
|
|
73
73
|
"type": "integer",
|
|
74
74
|
"required": false,
|
|
75
|
-
"minimum":
|
|
75
|
+
"minimum": 8,
|
|
76
76
|
"placeholder": 16
|
|
77
77
|
},
|
|
78
78
|
"maximumTargetTemperature": {
|
|
@@ -110,6 +110,12 @@
|
|
|
110
110
|
}
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
+
"temperatureStepSize": {
|
|
114
|
+
"type": "number",
|
|
115
|
+
"minimum": 0.5,
|
|
116
|
+
"multipleOf": 0.5,
|
|
117
|
+
"required": false
|
|
118
|
+
},
|
|
113
119
|
"disabled": {
|
|
114
120
|
"type": "boolean"
|
|
115
121
|
},
|
|
@@ -358,23 +364,32 @@
|
|
|
358
364
|
}
|
|
359
365
|
},
|
|
360
366
|
{
|
|
361
|
-
"key": "devices[].
|
|
367
|
+
"key": "devices[].temperatureStepSize",
|
|
362
368
|
"flex": "1 1 50%",
|
|
363
|
-
"title": "Temperature
|
|
364
|
-
"description": "
|
|
369
|
+
"title": "Temperature step size:",
|
|
370
|
+
"description": "Valid values: 0.5 (for °F) and 1 (for °C)<BR />(0.5 if empty or invalid)",
|
|
365
371
|
"condition": {
|
|
366
372
|
"functionBody": "return (model.devices && model.devices[arrayIndices] && model.devices[arrayIndices].mac && /^[a-f0-9]{12}$/.test(model.devices[arrayIndices].mac) && model.devices[arrayIndices].disabled !== true);"
|
|
367
373
|
}
|
|
368
374
|
},
|
|
369
375
|
{
|
|
370
376
|
"key": "devices[].xFanEnabled",
|
|
371
|
-
"flex": "1 1
|
|
377
|
+
"flex": "1 1 50%",
|
|
372
378
|
"title": "xFan enabled",
|
|
373
379
|
"description": "If enabled, then xFan functionality is turned on automatically on the device",
|
|
374
380
|
"condition": {
|
|
375
381
|
"functionBody": "return (model.devices && model.devices[arrayIndices] && model.devices[arrayIndices].mac && /^[a-f0-9]{12}$/.test(model.devices[arrayIndices].mac) && model.devices[arrayIndices].disabled !== true);"
|
|
376
382
|
}
|
|
377
383
|
},
|
|
384
|
+
{
|
|
385
|
+
"key": "devices[].temperatureSensor",
|
|
386
|
+
"flex": "1 1 50%",
|
|
387
|
+
"title": "Temperature sensor:",
|
|
388
|
+
"description": "Additional temperature sensor in Home App",
|
|
389
|
+
"condition": {
|
|
390
|
+
"functionBody": "return (model.devices && model.devices[arrayIndices] && model.devices[arrayIndices].mac && /^[a-f0-9]{12}$/.test(model.devices[arrayIndices].mac) && model.devices[arrayIndices].disabled !== true);"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
378
393
|
{
|
|
379
394
|
"key": "devices[].overrideDefaultVerticalSwing",
|
|
380
395
|
"flex": "1 1 50%",
|
package/dist/platform.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,qBAAqB,EAAE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAc,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,qBAAqB,EAAE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,EAAE,cAAc,EAAc,MAAM,YAAY,CAAC;AASxI,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;GAIG;AACH,qBAAa,cAAe,YAAW,qBAAqB;aAaxC,GAAG,EAAE,MAAM;aACX,MAAM,EAAE,cAAc;aACtB,GAAG,EAAE,GAAG;IAd1B,SAAgB,OAAO,EAAE,OAAO,OAAO,CAAwB;IAC/D,SAAgB,cAAc,EAAE,OAAO,cAAc,CAA+B;IAGpF,OAAO,CAAC,OAAO,CAAsC;IACrD,OAAO,CAAC,gBAAgB,CAA0B;IAClD,OAAO,CAAC,cAAc,CAA0B;IAChD,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,eAAe,CAA8B;IAC9C,KAAK,EAAE,MAAM,EAAE,CAAM;gBAGV,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,cAAc,EACtB,GAAG,EAAE,GAAG;IAsC1B;;;OAGG;IACH,kBAAkB,CAAC,SAAS,EAAE,mBAAmB;IAsBjD;;;OAGG;IACH,YAAY;IAUZ,eAAe;IAUf,aAAa,iCA6CX;IAEF,cAAc,4BA4JZ;IAEF,QAAQ;IAiBR,mBAAmB;IAqDZ,YAAY,CAAC,GAAG,EAAE,MAAM;CAGhC"}
|
package/dist/platform.js
CHANGED
|
@@ -9,7 +9,6 @@ const crypto_1 = __importDefault(require("./crypto"));
|
|
|
9
9
|
const os_1 = require("os");
|
|
10
10
|
const settings_1 = require("./settings");
|
|
11
11
|
const platformAccessory_1 = require("./platformAccessory");
|
|
12
|
-
//import { GreeAirConditionerTS } from './tsAccessory';
|
|
13
12
|
const commands_1 = __importDefault(require("./commands"));
|
|
14
13
|
const version_1 = require("./version");
|
|
15
14
|
/**
|
|
@@ -85,11 +84,13 @@ class GreeACPlatform {
|
|
|
85
84
|
{ speedSteps: 5 } : {}),
|
|
86
85
|
...((devcfg.temperatureSensor && Object.values(settings_1.TS_TYPE).includes(devcfg.temperatureSensor.toLowerCase())) ?
|
|
87
86
|
{ temperatureSensor: devcfg.temperatureSensor.toLowerCase() } : { temperatureSensor: settings_1.TS_TYPE.disabled }),
|
|
88
|
-
...(devcfg.minimumTargetTemperature &&
|
|
89
|
-
devcfg.minimumTargetTemperature
|
|
87
|
+
...(devcfg.minimumTargetTemperature &&
|
|
88
|
+
(devcfg.minimumTargetTemperature < Math.min(settings_1.TEMPERATURE_LIMITS.coolingMinimum, settings_1.TEMPERATURE_LIMITS.heatingMinimum) ||
|
|
89
|
+
devcfg.minimumTargetTemperature > Math.max(settings_1.TEMPERATURE_LIMITS.coolingMaximum, settings_1.TEMPERATURE_LIMITS.heatingMaximum)) ?
|
|
90
90
|
{ minimumTargetTemperature: settings_1.DEFAULT_DEVICE_CONFIG.minimumTargetTemperature } : {}),
|
|
91
|
-
...(devcfg.maximumTargetTemperature &&
|
|
92
|
-
devcfg.maximumTargetTemperature
|
|
91
|
+
...(devcfg.maximumTargetTemperature &&
|
|
92
|
+
(devcfg.maximumTargetTemperature < Math.min(settings_1.TEMPERATURE_LIMITS.coolingMinimum, settings_1.TEMPERATURE_LIMITS.heatingMinimum) ||
|
|
93
|
+
devcfg.maximumTargetTemperature > Math.max(settings_1.TEMPERATURE_LIMITS.coolingMaximum, settings_1.TEMPERATURE_LIMITS.heatingMaximum)) ?
|
|
93
94
|
{ maximumTargetTemperature: settings_1.DEFAULT_DEVICE_CONFIG.maximumTargetTemperature } : {}),
|
|
94
95
|
...((devcfg.defaultVerticalSwing && ![commands_1.default.swingVertical.value.default, commands_1.default.swingVertical.value.fixedHighest,
|
|
95
96
|
commands_1.default.swingVertical.value.fixedHigher, commands_1.default.swingVertical.value.fixedMiddle, commands_1.default.swingVertical.value.fixedLower,
|
|
@@ -100,6 +101,18 @@ class GreeACPlatform {
|
|
|
100
101
|
...((devcfg.encryptionVersion && !Object.values(settings_1.ENCRYPTION_VERSION).includes(devcfg.encryptionVersion)) ?
|
|
101
102
|
{ encryptionVersion: settings_1.DEFAULT_DEVICE_CONFIG.encryptionVersion } : {}),
|
|
102
103
|
};
|
|
104
|
+
if (deviceConfig.minimumTargetTemperature && deviceConfig.maximumTargetTemperature &&
|
|
105
|
+
deviceConfig.minimumTargetTemperature > deviceConfig.maximumTargetTemperature) {
|
|
106
|
+
deviceConfig.minimumTargetTemperature =
|
|
107
|
+
Math.min(settings_1.DEFAULT_DEVICE_CONFIG.minimumTargetTemperature, settings_1.DEFAULT_DEVICE_CONFIG.maximumTargetTemperature);
|
|
108
|
+
deviceConfig.maximumTargetTemperature =
|
|
109
|
+
Math.max(settings_1.DEFAULT_DEVICE_CONFIG.minimumTargetTemperature, settings_1.DEFAULT_DEVICE_CONFIG.maximumTargetTemperature);
|
|
110
|
+
this.log.warn('Warning: Invalid minimum and maximum target temperature values detected ->', `Accessory ${deviceInfo.mac} is using default values instead of the configured ones`);
|
|
111
|
+
}
|
|
112
|
+
if (deviceConfig.temperatureStepSize !== undefined && !Object.values(settings_1.TEMPERATURE_STEPS).includes(deviceConfig.temperatureStepSize)) {
|
|
113
|
+
this.log.warn(`Warning: Invalid temperature step size detected: ${deviceConfig.temperatureStepSize} ->`, `Accessory ${deviceInfo.mac} is using default value (0.5) instead of the configured one`);
|
|
114
|
+
delete deviceConfig.temperatureStepSize;
|
|
115
|
+
}
|
|
103
116
|
Object.entries(settings_1.DEFAULT_DEVICE_CONFIG).forEach(([key, value]) => {
|
|
104
117
|
if (deviceConfig[key] === undefined) {
|
|
105
118
|
deviceConfig[key] = value;
|
|
@@ -193,7 +206,7 @@ class GreeACPlatform {
|
|
|
193
206
|
// do not load temperature sensor accessory here (it will be loaded from heatercooler accessory)
|
|
194
207
|
}
|
|
195
208
|
if (accessory) {
|
|
196
|
-
// mark heatercooler device as
|
|
209
|
+
// mark heatercooler device as processed
|
|
197
210
|
accessory.context.device = deviceInfo;
|
|
198
211
|
accessory.context.deviceType = 'HeaterCooler';
|
|
199
212
|
accessory.displayName = deviceName;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AAC,CAAC,CAAC;SACJ;QACD,OAAO,eAAe,CAAC;IACzB,CAAC;IAEM,YAAY,CAAC,GAAW;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;CACF;AA7XD,wCA6XC"}
|
|
@@ -19,6 +19,7 @@ export declare class GreeAirConditioner {
|
|
|
19
19
|
private status;
|
|
20
20
|
private tsAccessory;
|
|
21
21
|
constructor(platform: GreeACPlatform, accessory: MyPlatformAccessory, deviceConfig: DeviceConfig, tsAccessoryMac: string);
|
|
22
|
+
initCharacteristics(): void;
|
|
22
23
|
initAccessory(): void;
|
|
23
24
|
checkBindingStatus(bindNo: number): void;
|
|
24
25
|
/**
|
|
@@ -55,13 +56,12 @@ export declare class GreeAirConditioner {
|
|
|
55
56
|
getTemperatureDisplayUnits(): Promise<CharacteristicValue>;
|
|
56
57
|
getSwingMode(): Promise<CharacteristicValue>;
|
|
57
58
|
getRotationSpeed(): Promise<CharacteristicValue>;
|
|
58
|
-
initThresholdTemperature(HeaterCoolerState: number): void;
|
|
59
59
|
getDeviceLabel(): string;
|
|
60
60
|
getCols(): string[];
|
|
61
61
|
getKeyName(obj: any, value: any, subkey?: any): string;
|
|
62
|
-
calcDeviceTargetTemp(temp: number): number;
|
|
63
|
-
calcDeviceTargetOffset(temp: number): number;
|
|
64
|
-
getTargetTempFromDevice(temp: any, offset: any): number;
|
|
62
|
+
calcDeviceTargetTemp(temp: number, unit?: number): number;
|
|
63
|
+
calcDeviceTargetOffset(temp: number, unit?: number): number;
|
|
64
|
+
getTargetTempFromDevice(temp: any, offset: any, unit: any): number;
|
|
65
65
|
get power(): boolean;
|
|
66
66
|
set power(value: boolean);
|
|
67
67
|
get mode(): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platformAccessory.d.ts","sourceRoot":"","sources":["../src/platformAccessory.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAE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