New Gree Air Conditioner Binding

openhab2
binding
airconditioning
Tags: #<Tag:0x00007f182adc7348> #<Tag:0x00007f182adc7190> #<Tag:0x00007f182adc6ec0>

(Knackrack) #61

Am i missing something here? the link points to a .zip archive on google drive rather than a .jar

Are we supposed to compile this ourselves? Sorry, kinda new to OH


(Mihai Badea) #62

I updated the link to the 2.4 version in post #55 and here it is one more time org.openhab.binding.greeair-2.4.0-SNAPSHOT.jar
Thanks for pointing that out!
My bad :blush:


(Adam Gem) #63

I’ve just realized that the binding get out of sync when the a/c is controlled by the remote controller. It seems that the official app got refreshed(in a few seconds). Is this an issue on my side or a “missing feature”?


(Mihai Badea) #64

What versionf of the binding are you using?
Could you provide some logs?


(Adam Gem) #65

I did not see any special log entries, however I did not trace yet. Can you confirm this behaviour is unexpected? The a/c is set to 26, shown on my ui, than I set it to 27 via remote controller and ui remains 26. Same with on/off.

If it seems to be an issue I can check and provide trace log.

I am on OH 2.2 and the gree binding is 2.2 too.


(Mihai Badea) #66

With 2.2 I noticed the same problems - see my post #41.
However, the 2.4 version compiled by me is working flawless.
I’m not sure if you can use version 2.4 of the binding with OH 2.2, but you can give it a try…


(Adam Gem) #67

Thank you, I’ve just installed the 2.4 and it works perfectly! No issues with OH2.2 so far.


(Attila Gancsos) #68

Hi All,
I am just configured and everything works fine. What I found there is no option for horizontal swing, only just vertical, and i have a quiet option for the fun speed as well.
Is it a big challenge to develop it?
I have a new version of Amber. It has these functions.
Thank you!


(Mihai Badea) #69

Can you enable logging of the binding and post the reply given by the AC unit?
Mine doesn’t have horizontal swing control…
Might be doable…


(Pavel Usenko) #70

As I see, we have only control Gree, without feedback? So if I, for example, switch fan speed by IR remote control, will it change in openhab?


(John Cunha) #71

I’ve been thining about this…

The binding does a refresh every x seconds (configurable). At that time it queries the aircondirioner for it’s status.

If between queries the remote changes the status, it will not be updated until the next refresh…

J.


(John Cunha) #72

The binding queries the aircon for status every x seconds.

So, yes, changes by the remote are reflected in openhab :slight_smile:


(Mihai Badea) #73

But you’ll need to use the 2.4 version for that.


(Adam Gem) #74

I just started to add some swing related ui components to my floorplan when I found a strange behaviour:
When I use my remote controller to set the swing I can see the following values set on the swing item:
0 1 2 3 4 5 6 7 9 11
After the value 11 it sets to 0, which is the none. 1 is the full, 2-6 fixed angle, 7&9&11 some subset of the 5 stages.

The problem comes in when I try to set these values from the openhab. 0-6 it works perfectly, but nothing happens with value 7, 9 and 11.

Any ideas?

Update:
GreeDevice.java - SetDeviceSwingVertical
// Only allow this to happen if this device has been bound and values are valid
// Only values 0,1,2,3,4,5,6,10,11 allowed

Ok, it turned out that not even the remote controller is working fine :smiley: (maybe it is not the proper remote for this model) Value 7, 9 and 11 is doing exactly the same which is the full mode… Anyway, for any changes in any future model it would make sense to make this sequence configurable imo.


(Pavel Usenko) #75

It`s really woks! Model Gree is GWH12YD-S6DBA2A.


(Funcarver72) #76

Hello,
I have 2 Airconditioners from sales brand TOSOT, which are manufactured by GREE.
With a Wifi interface, I could make them work in openHAB 2.2 together with
the latest gree-binding 2.4.0. Thanks alot for making this available.

I could only make the binding work using the web interface for the thing configuration.
There, I could set the device-IP and the broadcast IP.

In a manual configuration of the thing, I was not able to set the broadcast IP and the thing
and corresponding items were not working.
What is the syntax of thing config including broadcast IP ?

How do I initialize the items of the binding, that all of them pull their current value from the device rather than stay “uninitialized” ?

Regards.