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

Integrate WebServer Airzone cloud EthernetWEBSERVER AIRZONE CLOUD ETHERNET #1

Open
gpulido opened this issue Apr 16, 2020 · 5 comments

Comments

@gpulido
Copy link
Owner

gpulido commented Apr 16, 2020

Following gpulido/homeassistant-airzone#1
Using http://myzone.airzonefrance.fr/produits/gamme-2016/innobus-pro6/commandes-centralisees/webserver-airzone-cloud-ethernet-256.html#tab-Integracion
Create a Rest Api client that could recover information from the api and back.

@gpulido
Copy link
Owner Author

gpulido commented Apr 16, 2020

@itom07 I would need that you provide some response examples from the api.
Following the integration link, and using a Rest client (for example https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo?hl=es-419) would you mind writing here the response if you create a POST request to this address:

http://xxx.xxx.xx.xx:3000/api/v1/hvac
with the following BODY:
{"systemId":1, "zoneId":0}

I guess that your system id is 1, if not please try with 2, 3, 4 etc until you find it.
Also I would like a response where a system is NOT found.
And I would need your system identification code.

Any questions please tell me.

@itom07
Copy link

itom07 commented Apr 22, 2020

Hello -> {"systemId": 1, "zoneId": 0}

{
"data": [{
"systemID": 1,
"zoneID": 1,
"name": "T_A",
"on": 1,
"maxTemp": 25,
"minTemp": 15,
"setpoint": 20.500000,
"roomTemp": 20.299999,
"mode": 3,
"coldStages": 1,
"coldStage": 1,
"heatStages": 1,
"heatStage": 1,
"humidity": 72,
"units": 0,
"errors": [],
"air_demand": 1,
"floor_demand": 0
}, {
"systemID": 1,
"zoneID": 2,
"name": "SALON",
"on": 1,
"maxTemp": 25,
"minTemp": 15,
"setpoint": 20.500000,
"roomTemp": 21.200001,
"modes": [1, 4, 2, 3, 5],
"mode": 3,
"coldStages": 1,
"coldStage": 1,
"heatStages": 1,
"heatStage": 1,
"humidity": 62,
"units": 0,
"errors": [],
"air_demand": 0,
"floor_demand": 0
}, {
"systemID": 1,
"zoneID": 3,
"name": "ZONA 03",
"on": 1,
"maxTemp": 25,
"minTemp": 15,
"setpoint": 20.500000,
"roomTemp": 0,
"mode": 3,
"coldStages": 1,
"coldStage": 1,
"heatStages": 1,
"heatStage": 1,
"humidity": 0,
"units": 0,
"errors": [],
"air_demand": 0,
"floor_demand": 0
}, {
"systemID": 1,
"zoneID": 4,
"name": "ZONA 04",
"on": 1,
"maxTemp": 25,
"minTemp": 15,
"setpoint": 20.500000,
"roomTemp": 0,
"mode": 3,
"coldStages": 1,
"coldStage": 1,
"heatStages": 1,
"heatStage": 1,
"humidity": 0,
"units": 0,
"errors": [],
"air_demand": 0,
"floor_demand": 0
}, {
"systemID": 1,
"zoneID": 5,
"name": "CHAMBRE 1",
"on": 1,
"maxTemp": 25,
"minTemp": 15,
"setpoint": 19,
"roomTemp": 20,
"mode": 3,
"coldStages": 1,
"coldStage": 1,
"heatStages": 1,
"heatStage": 1,
"humidity": 66,
"units": 0,
"errors": [],
"air_demand": 0,
"floor_demand": 0
}, {
"systemID": 1,
"zoneID": 6,
"name": "BUREAU",
"on": 1,
"maxTemp": 25,
"minTemp": 15,
"setpoint": 20,
"roomTemp": 20.799999,
"mode": 3,
"coldStages": 1,
"coldStage": 1,
"heatStages": 1,
"heatStage": 1,
"humidity": 70,
"units": 0,
"errors": [],
"air_demand": 0,
"floor_demand": 0
}]
}

{"systemId": 0, "zoneId": 0}

{"errors":[{"error":"systemid out of range"}]}

@gpulido
Copy link
Owner Author

gpulido commented Apr 22, 2020

Great!
It means that the rest api could be parsed very very easily.
One question regarding such system.
When you set a System heat mode you are setting it for all the zones associates, is that right?
You can't have two zones under the same system one for example on COOL mode and the other on HEAT mode, can you?

@itom07
Copy link

itom07 commented Apr 22, 2020

@gpulido
No, I can’t

An other information
Zone 2-3-4 are command with the same thermostat (it’s my home configuration)

So when I PUT in zone 2 the system changes zones 3-4 automatically ( in local i think)

@jd1900
Copy link

jd1900 commented Feb 18, 2021

Do you need help here? I could help you with this integrations as I've just acquired it

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

3 participants