-
Notifications
You must be signed in to change notification settings - Fork 0
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
DHW support #3
Comments
Hi @fredericseiler,
Thanks!
Yes, this is documented in the Airzone Local API. In order to get/update the DHW config systemID should be 0 and there should be no zoneID at all. {
"systemID": 0,
"zoneID": 0
} I need to know how hard it would be to distinguish between HVAC and DHW devices.
Luckily those values seem pretty simple, so it shouldn't be hard to support DHW.
Yeah, that seems to be a bug, since that device shouldn't return any of those values.
We can see if some/all of those values are 0 and avoid exposing the DHW device in that specific case.
No, that isn't an option. |
{
"systems": [{
"data": [{
"systemID": 1,
"zoneID": 1,
"name": "heatpump",
"on": 0,
"double_sp": 0,
"coolsetpoint": 17,
"coolmaxtemp": 0,
"coolmintemp": 15,
"heatsetpoint": 5,
"heatmaxtemp": 0,
"heatmintemp": 15,
"maxTemp": 0,
"minTemp": 15,
"setpoint": 5,
"roomTemp": 0,
"sleep": 0,
"temp_step": 0.5,
"modes": [3],
"mode": 3,
"speed_values": [0],
"speeds": 0,
"speed_type": 0,
"speed": 0,
"coldStages": 0,
"coldStage": 0,
"heatStages": 0,
"heatStage": 0,
"humidity": 0,
"units": 0,
"errors": [],
"air_demand": 0,
"cold_demand": 0,
"heat_demand": 0,
"heatangle": 0,
"coldangle": 0
}]
}]
}
Yeah, maybe |
Thanks @fredericseiler,
Ouch, that system/zone data seems to be completely broken... xD If you add your device to Home Assistant, is it exposed as a climate device? I wonder if there are any devices which can have both climate and water heater devices...
Exactly ;) |
It doesn't bother me; I have the needed attributes for my heat pump (
Yes, it is exposed as a climate device, and yes it works well ;)
You mean to have one device in Home Assistant with a What's the best angle here? I'm not quite sure where to start or how to help. |
I didn't get what you meant by "prevent creating climate devices if water heater data is provided", so, after reading again the whole conversation, just to be super clear: my heat pump is a regular climate device that can also handle DHW (model Hitachi Yutaki S Combi). The systemID 1 > zoneID 1 is thereby totally legit. |
Ok!
I've already started working on it :) |
Wow, so cool!
Like for the usual /hvac endpoint, the response only contains the attributes you submitted: {
"data": {
"systemID": 0,
"acs_power": 1
}
} If I add the setpoint in the request: {
"data": {
"systemID": 0,
"acs_power": 1,
"acs_setpoint": 45
}
} (I'm sure it was a typo, but you also need to use the |
Thanks for the info @fredericseiler, I've now released a new version of aioairzone and I've submitted a PR to the Home Assistant repo with it: After that dependency upgrade PR is merged, I will submit another PR with the Water Heater functionality, which you can find in the following branch: Best regards, |
Thank you so much! |
Water Heater entities PR is now created: |
@fredericseiler I also created a separate PR for exposing the DHW temperature as a sensor: |
Hello, on the ACS device only one sensor appears with the temperature. Is it okay or should I also have an entity to be able to turn it off and on? |
Hi, that's because the PR for the sensor is already merged, but the PR for the entity is still in review. With a bit of luck, it'll be available in the 2023.10 release, so, just wait until October 4 ;) |
@Fonsohome @fredericseiler is the hot water sensor working correctly on the 2023.9 release so far? BTW, I'm currently on vacation without access to a computer, so I'm not sure the water heater entity will be ready for 2023.10 if more changes are requested, but I'll try. |
@Noltari so far so good, thanks! |
Yes it works perfectly. Could the set temperature also be added? |
Yes, it could be added but I don't think it would be accepted. |
Please don't reuse this topic for that and create a new one instead providing more data like the Home Asaistant integration diagnostics. Also you can do that in spanish. |
@Fonsohome that's an issue with your Airzone device: I have the same issue ("Zone temp" is fine in Airtools, but "roomTemp" from the local API always returns 0°C) and the Airzone support is aware of it, as well as min/max temperatures not correctly returned by the local API. @Noltari so it seems that this DHW support will be available in 2023.10 after all ;) Many thanks for your work! |
Thanks |
@fredericseiler @Fonsohome thanks for providing all the info about DHW. Please, let me know if there are any issues once 2023.10 is out. |
|
Hi Noltari,
First of all, thanks for your work!
Is there any way to add support for domestic hot water to the lib and HA integration (as a water heater entity for example)?
I was about to try to draft a PR (not very comfortable with python tbh), but my main concern is that I don't really know how to distinguish systems that handle DHW from systems that don't.
On my Aidoo Pro HI4 (AZAI6WSPHI4 linked to a Hitachi air/water heat pump), I can get DHW data when I send a POST request to the /hvac endpoint with only the global system ID and no specific zone:
And the values returned by the local API:
I can also set the DHW setpoint, power and powerful operation mode, with a PUT request.
But, if I try the same on my Aidoo Pro HI2 (AZAI6WSPHI2 linked to a Hitachi air/air ducted AC, so no DHW), I get similar results:
Besides that all values are set to 0, there's no way to tell them apart (same
ws_type
ws_aidoo, andsystem_type
2).All Airzone integration users that don't deal with DHW will have a ghost water heater, that's far from ideal...
What about another integration dedicated to airzone DHW only? Seems redondant?
The text was updated successfully, but these errors were encountered: