I fixed the calculation of min/max for groups when some were off.
Please try again after updating to version 1.2.0, hopefully it should have all bugs fixed.
OK, that has fixed the determination of the correct temperature, but the ITC sensors on Upstairs (AC1) are still affecting Min/Max settings on Downstairs (AC0) system. At least in my situation where the two ACs are servicing different areas, they should be behaving independently.
Yes that was correct, I just pushed an update to version 1.2.1 where now each AC unit has a separate list with just their own groups, instead of keeping on big list. So now ACs should not affect each other and the min/max settings should be correct.
Iāll be waiting for your experience after updating to 1.2.1, thanks for testing!
All my ITC thermostats have disappeared now. They showed as orphaned so I removed integration and re-added and they havenāt re-appeared. Theyāre still available under the Fan section and they have the option for ITC / Damper unlike the non-ITC groups so theyāre being detected to some extent. AC0 is able to be set to 16 now even with the ITCs being set for 21, but Iām not sure if thatās because itās fixed or just because they havenāt been detected correctly.
2021-11-01 12:04:44 ERROR (MainThread) [homeassistant.components.remote] The harmony platform for the remote integration does not support platform setup. Please remove it from your config.
2021-11-01 12:04:45 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server (0 bytes read on a total of 32 expected bytes)
2021-11-01 12:04:45 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server
2021-11-01 12:04:46 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform polyaire
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 498, in _async_add_entity
capabilities=entity.capability_attributes,
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 228, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/config/custom_components/polyaire/climate.py", line 134, in min_temp
return self._ac["ac_min_temp"]
TypeError: 'AirTouchACStatus' object is not subscriptable
2021-11-01 12:04:46 ERROR (MainThread) [homeassistant.components.climate] Error while setting up polyaire platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 498, in _async_add_entity
capabilities=entity.capability_attributes,
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 228, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/config/custom_components/polyaire/climate.py", line 134, in min_temp
return self._ac["ac_min_temp"]
TypeError: 'AirTouchACStatus' object is not subscriptable
2021-11-01 12:05:02 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server (0 bytes read on a total of 32 expected bytes)
2021-11-01 12:05:02 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server
2021-11-01 12:08:49 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'mappingproxy object' has no attribute 'current_temperature' when rendering '{{ state.attributes.current_temperature }}'
2021-11-01 12:08:49 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error in 'Upstairs Cool' trigger: In 'numeric_state' condition: entity climate.upstairs state '' cannot be processed as a number
2021-11-01 12:08:49 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'mappingproxy object' has no attribute 'current_temperature' when rendering '{{ state.attributes.current_temperature }}'
2021-11-01 12:08:49 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error in 'Upstairs Heat' trigger: In 'numeric_state' condition: entity climate.upstairs state '' cannot be processed as a number
2021-11-01 12:08:49 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error in 'Upstairs Cool' trigger: In 'numeric_state' condition: no entity specified
2021-11-01 12:08:49 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error in 'Upstairs Heat' trigger: In 'numeric_state' condition: no entity specified
2021-11-01 12:09:08 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform polyaire
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 498, in _async_add_entity
capabilities=entity.capability_attributes,
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 228, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/config/custom_components/polyaire/climate.py", line 134, in min_temp
return self._ac["ac_min_temp"]
TypeError: 'AirTouchACStatus' object is not subscriptable
2021-11-01 12:09:08 ERROR (MainThread) [homeassistant.components.climate] Error while setting up polyaire platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 498, in _async_add_entity
capabilities=entity.capability_attributes,
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 228, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/config/custom_components/polyaire/climate.py", line 134, in min_temp
return self._ac["ac_min_temp"]
TypeError: 'AirTouchACStatus' object is not subscriptable
I removed and re-added the integration previously and Iāve just deleted the integration from HA, removed it from HACS and then re-added. Still missing the Thermostats.
2021-11-01 13:12:24 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform polyaire
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 498, in _async_add_entity
capabilities=entity.capability_attributes,
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 228, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/config/custom_components/polyaire/climate.py", line 134, in min_temp
return self._ac["ac_min_temp"]
TypeError: 'AirTouchACStatus' object is not subscriptable
2021-11-01 13:12:24 ERROR (MainThread) [homeassistant.components.climate] Error while setting up polyaire platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 498, in _async_add_entity
capabilities=entity.capability_attributes,
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 228, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/config/custom_components/polyaire/climate.py", line 134, in min_temp
return self._ac["ac_min_temp"]
TypeError: 'AirTouchACStatus' object is not subscriptable
@Brett.Grivell oh yes I had a typoā¦ fixed it now in v.1.2.2
You might have to delete the integration and add it again this time tooā¦
Nope, just an update / restart and theyāre all back. And AC0 is still able to be set down to 16 even with the ITCs on AC1 set to various temps. So, I think thatās looking pretty good. Thanks so much for your time working on this. Iāll keep testing various scenarios to see if I can break it for you .
Now to take advantage of this new power and try to work out why my Automations arenāt behaving like I think they should.
I have to say, Iām really liking HACS too. After the latest HA updating taking out my Tuya integrations, the ability to update the integrations separately from the main system seems like a really good idea .
So far so good, the controls are behaving as Iād expect them to; thank you again.
Iāve got two automations setup so that if the temperature is above 25 it turns on to cool down to 25 and if it goes below 20 it turns on to heat up to 20. I have another to turn the system to Fresh if itās between 21 and 24 (as long as the system is already on). These are working well but Iām thinking it could be smarter if I was able to detect it was spilling. Is there a way to see what the Dampers are set to when in ITC mode?
Can you expand on this a little please ?
We have recently had a new Daikin installed with AirTouch 4 and ITCs in each room.
We have 5 zones in total - each with an ITC and a Damper.
My understanding is that i can use the control panel/app to set a target temperature for each room and then the system will open/close/move the dampers to keep each room at its set temperature ?
In the event that i have too much airflow for a single room (for instance) it will open the spill zone to enable the room to still maintain its set level.
Is that the correct mode of operation ? What functon are you proposing to modify within your code ?
Craig
Just came across another issue. Had some problems with my router today resulting in the network being up and down quite a bit. Looks like HA Integration didnāt automatically reconnect to AT4 and therefore didnāt pickup changing temperatures on the ITCs, resulting in the Automations not firing. As soon as I made a change in any of the AC controls in HA it re-established a connection and updated the ITC temperatures.
Iāll have a look, thanks.
Yes, that is correct.
However, in practice the behaviour is that when target temps are achieved, the AC will not go in āstand-byā, but instead it will continue its operation with most of the dampers closed, and will open the spill zone. The better solution would be to shut down the compressor and donāt use power for nothing
Iāve pushed version 1.2.3, reconnection should be better now
Thanks. Iām still having dropouts with my router / NBN which Iām assuming is the cause of the AT4 connection dropping out again this morning. Iāve installed the update and will let you know if I experience any further glitches.
Looks like Iām still getting some kind of disconnect. Looking in HA, Kyleās room said 23.3 which I thought was a bit low given itās North facing. When I checked the AT4 app, it said the room was 26. I adjusted the temperature for his room in the AT4 app and the temperature reported in HA suddenly jumped to 25.4
Iām seeing a similar jump in other rooms too. Although I didnāt adjust them, adjusting something in the AT4 appears to have caused all of HA to update.
EDIT: According to my router, I havenāt had any NBN drop outs since 10am 8th Nov so it doesnāt appear to correlate to router issues after all.
EDIT 2: Looks like it only keeps the connection for a short time. Each one of these large jumps is when I log into HA and check / adjust a temp causing everything to refresh.
Are there any plans for these improvements everyone has been making, to be submitted to HA?
I donāt plan of submitting my version to HA, but I will try to add my repository to HACS.
@mihailescu2m could I suggest making the name of your integration a little different from the one in HA. Right now the HA and your integration have the same name making it hard to determine which is which when adding it as an integration.
Though I would be great to see this in the official HA repo as seems to be more complete.
FWIW - This might depend on how Airflow is setup, because my system behaves as @craigcurtin describesā¦ Once all the rooms are at temperature, the AC system switches off. The spill zones are only used when itās getting down to a single room below temperature.