Open gpulido opened 4 years ago
@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.
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"}]}
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?
@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)
Do you need help here? I could help you with this integrations as I've just acquired it
Following https://github.com/gpulido/homeassistant-airzone/issues/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.