GithubHelp home page GithubHelp logo

airzonecloud-homeassistant's People

Contributors

max13fr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

airzonecloud-homeassistant's Issues

Cannot restart the system

Hello, after following the steps I will try to reboot with the following message:

The system cannot restart because the configuration is not valid: Platform error climate.airzonecloud - Integration 'airzonecloud' not found.

Can someone help me with that?

ClimateDevice is deprecated, modify AirzonecloudZone to extend ClimateEntity

I'm getting the following warning and error:

2020-05-21 22:51:19 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for airzonecloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-21 22:51:19 WARNING (MainThread) [homeassistant.components.climate] ClimateDevice is deprecated, modify AirzonecloudZone to extend ClimateEntity
2020-05-21 22:51:19 WARNING (MainThread) [homeassistant.components.climate] ClimateDevice is deprecated, modify AirzonecloudSystem to extend ClimateEntity
2020-05-21 22:51:19 ERROR (SyncWorker_2) [custom_components.airzonecloud.climate] 'NoneType' object is not iterable

I'm running:

arch | x86_64
dev | false
docker | true
hassio | false
installation_type | Home Assistant Core on Docker
os_name | Linux
os_version | 4.15.0-99-generic
python_version | 3.7.7
timezone | Europe/Madrid
version | 0.110.0
virtualenv | false

Error when climate on and not find climante automations

Hello.

When I try to turn on airzone it turns off automatically after a few seconds, why?

- SALON apagado
19:11:27 - Hace 2 segundos
- SALON cambiado a Calor por Miguel
19:11:22 - Hace 7 segundos

Also, I have had to change heating to air-heating and cooling to air-cooling, if not, it told me that the mode did not exist.

Thank you.

set hvac mode on parent system

if hvac_mode == HVAC_MODE_HEAT:
self._device.group.set_mode("air-heating
elif hvac_mode == HVAC_MODE_COOL:
self._device.group.set_mode("air-cooling
elif hvac_mode == HVAC_MODE_DRY:
self._device.group.set_mode("dehumidify
elif hvac_mode == HVAC_MODE_FAN_ONLY:
self._device.group.set_mode("ventilation

Edit:

Change this:

if self._group.is_on:
if mode in [
"cooling",
"air-cooling",
"radiant-cooling",
"combined-cooling",
]:
return HVAC_MODE_COOL

        if mode in [
            "heating",
            "air-heating",
            "radiant-heating",
            "combined-heating",
            "emergency-heating",
        ]:
            return HVAC_MODE_HEAT

For this:

@property
def hvac_mode(self) -> str:
    """Return hvac operation ie. heat, cool mode."""
    mode = self._group.mode

    if self._group.is_on:
        if mode in [
            "air-cooling",
        ]:
            return HVAC_MODE_COOL

        if mode in [
            "air-heating",
        ]:
            return HVAC_MODE_HEAT

        if mode == "ventilation":
            return HVAC_MODE_FAN_ONLY

        if mode == "dehumidify":
            return HVAC_MODE_DRY

    return HVAC_MODE_OFF

and all ok...I do not understand.

When I try to create an automation I can't find the device, can't it be done?

Temperature in integer

Hello, i would do that :

binary_sensor:
  - platform: template
    sensors:
      temp_zone_vie:
            unique_id: 4cbf0f03-2f7e-4697-ad20-098a1288f4c9
            friendly_name: "Zone Vie"
            device_class: temperature
            value_template:  "{{state_attr('climate.domicile_zone_vie', 'current_temperature')}}"

It work, but binary_sensor.temp_zone_vie make me a state with "." and no ",".
So i think, some trouble bring me bug.
Look history :
image
isn't a graph like this:
image
And, i can't try to use the stat in node red or other..
I think it's because the value uploaded by airzone need a new format !?

Not working since Airzone updated webserver

Hi mates,

I just wanted to let you know that this implementation is not working since Airzone updated my webserver to the same version as the central one (they did it remotely). Now it seems the custom component is started but I can't see any of my temperatures, they're shown as unavailable. What could be happening here? I'm running latest HA version, and this is my server's version/fw:

System; Flexa 3.0
Firmware: 3.2.3
Daikin bridge firmware: 2.0.8

Could anybody help me? Is his still working for you?

Thanks in advance!

Edit: sorry, closing this, I think this was solved with your version 0.2 and I haven't updated to new entities, they were hidden on my implementation.

Add HVAC action to know the current action of the thermostat

According to HA Climate documentation:

HVAC Action
The HVAC action describes the current action. This is different from the mode, because if a device is set to heat, and the target temperature is already achieved, the device will not be actively heating anymore.

This parameter must be available, as in Airzone Cloud, when de thermostat is active the color in the app is red, and when it is idle the color is green.

Thanks in advance,

Update fails after few minutes

Hello,
First of all, thank you for making this plugin is an amazing implementation (I started my own but not good at all compared to this one).

Just wanted to report an issue that has started since a few weeks back. My climates are detected properly but after a while, they throw an error and stopped working (having to restart the instance to get them back online).

This is the error I'm getting (note that climate.p1 is the global climate of the floor):

2021-01-07 10:50:58 INFO (SyncWorker_6) [AirzoneCloud.System] Data refreshed for System(name=P1, mode=heat-both, eco=eco-aaa, velocity=None, airflow=None, id=5d2453268b9c2d5511ceaad5, system_number=1, device_id=5c6ae4a04149527d280e0000)
2021-01-07 10:50:58 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.p1 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
    raise exc
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/airzonecloud/climate.py", line 256, in update
    self._azc_system.refresh(True)
  File "/usr/local/lib/python3.8/site-packages/AirzoneCloud/System.py", line 230, in refresh
    self._load_zones()
  File "/usr/local/lib/python3.8/site-packages/AirzoneCloud/System.py", line 247, in _load_zones
    zone._set_data_refreshed(zone_data)
  File "/usr/local/lib/python3.8/site-packages/AirzoneCloud/Zone.py", line 185, in _set_data_refreshed
    _LOGGER.info("Data refreshed for {}".format(self.str_complete))
  File "/usr/local/lib/python3.8/site-packages/AirzoneCloud/Zone.py", line 37, in str_complete
    self.mode,
  File "/usr/local/lib/python3.8/site-packages/AirzoneCloud/Zone.py", line 89, in mode
    return MODES_CONVERTER[self.mode_raw]["name"]
KeyError: 5

after that, any subsequent update of params or function call stopped working, any idea of what's happening?

Cheers,
Manuel

Unable to restart HA for error after update HA to 2023.11.2

Unable to restart HA for this error:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 10:40:06 (1 occurrences)
Last logged: 10:40:06

[140699251117760] Cannot quick reload all YAML configurations because the configuration is not valid: Platform error climate.airzonecloud - No module named 'homeassistant.util.temperature'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 986, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/homeassistant/init.py", line 342, in async_handle_reload_all
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Cannot quick reload all YAML configurations because the configuration is not valid: Platform error climate.airzonecloud - No module named 'homeassistant.util.temperature'

not work after las update of HA

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 14 de julio de 2023, 23:24:39 (2 occurrences)
Last logged: 14 de julio de 2023, 23:24:39

Detected integration that uses temperature utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.TemperatureConverter instead. Please report issue to the custom integration author for airzonecloud using this method at custom_components/airzonecloud/climate.py, line 151: return convert_temperature(
Detected integration that uses temperature utility. This is deprecated since 2022.10 and will stop working in Home Assistant 2023.4, it should be updated to use unit_conversion.TemperatureConverter instead. Please report issue to the custom integration author for airzonecloud using this method at custom_components/airzonecloud/climate.py, line 158: return convert_temperature(

Please, could you update the componente ???

Thanks very much

Best Regards

Doesnt work

Hello !
Thank you for this integration!
Please if you have time can you help me to figure it out,why its not working?

Conf check
Platform error climate.airzonecloud - Integration 'airzonecloud' not found.

config/custom_components/airzonecloud/
init.py
climate.py
const.py
manifest.py

conf yaml
climate:

  • platform: airzonecloud
    username: xxx@xxx
    password: xxxxx

Log:
Logger: homeassistant.components.hassio
Source: components/hassio/init.py:454
Integration: Hass.io (documentation, issues)
First occurred: 1:02:06 PM (2 occurrences)
Last logged: 1:05:17 PM

Platform error climate.airzonecloud - Integration 'airzonecloud' not found.

Thank you!

Updates of HA-core breaks the integration

After updating to core-2021.7.0 the integration was broken.
Using this trick (#14) doesn't work.

Logger: homeassistant.util.package
Source: util/package.py:96
First occurred: 9:58:31 PM (1 occurrences)
Last logged: 9:58:31 PM

Unable to install package AirzoneCloud==0.5.1: ERROR: Could not find a version that satisfies the requirement AirzoneCloud==0.5.1 (from versions: 0.0.1, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0) ERROR: No matching distribution found for AirzoneCloud==0.5.1 WARNING: You are using pip version 20.2.4; however, version 21.1.3 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.

Unable to login to AirzoneCloud

Hi,

I have upgraded to version 1.3.0 and now the login does not work.

On https://dkn.airzonecloud.com/ I can login without problems. I have changed the password but it still gives error

Thanks

Logger: custom_components.airzonecloud.climate
Source: custom_components/airzonecloud/climate.py:46
Integration: airzonecloud ([documentation](https://github.com/max13fr/Airzonecloud-HomeAssistant), [issues](https://github.com/max13fr/Airzonecloud-HomeAssistant/issues))
First occurred: 18:55:09 (1 occurrences)
Last logged: 18:55:09

Unable to login to AirzoneCloud with the email ********@gmail.com and the given password

Error prior to upgrading

Hello,

I've just simulated an upgrade, and I got this error:

Failed config
  General Errors: 
    - Platform error climate.airzonecloud - Integration 'airzonecloud' not found.

I've tried to add the string I saw in a different issue to the manifest file, with no positive effect either.

Anybody has any experience?

Thanks!

Not working on new core version core-2021.6.0

Hi,

I have found that this integration is not working on new HA core, could you please check? I get this error:

2021-06-03 11:35:38 ERROR (SyncWorker_4) [homeassistant.loader] The custom integration 'airzonecloud' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details

It seems that they did something in the code and we need to add a version key somewhere. I did a rollback on my HA setup and now it's working properly again.

Thanks & Regards!

Add support for dknwserver

Hi could you add support to the dknwserver platform ? Many months ago speak about it, do you remember ? Thanks !!!

Humidity integration

Hi max13fr, have you ever think to include humiduty information in your integration?

Intégration

Bonjour @max13fr

J'ai copier tes fichiers dans configuration et dans custom component mais après avoir redémarrer HA je ne sais pas comment faire pour avoir mes thermostats dans Lovelace.

Merci de ton aide

Global command entity not fully working

Hello there,

awesome integration. I bow to you!! Thanks!

I've decided to create this issue because it feels to me as if one entity was missing in my system, or the main entity is not fully capable of commanding my environment. I have an Airzone system with 5 zones, and the zones are correctly recognized by this integration:

2020-12-12 16:53:25 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new climate.airzonecloud entity: climate.sistema_1_comedor
2020-12-12 16:53:25 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new climate.airzonecloud entity: climate.sistema_1_h_despacho
2020-12-12 16:53:25 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new climate.airzonecloud entity: climate.sistema_1_h_juegos
2020-12-12 16:53:25 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new climate.airzonecloud entity: climate.sistema_1_h_ninos
2020-12-12 16:53:25 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new climate.airzonecloud entity: climate.sistema_1_h_suite
2020-12-12 16:53:25 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new climate.airzonecloud entity: climate.sistema_1

I can command the individual zones just fine. However, when I attempt to command the whole system, I'm unable to turn it on or off globally; I can however modify the Operating mode just fine (which is a global setting as well), and I can modify individual zones just fine too, but I simply can't turn the whole system on or off.

This is what I did. Starting with a system in standby
2020-12-12 18 44 04

Screen Shot 2020-12-12 at 18 34 14

I changed the Operating mode by switching Cool on the global widget in the frontend

Screen Shot 2020-12-12 at 18 35 37

I could see how the mode changed on my phone

2020-12-12 18 44 09

I then tried to change the temperature, hoping that it would also modify the global temperature selector on the unit
Screen Shot 2020-12-12 at 18 36 09

but I did not see a temperature change on my phone

2020-12-12 18 44 09

Screen Shot 2020-12-12 at 18 36 53

I then clicked on the switch on/off button on the widget in the frontend
Screen Shot 2020-12-12 at 18 52 38

nothing changed in the system

I then grabbed my phone and toggled the global switch to on and changed the global temperature setting

2020-12-12 18 42 38

2020-12-12 18 42 38

The system of course started working but global entity did not react, while the individual zones did.

The log file contains this:

config $ tail home-assistant.log -f | grep 'Sistema 1'
2020-12-12 17:33:45 INFO (SyncWorker_1) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:33:55 INFO (SyncWorker_53) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:34:05 INFO (SyncWorker_32) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:34:09 INFO (SyncWorker_51) [AirzoneCloud.System] call set_mode(stop) on System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None)
2020-12-12 17:34:13 INFO (SyncWorker_25) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:34:17 INFO (SyncWorker_54) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:34:25 INFO (SyncWorker_31) [AirzoneCloud.System] call set_mode(cool-both) on System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None)
2020-12-12 17:34:25 INFO (SyncWorker_40) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:34:35 INFO (SyncWorker_1) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:34:46 INFO (SyncWorker_13) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:34:55 INFO (SyncWorker_43) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:01 INFO (SyncWorker_0) [AirzoneCloud.System] call set_mode(stop) on System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None)
2020-12-12 17:35:01 INFO (SyncWorker_58) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:05 INFO (SyncWorker_16) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:11 INFO (SyncWorker_12) [AirzoneCloud.System] call set_mode(cool-both) on System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None)
2020-12-12 17:35:14 INFO (SyncWorker_33) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=stop, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:15 INFO (SyncWorker_8) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:25 INFO (SyncWorker_35) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:35 INFO (SyncWorker_50) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:46 INFO (SyncWorker_28) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:35:55 INFO (SyncWorker_42) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:36:05 INFO (SyncWorker_46) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:36:18 INFO (SyncWorker_47) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:36:25 INFO (SyncWorker_52) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)



2020-12-12 17:36:35 INFO (SyncWorker_25) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:36:46 INFO (SyncWorker_54) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:36:55 INFO (SyncWorker_55) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:37:05 INFO (SyncWorker_23) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id= xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)
2020-12-12 17:37:17 INFO (SyncWorker_57) [AirzoneCloud.System] Data refreshed for System(name=Sistema 1, mode=cool-air, eco=eco-off, velocity=None, airflow=None, id=xxxxxxxxxx, system_number=1, device_id= xxxxxxxxxx)

any idea about what may be happening? The line breaks above indicate when I commanded the system on my phone. If you check the logs, you will see that no attribute changes...

Am I doing something wrong?

thanks again!

Humidity not being recorded in history

I can see target temperature and current temperature in the history tab:
image

However, I can't see the current_humidity, despite being a valid attribute that is retrieved and that I can use:
image

It would be great to be able to record it.

Unable to configure the integration

Hi, First of all, thank you for the effort!!!
Today i installed airzone AZAI6WSCDA1 unit, everything is working great and i can access Airzone cloud and control my AC thru cloud
I installed the latest Airzonecloud integration as described and looks like everything is correct, no errors or warnings

But i can see my AC unit in home assistance
Is there any option to debug what is wrong ?

Thanks

Cannot find master device in group Group

Hi,

Just installed a device today, Aidoo Inverter wifi controller. This is a new Airzone Cloud account, and I get this error message when restarting after installing addon:

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 613, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 505, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 511, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 210, in state
return self.hvac_mode
File "/config/custom_components/airzonecloud/climate.py", line 221, in hvac_mode
mode = self._group.mode
File "/usr/local/lib/python3.9/site-packages/AirzoneCloud/Group.py", line 93, in mode
return self.master_device.mode
File "/usr/local/lib/python3.9/site-packages/AirzoneCloud/Group.py", line 205, in master_device
raise Exception(
Exception: Cannot find master device in group Group(name=, installation=, id=)

This is a Home Assistant OS install version 7.1, running 2021-12-10. I've taken the specific values out of the last line as they are from our Airzone Cloud account, so it does appear to be connecting ok. I couldn't see anything in the account about setting a master device, we just have the 1 group and 1 device at the moment. Thanks in advance.

Not updating component state after Home Assistant upgrade to 2023.5.x

Everything was working ok until I upgraded to 2023.5.3
You can interact from HA with the climate component as expected however if you manipulate the physical device using its panel, the HA component is not updated.
Checked at https://m.airzonecloud.com/ and it updates the state properly so I believe that the problem is in the update component / refresh function in the component that is not updating a regular intervals.

Issue Loading Airzone cloud

Sorr, I´m getting error while loading saying I need to load using configuration.yaml, while I added all on the github, and after that, going to devices, and adding integration, does not work. Do you know how can I get this working?

thanks

Sistems name reset

Hello,
first of all many thanks for your code, i love it...
since i installed your code, sometimes appen that sistems name are reset to default on AirZone server. Have you got same issue?

Deprecated function homeassistant.util.temperature

Hi! I realized in log view that homeassistant.util.temperature function is deprecated, this weekends if I have time I will make some changes to use the new function.

I anyone got it please make a PR.

Thanks!!

Not sure my devices are compatible

Hi have 4 daikin units with thermostat on the wall and 4 airzone AZAI6WSCDA1 devices.
I have the phone app airzone aidoo configured and it works fine, i see and control the devices.
I read in the instructions here that i should use airzonecloud.com account to configure it...
but my concern is that on this website i see nothing... here are no machine linked and if i try to add with mac address it doesn't work.
So my doubt is that AZAI6WSCDA1 is not compatible with homeassistant or this addon.

Anybody can help me?

Atomation error since Home Assistant Core 2023.12.4 update

Hello,
I got a 429 error since I updated to Core 2023.12.4.
Temperatures are well updated but script stop due to 429 error.

Logger: homeassistant.components.automation.temperature_20
Source: helpers/script.py:468
Integration: Automatisation (documentation, issues)
First occurred: 18:29:37 (3 occurrences)
Last logged: 19:15:30

Température - 20: Error executing script. Unexpected error for call_service at pos 1: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices/******************/status/?installation_id=*****************&format=json
Température - 20: Error executing script. Unexpected error for call_service at pos 1: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices/*******************/status/?installation_id=*******************&format=json
Température - 20: Error executing script. Unexpected error for call_service at pos 1: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices/*******************/status/?installation_id=****************&format=json
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 704, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 666, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2067, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2104, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 272, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 903, in entity_service_call
raise result from None
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1233, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 632, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 482, in async_set_temperature
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/airzonecloud/climate.py", line 166, in set_temperature
self._device.set_temperature(round(float(temperature), 1))
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/Device.py", line 254, in set_temperature
self.refresh()
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/Device.py", line 316, in refresh
self._state = self._api._api_get_device_state(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 162, in _api_get_device_state
return self._api_get(
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 210, in _api_get
return self._api_request(method="GET", api_endpoint=api_endpoint, params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 293, in _api_request
raise err
File "/usr/local/lib/python3.11/site-packages/AirzoneCloud/AirzoneCloud.py", line 290, in _api_request
call.raise_for_status()
File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://m.airzonecloud.com/api/v1/devices/*****************/status/?installation_id=*********************&format=json

Status update

First, thank you for the work.
Second, I use Google Translate.

I am using the integration with Home Assistant, and I have detected that the temperature status is not updated. It is only updated when I enter the Airzone Cloud APP or modify the set point temperature from HA.

Thank you

Airzone central console

Hi there @max13fr !

first of all, thanks for relaunching this integration. It is lovely to see it back. Could we possibly grab you a coffee?? :)

Now with version 1.1.2 I see all the satellites in my setup but I don't see the central console/module. Is this expected? am I missing something? With older versions it was possible to see the central console, but I now don't know how to find it. Could you provide some guidance maybe? or is that no longer possible?

thanks!!

Error calling service climate/set_hvac_mode

Hey, I've just installed this service to my Home Assistant and I thought it was working great as it list all my zones at home. However, as soon as I try to change anything (switching a zone on, changing temperature...) I get this message (translated from Spanish):

"Error calling service climate/set_hvac_mode
Expecting value: line 1 column 2 (char 1)"

Is it something I am doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.