Open Przemekmac1 opened 3 days ago
Hi @Przemekmac1 I need your help because I have never seen a GREE AC which works below 16 °C. Even the official GREE+ mobile app does not support temperatures outside of the 16-30 °C range. I will be happy to extend this range but I need some information about your AC unit. Better said about the network communication of your AC unit. Please create some debug logs. Set your AC unit to the minimum temperature and wait until status updates appear in the log. Then set your unit to the maximum temperature and wait for the next status log entries. I need also the values of the minimum and maximum temperatures which I should search in the logs. It would help me if you create some additional tests with different temperatures outside of the 16-30 °C range and tell me which values are included in the logs. Finally please attach the logs to this issue. Thank You!
Ok, here you are. I checked and they work from 8-30C I can't get update triggered from device to homebridge just by waiting but you can see when I set device to 8C and then make change by homekit it will update 8->XXX
[20/11/2024, 19:32:52] [GREE Air Conditioner] Restarting child bridge... [20/11/2024, 19:32:52] Got SIGTERM, shutting down child bridge process... [20/11/2024, 19:32:57] [GREE Air Conditioner] Child bridge process ended [20/11/2024, 19:32:57] [GREE Air Conditioner] Process Ended. Code: 143, Signal: null [20/11/2024, 19:33:04] [GREE Air Conditioner] Restarting Process... [20/11/2024, 19:33:05] [GREE Air Conditioner] Launched child bridge with PID 1701691 [20/11/2024, 19:33:05] Registering platform 'homebridge-gree-ac.GREEAirConditioner' [20/11/2024, 19:33:05] [GREE Air Conditioner] Loaded homebridge-gree-ac v2.1.5 child bridge successfully [20/11/2024, 19:33:05] Loaded 2 cached accessories from cachedAccessories.xxx. [20/11/2024, 19:33:05] [GREE Air Conditioner] GREEAirConditioner (homebridge-gree-ac) v2.1.5 is running on UDP port 50511 [20/11/2024, 19:33:05] Homebridge v1.8.5 (HAP v0.12.3) (GREE Air Conditioner) is running on port 47870. [20/11/2024, 19:33:05]
NOTICE TO USERS AND PLUGIN DEVELOPERS
Homebridge 2.0 is on the way and brings some breaking changes to existing plugins. Please visit the following link to learn more about the changes and how to prepare: https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0
[20/11/2024, 19:33:05] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] Device handler is listening on UDP port 34152 [20/11/2024, 19:33:05] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] Device is bound -> e [20/11/2024, 19:33:05] [GREE Air Conditioner] [Hangar 1A -- 192.168.40.174:7000] Device handler is listening on UDP port 39503 [20/11/2024, 19:33:05] [GREE Air Conditioner] [Hangar 1A -- 192.168.40.174:7000] Device is bound -> [20/11/2024, 19:34:06] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] targetTemperature -> 16, temperatureOffset -> 0 (-> 16 °C) [20/11/2024, 19:34:06] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] Device updated (["targetTemperature: 8 -> 16"]) [20/11/2024, 19:36:44] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] targetTemperature -> 24, temperatureOffset -> 1 (-> 24.5 °C) [20/11/2024, 19:36:44] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] Device updated (["targetTemperature: 30 -> 24","temperatureOffset: 0 -> 1"]) [20/11/2024, 19:36:48] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] targetTemperature -> 18, temperatureOffset -> 1 (-> 18.5 °C) [20/11/2024, 19:36:48] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] Device updated (["targetTemperature: 24 -> 18"]) [20/11/2024, 19:36:52] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] targetTemperature -> 16, temperatureOffset -> 0 (-> 16 °C) [20/11/2024, 19:36:52] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] Device updated (["targetTemperature: 18 -> 16","temperatureOffset: 1 -> 0"]) [20/11/2024, 19:37:18] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] targetTemperature -> 27, temperatureOffset -> 0 (-> 26.5 °C) [20/11/2024, 19:37:18] [GREE Air Conditioner] [Hangar 1B -- 192.168.40.121:7000] Device updated (["targetTemperature: 8 -> 27"])
Wifi firmware at the unit is 1.23,
I should say that 8C is available in HEAT mode, not COOL mode.
Thank You! Please turn on debug mode in homebridge and send me debug level logs about your units. The attached log contains only information level messages not debug ones. You can turn on debug mode on the settings page in homebridge UI.
here it is
Thank You! If I understand well then 8 °C is the minimum and 30 °C is the maximum in heating mode on your device, Am I right? What are the limits in cooling mode?
Yes - heat mode is 8C-30C, cooling mode is 16C - 30C. We use it mainly for heating :)
Would you be so kind to set your AC unit to Fahrenheit display mode and collect some more debug logs? I need primarily the lines containing "handleMessage - Package -> {...}" and "Device status -> {...}" I need these lines and information of the target temperature (in Fahrenheit) which was set when the log entry was written. I need information at least about 46°F, 47°F, 50°F, 59°F, 60°F, 61°F but it would be nice if I could get all values between 46°F and 62°F (Please mark every log entry to let me know the temperature which should be logged by the actual entry. Log entries do not contain Fahrenheit values so I can't decide the real value without additional information.) Thank You!
Sure, attached. homebridge-gree-ac.log.txt
Its Hangar 1B
Sorry,I was too fast. Here its new log. I changed heating target every minute (Hangar 1B). 21:49 46F 21:50 47F 21:51 50F 21:52 59F 21:53 60F 21:54 61F
I hope it logged correctly.
Minimum temperature at plugin is 16C but AC's work from 13.
Its expected to be able setup min temp. of 13C
{ "name": "GREE Air Conditioner", "scanInterval": 60, "devices": [ { "mac": "", "name": "Hangar 1A", "speedSteps": 5, "statusUpdateInterval": 10, "sensorOffset": 40, "minimumTargetTemperature": 16, "maximumTargetTemperature": 30, "xFanEnabled": false, "temperatureSensor": "disabled", "overrideDefaultVerticalSwing": 0, "defaultVerticalSwing": 0, "encryptionVersion": 0 }, { "mac": "", "name": "Hangar 1B", "speedSteps": 5, "statusUpdateInterval": 10, "sensorOffset": 40, "minimumTargetTemperature": 16, "maximumTargetTemperature": 30, "xFanEnabled": false, "temperatureSensor": "disabled", "overrideDefaultVerticalSwing": 0, "defaultVerticalSwing": 0, "encryptionVersion": 0 } ], "_bridge": { "username": "", "port": 47870 }, "platform": "GREEAirConditioner" }
Screenshots:
Environment: