Integration with Daikin Skyfi app (Air conditioning)

@sajesh it sucks that this is one of those “it just works for me” moments, so the best I can do is get you to confirm

  1. exactly which version of HomeAssistant you are on
  2. check the logs “Developer Tools - Logs - Load Full Log” (after trying to add integration)

Hi @markss
Thanks to all who have worked on making this plugin work with SkyFi!
I’ve just added my IP address and password to the integration, and it found my SkyFi unit, but only identified one of my four zones as a switch. No other zones have been identified as an entity (similar to @denis.french). However, I am running HA version 0.111.4, which if I’m reading the posts above, should have resolved the zone issue?

Hey @stibbzy it certainly seems like you have the same problem as denis.

When I did the testing with @fredrike I was never able to help him with the fan controller piece because mine is a dumb 3 push button unit.

Fredrike - might it be easier to ask the user if they have a smart zone controller, and how many zones they have and then use this:
https://whrl.pl/RerHze

Thanks @markss. @fredrike For what it’s worth, I’ve got a Daikin BRC24Z4A zone controller. I’ve actually had full zone control and aircon control working through a plugin for a Vera home controller plugin. With the Vera plugin, though, the unit often went unresponsive for unknown reasons.

Hi @stibbzy; I’m pretty sure v0.111 fixed a detection/logon issue for SkyFi, but the zone handling still needed work at that time.

I can see recent commits within the underlying library that look promising (https://bitbucket.org/mustang51/pydaikin/commits/); @fredrike please let us know when this gets merged into dev, and I’ll give it a go on my system.

Guess what! I was running version 0.110.4 before and it is working after updating to 0.111.4. I have 4 new entities as below. My model# BRP15A61.

1 Like

That’s great!

I was hoping that might be the case, because home assistant is evolving so rapidly at the moment AND I knew that fredrike has put a lot of work into the Daikin module

Hi @fredrike; so it looks like the SkyFi zones might be fixed (https://bitbucket.org/mustang51/pydaikin/pull-requests/34/fix-skyfi-issues/diff), but I can’t see that HA core has been updated yet.

Is it just a matter of changing the pydiakin version within manifest.json (https://github.com/home-assistant/core/blob/d08d00daa72d039545b46e739e686bdc41b55696/homeassistant/components/daikin/manifest.json#L6)?

Hi @markss, @denis.french, @fredrike . I’ve just upgraded HA to 0.112.4 and can now confirm that the integration identifies my four zones and adds four switches, one for each zone respectively.

The status for each zone switch device (on/off) is also updated appropriately when I change zones with my wall controller.

However, whenever I try to use the actual switch device in HA to turn a zone on or off, the switch action doesn’t stick. Any thoughts? I’ve found these logs, but the messages seem to be present regardless of whether I’m trying a switch action.

self._run_get_resource(resource)
File “/usr/local/lib/python3.7/site-packages/pydaikin/daikin_skyfi.py”, line 106, in _run_get_resource
return await super()._run_get_resource(resource)
File “/usr/local/lib/python3.7/site-packages/pydaikin/daikin_base.py”, line 196, in _run_get_resource
async with self.session.get(f’http://{self._device_ip}/{resource}’) as resp:
File “/usr/local/lib/python3.7/site-packages/aiohttp/client.py”, line 1012, in aenter
self._resp = await self._coro
File “/usr/local/lib/python3.7/site-packages/aiohttp/client.py”, line 504, in _request
await resp.start(conn)
File “/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py”, line 852, in start
message=exc.message, headers=exc.headers) from exc
aiohttp.client_exceptions.ClientResponseError: 400, message=‘invalid constant string’, url='http://192.168.0.181:2000/ac.cgi?pass=xxxxx

Do you get the same behaviour when clicking the buttons on the panel:
image

and when using the 3 dots:
image

When I was testing for @fredrike he always asked me to use the 3 dots method, I never got around to asking him why.

Hi @markss

Thanks for the reply. Yes, using either the buttons on the panel or the three dots always work properly for me. All buttons change the temperature, mode and fan speed correctly. My issue isn’t with that part of the plugin, it is with the switches that the plugin creates for each zone. When I try to turn a zone either on or off using these switches, it just toggles the icon momentarily before resetting to the original position. These are the switches I am referring to:

The zones should be fixed in 0.113.

Hi @fredrike @markss

I can confirm that the zones are fully functional in the 0.113 beta!

Thanks for all the effort put into this plugin, it’s amazing how dedicated people are to the platform!

Mark.

1 Like

Great to hear!

So everything is working as expected?

@fredrike So far yes, although 0.113 broke unrelated plugins for me, so I’ve downgraded and added the updated Daikin integration as a custom component.

I can changes zones and the status is reflected correctly, can change fan speeds, temp, and mode. And it seems more reliable than the Daikin app so far!

The only issue is that the Home Assistant HomeKit integration doesn’t pick up the fan speed as a parameter in the Home app that can be changed. But that’s an issue with the HomeKit integration, not the Daikin integration as far as I can tell.

Once again, thanks so much!

1 Like

Hi,
if is someone interrested I made kkrp01a ethernet controller integration for home assistant.


preview2

Repository with component is here

https://github.com/mobicek/HomeAssistant-KKRP01AClimate

1 Like

Great job!

It would be great if it could be integrated as a subclass in pydaikin.
https://bitbucket.org/mustang51/pydaikin/src

Looks fantastic - only wish I could get it to work on the latest version of HA (core-2021.9.6), container.

Small change needed to the manifest.json file to add version; and after that, getting an error on start:

RuntimeError: I/O must be done in the executor; Use "await hass.async_add_executor_job()" at custom_components/kkrp01a/climate.py, line 146: valuesCsv = requests.get(valuesUrl, allow_redirects=True, timeout=timeout)

I’ve posted this as an issue on the repo listed above, hope that it can be fixed as would make a great addition to HA.

Hi all

I have a silly question of sorts, but I’ve hit a wall and can go no further… How were you all able to identify the IP address of the Skyfi unit? When I access my router and I bring up the list of connect devices, none of the addressees indentify as the Daikin unit. I’ve also tried a couple Android apps to help with this problem, but I still can’t figure out which one it is.

Maybe someone here knows of a really great Android app that will help; fingers crossed lol

Hey @Homer1 which WiFi router do you have?

In my environment the SkyFi device has a unchangeable network device name called: DaikinAC-[9 digit number]

The MAC address might start with 00:06:66:XX:XX:XX
(the x’s are typically unique per device)