Git Product home page Git Product logo

homeassistant-airzone's People

Contributors

gpulido avatar maiux92 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

Watchers

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

homeassistant-airzone's Issues

HassOS doesn't recognize it

Hi,
I've a raspi4 with last HassOS version.
This plugin seems amazing for airzone, but I can't make it run correctly.
I install the python-airzone library, and copy the airzone folder to the custom_components path. I modify the configuration.yaml, but I don't see any integration.
May I need to do something more??

how to set airspeed for mitsubishi unit

Hola Gabriel !

I am using the local Arzone API and would like to change the Airspeed of the master unit. (It's a misubishi)
(actually using my own scripts for it... but since you have done a lot with this API i thought I would give it a try to ask you.)

There are several ways to PUT speed info... but they don't seem to work.

When I do use the Cloud App it seems to possible to change the fan speed via Airtools | System 1 | Settings | Flow Q-Adapt

Do you have any idea how to set the airspeed via local API ?

Many thanks in advance just to look into it ....

Richard

Setting HVAC mode don't work

Hello.

I try this integration, and it's work well 👍

But when i try to change the Hvac mode via service or frontend, it don't work...
When i change in my blueface, hvac mode change in ha.

Temperature reading 0c

Great project, I much prefer using this as a local control as opposed to cloud based.

I have set up the system in the following arrangement:

HVAC <--> Aidoo <--> modbus usb adaptor <--> Raspberry Pi <-->Ethernet

The home assistant airzone integration connects successfully with the aidoo option and the entity is created.

I am able to see the entity and control the fan, cooling mode etc however the stated temperature is always 0 degrees c

Looking in the core log there appears to be a warning about temperature integration, however I am not sure this would impact the "get local temp".

Is there any way I can troubleshoot this?

[Innobus]Dry Mode broken

Hi @gpulido(thanks for all the work you provide on this plugin),

i tried to install and configure my Airzone system (Flexa 2 + Mitsubishi air system). I noticed that dry mode(bits 0-8 on register 0 value 6) is not support (missing in python-airzone). Is possibile add to interface and support it?

Other things : is possible to add q-adapt function?

Integration stops working after some hours

Hi

I successfully connect to my localAPI through standard port and config and works like a charm.

After some hours, I receive no updates and if I check, API is returning a "method not valid" response.

Create Custom Lovelace Card for Airzone Systems

The current climate card for HA is not well adapted to the zone systems with a master like the Airzone one.

For example, the machine card shows the temperature dial even though it can't change temperatures (it is being done on the zones).

It would be great to have some kind of custom design that could allow to show and modify machine and zones for example.

Any idea, designs, mockups or implementations are welcome!

Wrong temps reading and cant control the AC through localapi

Greetings,
buttons for on/off doesnt effect real AC unit.
The actual temps doesn't change. It is over 5hours and nothing and on/off doesnt work and doesnt see on/off states
Android app (cloud) working correctly.
And When i was trying
https://github.com/jrhbcn/HomeAssistant-airzone_local
I was able to correctly read temps, but there is different error with this fork
unsupported operand type(s) for -: 'NoneType' and 'int'

So the problem is definetly with this localapi comunication.
Please help, tell me what you need from me :> <3
P.S. i have the latest FW 3.6

Integration not visible

After I install it and restart HA I still do not have access to it in Integrations. I have tried reinstall and several restarts.

"Cannot connect with Airzone Machine"

I have configured a static IP with my Airzone AZAI6WSCDKA for my Daikin system. When I attempt to add the configuration I get this message: "Cannot connect with Airzone Machine". I have used the attached configuration and confirmed the service is working with the Daikin app. Any thoughts on what might be causing this issue?

The message comes up instantly as if it isn't even attempting to connect. Just my two cents.
Screen Shot 2022-01-31 at 8 49 14 AM

New duplicated entity is created if a zone was not detected during the previous start-up of Home Assistant

Basically evrything is written in the title.
If one of the zone is not detected by the integration while restarting Home Assistant, at the next restart a new entity will be crated with a suffixed name which of course will not be included in Lovelace.
As an easy workaround it's enough to delete the original entity and remove the suffix of the newly created one....
i.e.

  • delete climate.bedroom
  • rename climate.bedroom_2 to climate.bedroom

No need to re install the integration or to restart HA... it will work immediatly
The problem is known, so I'm opening this issue just for tracking

Ayuda con configuracion

Buenas! Me gustaria saber si pueden ayudarme a saber como detectar la ip de mi dispositivo de airzone y que clase tengo que usar!

Muchas gracias!

Use with Airzone Localapi

Hello,

I have got a AIRZONE AZX6WEBSCLOUDC (ethernet version) installed, airzone-Cloud working fine.
On a server runs homeassistant (HA) inside docker container.
Airzone Azx6... is reachable via tcp 3000, not via 5020.
Question:
Do I have to place a computer as a gateway with a usb to ethnernet cable for modbus connection in front of it, so that HA is able to connect to the airzone device? HA -> i.e. raspi -> airzone device.

Regards
Stefan

Integración HomeAssistant

Hola,

Lo primero, enhorabuena por el trabajo.

Tengo una maquina de conductos con aidoo, y un homeassistant en una raspberry pi. El tema es que intento conectar (he subido la carpeta airzone a custom_components) mi aidoo, pero no hay forma. Desde integraciones, no me carga nunca y me termina tirando un error. Y desde el configuration.yaml, no reinicia (tampoco si hago la verificación, me funciona, se queda cargando eternamente).

Solo he subido la carpeta airzone a custom_components. ¿Necesitaria ademas instalar en mi raspberry el componente python-airzone? No se donde puedo estar fallando.

Mi esquema es:

Maquina Daikin -> Aidoo

Y lo que no consigo, es conectar el Aidoo a HomeAssistant (Raspberry Pi).

Cualquier sugerencia seria bien recibida!

Two different entities with Aidoo Pro

Hi @gpulido,

First of all thanks for developing this. A few months ago I commented on this issue and finally when I've received my new device the local api support is already implemented. That's awesome 👏

Last night I couldn't avoid installing it and testing with my Aidoo Pro. So far I'm able to control it from home assistant without problems. The only thing I feel weird is the number of entities which is 2. Does it make sense having 2 entities for one device like Aidoo Pro which is supposed to work on 1 machine and 1 zone?

I selected local API in the config and I guess local api is supposed to work with multiple zones installation also, but maybe we could decide in the config somehow if it's a multi zone setup or not and merge both entities in one depending on that.

I attach what I see in my home assistant in case it helps:

Screenshot 2021-08-19 at 13 32 40

Screenshot 2021-08-19 at 13 32 08

Anything I can do to help let me know.

Thanks in advance!

Daylight saving time

Hello
The integration seems to do not work anymore since the last daylight saving time from last night.

Not getting system device?

I'm wondering if I'm doing something wrong. I followed this post about setting up a daikin cloud NA device (AZAIWSPDKN) with my mini split to get control through home assistant.

I added your integration through HACS. When I try to set it up I see a bit of a different config interface than your screenshots show. Specifically, looks like it's missing the option to specify localapi access. I thought that was strange, but continued anyway.
Screen Shot 2022-12-14 at 12 39 18

After adding the integration, I do see both a system and zone device which seemed good (though I thought they were supposed to be combined for localapi):
Screen Shot 2022-12-14 at 12 42 51

But, there is only a control for the zone, not the system:
Screen Shot 2022-12-14 at 12 43 18

Which means I can't change the mode to Cool (or any other mode other than heat).

The system device only seems to have a "System 1 Problem" diagnostic boolean (which is OK) and no control for changing the mode between Heat, Cool, Dry, etc.

Any ideas what might be wrong? I'm new to Home Assistant, but a SW dev by trade and quite comfortable digging into pretty much anything technical so am happy to debug. :-P Just wanted to check in if this is a known issue.

Help to install

Dear all I need some help with the installation as I’m new to Home Assistant and I’m now in an end point trying to integrate my Airzone system.

The issue is that after placing the airzone folder under the config/custom_components of the HA installation and rebooting, nothing is happening, I don’t know how to install as I’m not able to find the proper integration to install.

I will appreciate any clue that helps me to know how to going ahead with that.

Regards!!

Error while setting up airzone platform for climate

can you help me?

Logger: homeassistant.components.climate
Source: custom_components/airzone/localapi.py:41
Integration: Climate (documentation, issues)
First occurred: 4:29:58 PM (1 occurrences)
Last logged: 4:29:58 PM
Error while setting up airzone platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/airzone/climate.py", line 78, in async_setup_platform devices = await async_get_devices(config, hass) File "/config/custom_components/airzone/climate.py", line 57, in async_get_devices devices = [Machine(machine)] + [Zone(z) for z in machine.zones] File "/config/custom_components/airzone/climate.py", line 57, in <listcomp> devices = [Machine(machine)] + [Zone(z) for z in machine.zones] File "/config/custom_components/airzone/localapi.py", line 30, in __init__ self.airzone_zone = airzone_zone File "/config/custom_components/airzone/localapi.py", line 41, in airzone_zone self._name = value.name File "/usr/local/lib/python3.9/site-packages/airzone/localapi.py", line 217, in name return self.zone_state['name'] KeyError: 'name'

Issue updating for climate

Hi, I'm facing an issue when updating climate on my airzone implementation. I'm receiving this traceback:

Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 263, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 457, in async_device_update
self.update # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/airzonecloud/climate.py", line 251, in update
self._azc_system.refresh(True)
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/System.py", line 230, in refresh
self._load_zones()
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/System.py", line 241, in _load_zones
for zone_data in self._api._get_zones(self.id):
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/AirzoneCloud.py", line 141, in _get_zones
return self._get(API_ZONES, {"system_id": system_id}).get("zones")
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/AirzoneCloud.py", line 163, in _get
return self._session.get(url, headers=headers).json()
File "/srv/homeassistant/lib/python3.7/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)
2020-09-10 00:19:52 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.a_a_casa fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 263, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 457, in async_device_update
self.update # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/airzonecloud/climate.py", line 251, in update
self._azc_system.refresh(True)
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/System.py", line 230, in refresh
self._load_zones()
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/System.py", line 241, in _load_zones
for zone_data in self._api._get_zones(self.id):
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/AirzoneCloud.py", line 141, in _get_zones
return self._get(API_ZONES, {"system_id": system_id}).get("zones")
File "/srv/homeassistant/lib/python3.7/site-packages/AirzoneCloud/AirzoneCloud.py", line 163, in _get
return self._session.get(url, headers=headers).json()
File "/srv/homeassistant/lib/python3.7/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)

Not sure if it could be something to do with this, but Airzone people updated my system some days ago. I cannot operate or check my temperatures using the custom component.

Hope we could find a solution.

Thanks & Regards.

Apparent "out of standard"

With reference to this conversation in another thread:
nielsfaber/scheduler-card#531 (comment)
the owner of the integration says that the Home Assistant specifications do not allow "set temperature" if the hvac mode is set to heat/cool and shows the evidence in the HA documentation.
I frankly don't see the reason for this limit, but can you please have a look and share your point of view?

Manual?

Hi, is there a manual on how to do the job?
I have an airzone system for about 13 years, I think it has a modbus port ...... but I don't understand how it's done. I'm Spanish and I don't understand English enough. Home assistant if I understand it because I've been a user for several years .
a greeting

Quirks with Local API

I've been using this Home Assistant integration with an Airzone Pro unit over Local API for the past month and it's been wonderful. All of my automations work correctly, but when I try to change the temperature through the climate entity (for example, clicking the up arrow in the climate entity to increase temperature one degree), it defaults to 8 degrees Fahrenheit every time. This is below the minimum operating temperature, so odd. I can re-run my automation through Node Red, and it will reset to whatever temperature I send it through a Call Service node there.

The other behavior I noticed was not correct this morning is when I place the Airzone unit into "Auto" mode rather than "Heat" mode. When I call this service through Node Red, it correctly sets the Airzone unit to "Auto" mode, but the entity in Home Assistant reads the status a "Off" rather than "Auto." So the unit is in the correct state, but the Home Assistant entity is reading it wrong.

Any thoughts on these? It's not a huge deal because the automations all work flawlessly, and that's what matters most to me, but occasionally I want to adjust the settings or check the status through the Home Assistant UI, and I can't trust what the entity state is telling me.

Cannot edit the airzone IP once configured

I would like to change the airzone IP as I've configured a static lease on my dhcp server but it cannot be done, there is no option on the integration settings anymore.
Also, I've tried to remove the integration and add it again but it doesn't work... basically the integration is not removed. I've tried disabling it and then removing it but unfortunately the integration is still there.

New Feature Request - Add System name in entinty_id

Hello,
i have servarl systems, and could be very usefull add system name in entity_id name.
example:
on Airzone

system1 name: Home
system1 zone1 name: bathroom
system2 name: Study
system2zone1 name: bathroom
on Home assistant

entity_A --> climate.home_bathroom
entity_B --> climate.study_bathroom
entity_B friendly name -->"Study - Bathroom"
today both have similar name

entity_A --> climate.bathroom
entity_B --> climate.bathroom_2 (or error, i didn't tested yet)
max13fr has developed similar for airzonecloud https://github.com/max13fr/AirzoneCloud (not working now due new API cloud missing documentation), but could be useful to see how him manage

Fan mode has no effect on Flexa 2.0 board with Innobus

Hi all! First and foremost thank you @gpulido for you work: I finally managed to find some time to set everything up and with the latest updates it's working!
I have an Airzone with Flexa 2.0 board, connected to HA via a RasPi with airzoneserial service; everything is working great, excpet for fan speed.
I'm not sure if this a limitation of Flexa 2.0 board, but whatever speed I select, the AC will always go to medium when only one zone is active or high when two or more zone (the default behaviour).
If I change the fan speed when the zone is active, the AC will stop completely.

Is this an expected behaviour / limitation when using Flexa 2.0? I remember reading somewhere that changing fan speed was not an option in Airzone, but I'm not sure... Moreover, speed change is supported from Daikin's control panel, so maybe there's a way to achieve this...

TypeError: 'NoneType' object is not subscriptable

I'm getting this error and can't connect to Airzone. It was working fine before, but after updating and restarting HA it doesn't connect anymore. Any idea?

Error while setting up airzone platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/airzone/climate.py", line 69, in async_setup_entry devices = await async_get_devices(config, hass) File "/config/custom_components/airzone/climate.py", line 57, in async_get_devices devices = [Machine(machine)] + [Zone(z) for z in machine.zones] File "/config/custom_components/airzone/localapi.py", line 160, in __init__ self.airzone_machine = airzone_machine File "/config/custom_components/airzone/localapi.py", line 171, in airzone_machine if value.units == TempUnits.FAHRENHEIT: File "/usr/local/lib/python3.9/site-packages/airzone/localapi.py", line 159, in units return TempUnits(self.machine_state['units']) TypeError: 'NoneType' object is not subscriptable

Error while setting up airzone

Good evening. I'm a bit of a newbie to HA. The integration worked perfectly for me, but now it shows me the following error:
Logger: homeassistant.components.climate
Source: custom_components / airzone / localapi.py: 171
Integration: Air conditioning (documentation, issues)
First occurred: 1:46:21 (1 occurrences)
Last logged: 1:46:21

Error while setting up airzone platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield (task)
File "/config/custom_components/airzone/climate.py", line 84, in async_setup_platform
devices = await async_get_devices (config, hass)
File "/config/custom_components/airzone/climate.py", line 59, in async_get_devices
devices = [Machine (machine)] + [Zone (z) for z in machine.zones]
File "/config/custom_components/airzone/localapi.py", line 160, in init
self.airzone_machine = airzone_machine
File "/config/custom_components/airzone/localapi.py", line 171, in airzone_machine
if value.units == TempUnits.FAHRENHEIT:
File "/usr/local/lib/python3.9/site-packages/airzone/localapi.py", line 159, in units
return TempUnits (self.machine_state ['units'])
TypeError: 'NoneType' object is not subscriptable

I have tried reinstalling the integration but the error persists.
Does anyone know where the error is?

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?

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.