-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gree] binding does not allow target temperatures below 16°C #14207
Comments
Do you have some official documentation stating the min/ max values? maybe it would be better to remove the range check in the binding and leave it to the user to set this at item level. But this may lead to situations that a temperature is set outside of the device capabilities. It would be interesting to see how the device responds to that. |
I have checked the temperature range from the remote controller unit and from the mobile application. The best document I was able to find online was this brochure: If this change get released, I am volunteering to try out how the device reacts. |
3.4.1 version with the min temp value reduced from 16 to 5 celsius. Not a final fix, just to see what is happening if you try to set it below the treshold of 8. Could you enable debug logging and let me know what happens? |
I installed the snapshot and tested what happens if I set it below 8°C and it works just fine - the temperature stops at 8°C and simply seems to ignore values below that. The display on the unit itself shows 8° as does the iPhone app. I do get some log entries but they do not seem to be related to this as I get the same entries for any temperature:
But this same happens for any target temperature:
I'm not sure if this is related at all but I see this happening quite often:
After re-initialize it seems to work fine again until at some point this same repeats. This might be related to my slightly poor wifi connectivity in garage and as it seems to work fine anyway this is not really an issue for me. Do you think it would make sense to try increasing the network timeout? I forgot to mention I am running OH 3.3.0-1 on Ubuntu 18.04.6, in case that makes a difference. And thanks a lot for getting your hands on this, highly appreciated! |
It seems there is a difference, or some log entries are missing. I don't see that for a valid value: 16 °C. So it would help to have a full set of debug entries that surround the command for a valid ande an invalid value. If we have that we can be sure that it is either an existing bug, or it is a existing feauture that allready handles invalid values. Either way, it should not be needed to re-init the device due to lack of connection, i think it should auto-handle such cases, but i don;t know the binding that good and see that as an out of scope issue. |
Ah, you're right, I did not read the log very carefully. Here's the full log of a failed update of 7°C:
And here's s valid update with 9°C:
Now that I'm trying this repeatedly, I am starting to suspect the above error related to 7°C update might be more likely related to networking issues since I also got this for an update of 7°C:
Which seems like the device just silently ignores the invalid value? The re-init does happen automatically and I did not even know about it before enabling the debug logging so I guess it works fine. If I look at all of this from logs alone, everything seems to run smoothly. My slightly unstable wifi is probably causing these random hickups but the binding seems to handle everything fine. The only thing that comes to my mind is that perhaps there could be a retry mechanism for sending the update again after re-init in case the connection dies in the middle of an update? But that's also a separate issue. |
Thanks for testing. The re-init logic is not related and not something i can improve easily without having actual devices, so i have to leave that for someone else. Atleast the temp range issue has been fixed. |
I have a Nordic model Gree AC/heatpump that I'm using to heat my garage. It has a temperature range of 46°F to 86°F or 8°C to 30°C. As far as I can tell, the minimum has been hard coded to 16°C in GreeBindingConstants.java:
I am normally keeping the garage temperature at around 14°C but the binding does not allow this. Also, when trying to set the temperature below 16°C, the error reported in openhab.log is not very clear:
2023-01-12 13:00:01.541 [INFO ] [ng.gree.internal.handler.GreeHandler] - e890de98ab: Unable to load message for key message.command.invarg
Maybe the debug log would have pointed this out but I did not try that before I found the issue.
I did not find this reported before (this is not the same as the 8°C mode if I understand that one correctly).
The text was updated successfully, but these errors were encountered: