cool! I literally just had my Daikin AirBase unit installed 15 minutes ago, Model BRP13B61.
What do you need to test? Looks like you merged your PR, Great. I will configure it all up as per (https://www.home-assistant.io/components/daikin/?) and let you know. Happy to help out. I will look more into this thread later, I am on hassbian, etc.
2019-03-25 10:50:49 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.125 for daikin
Traceback (most recent call last):
File "/usr/src/app/homeassistant/config_entries.py", line 303, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/app/homeassistant/components/daikin/__init__.py", line 64, in async_setup_entry
daikin_api = await daikin_api_setup(hass, conf[KEY_HOST])
File "/usr/src/app/homeassistant/components/daikin/__init__.py", line 102, in daikin_api_setup
api = DaikinApi(device)
File "/usr/src/app/homeassistant/components/daikin/__init__.py", line 113, in __init__
self.name = device.values['name']
KeyError: 'name'
I made this little docker file to add your file:
FROM homeassistant/home-assistant:dev
ADD https://bitbucket.org/fredrik_e/pydaikin/raw/c9e568c57d09aa41b72e995c7cb619675e50cfb0/pydaikin/appliance.py /usr/local/lib/python3.7/site-packages/pydaikin/applicance.py
I have been watching the logs for my primary/production HASS install, I noticed this as well:
2019-03-25 09:53:54 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.125 for daikin
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/config_entries.py", line 302, in async_setup
result = await component.async_setup_entry(hass, self)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/daikin/__init__.py", line 64, in async_setup_entry
daikin_api = await daikin_api_setup(hass, conf[KEY_HOST])
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/daikin/__init__.py", line 100, in daikin_api_setup
name = device.values['name']
KeyError: 'name'
it is the same error as the dev one I launched, I assume this is a part of the discovery process, etc but I suppose this is the old component code, etc.
Yes, thanks to testing by @jurgenweber we now hope that the Airbase code will make the 0.91 release. We also did work out zone support, but as that PR not have been merged yet Iām doubtful that zones will make the 0.91 release. (If you could push the reviewers to merge it the next 12h it might make the 0.91-beta).
Thanks for seeing this, Iāll try to merge the two PRs with updated documentationā¦
Clarification, the 0.91 supports AirBase just as the āoldā European version, it is just the documentation page that lacks that information. This pull request updates the documentation.
Wait until 0.91.1 as it turned out that the 0.91 had a configuration issue for Daikin. The fix is merged and 0.91.1 will probably be out in a couple of hours.
Hey There, Iām downunder as well, just got the BRP15B61 airbase installed, upgraded HA to 91.1, but no luck with Daikin component. ->
2019-04-06 22:59:18 ERROR (MainThread) [homeassistant.components.daikin.config_flow] Unexpected error creating device
Traceback (most recent call last):
File ā/usr/local/lib/python3.7/site-packages/aiohttp/connector.pyā, line 924, in _wrap_create_connection
await self._loop.create_connection(*args, **kwargs))
File āuvloop/loop.pyxā, line 1904, in create_connection
File āuvloop/loop.pyxā, line 1883, in uvloop.loop.Loop.create_connection
OSError: [Errno 113] Host is unreachable
Actually, I just realized I canāt even ping the device. It appears on my asus router as 192.168.1.163, but I canāt ping it, I just get Host is unreachable, weird. Has anyone else got the BRP15B61 working?
@bedo2405 Have not jumped to 91.x yet still working with the pre-implementation code we got working with Fredrike. But working well with the brp15b61ā¦
whats your HA setup ?
can you do a tracert to the brp15b61? (from HA and from other devices) - Are you in the same subnet etc? what your config yaml configuration?
@Thomas_Brady - our unit does not show the internal/external temps unfortunately - not sure if its our aircond model or something else? debug mode of wall controller does show a few temps are available.
I replaced a cooked skyfi (I have 2) with an airbase about 2 weeks ago and it works well. The only problem is I have to delete, then reload the Daikin from the integration page every time I restart the server - until then the component wonāt load and throws an error on the log:
" Unexpected error creating device
10:46 AM components/daikin/init.py (ERROR)"
I have a basic Hassio running on a Pi3 and an ASUS router. I can ping the airbase without problem.
If you canāt ping the device maybe try going back to setting up the airbase again (reboot-with me that means aircon off at switchboard). My experience is that setting up the daikin app and a reserved IP on the router was painless. The app does respond slowly from a remote IP - but it is reliableā¦and if you are at the office it really doesnāt matter that it takes a minute to update. Hass is much quicker!