Skip to content
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 VRF Support #72

Open
vellad1 opened this issue Aug 13, 2021 · 0 comments
Open

Gree VRF Support #72

vellad1 opened this issue Aug 13, 2021 · 0 comments

Comments

@vellad1
Copy link

vellad1 commented Aug 13, 2021

Hi,

Tried the project but did not work for me and I am assuming it's because I have a Gree VRF system with 1 compressor and 4 internal units. They are exposed by a single IP.

I wiresharked the commans and what i foudn was that after the scan request {"t": "scan"} the JSON response has an extra field that seems to report how many internal units the unit has - the pack of the JSON return below:

{

			"t": "dev",
			"cid": "",
			"bc": "",
			"brand": "",
			"catalog": "",
			"mac": "b4430dd50fd2",
			"mid": "60",
			"model": "",
			"name": "格�空�",
			"lock": 0,
			"series": "",
			"vender": "",
			"ver": "",
			"subCnt": 4  (does this mean  it has 4 internal units)? seems to imply 
		}

The Gree Mobile App will then send the bind request as per the pack below:

{ "mac": "b4430dd50fd2",
"t": "bind",
"uid": 0
}

and return the unique key as per the below pack:

**{
			"r": 200,
			"t": "bindOk",
			"mac": "b4430dd50fd2",
			"key": "<UNIQUE KEY>"
		}**

The app then sends the JSON request below:

{"cid":"app","i":0,"pack":"huCTfZr+tmfrmjj5cppWoTuRTSHPH07rvUULx9II4CbtaD8c5Kb1s8De+taRtAFLGRthyav6ml/pLwGix91Arw==","t":"pack","tcid":"b4430dd50fd2","uid":1677840}

and the A/C responds with a JSON request with the pack below that clearly shows the 4 internal units that form part of the VRF.

**{
			"t": "subList",
			"c": 4,
			"i": 0,
			"list": [
				{
					"mac": "5259911b000000", 
					"name": "格�空�",
					"mid": "604b",
					"model": "",
					"lock": 0
				},
				{
					"mac": "fa7ad91a000000",
					"name": "格�空�",
					"mid": "604b",
					"model": "",
					"lock": 0
				},
				{
					"mac": "61fed31a000000",
					"name": "格�空�",
					"mid": "604b",
					"model": "",
					"lock": 0
				},
				{ 
					"mac": "dcecd31a000000", 
					"name": "格�空�",
					"mid": "604b",
					"model": "",
					"lock": 0
				}
			],
			"r": 200
		}**

From them on to get set command I will need to use the relevant mac of the sub ac for the A/C to work.

By any chance; are there any plans to support VRF systems? I would be happy to help with debugging etc. I don't use Home Assistant but can test via MQTT.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant