Broadlink IR Climate Component

I put it how you says buy neither. What’s the problem? :frowning:

To really know what is happenning you should show us what is teh content of your climate.yaml and configuration.yaml and also look in the logs for errors.

Your folder name is slightly misspelled. It should be custom_components.

1 Like

@jeff_nz, I am running 0.62.1, and was having problem. The call to set_operation_mode failed. I resolved the problem by making sure the ownership of all the files is homeassistant:homeassistant.

Incredible that it was that pffffff, I can not believe it … it is already solved, thank you very much for the help !! :slight_smile:

Hi,
Can someone tell me where i am going wrong here.

Blockquote
Traceback (most recent call last):
File “/usr/lib/python3.4/asyncio/tasks.py”, line 233, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 60, in async_setup_component
return (yield from task)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/asyncio/tasks.py”, line 237, in _step
result = next(coro)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 159, in _async_setup_component
conf_util.async_process_component_config(hass, config, domain)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/config.py”, line 624, in async_process_component_config
platform = get_platform(domain, p_name)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py”, line 104, in get_platform
return get_component(PLATFORM_FORMAT.format(domain, platform))
File “/usr/lib/python3.4/unittest/mock.py”, line 896, in call
return _mock_self._mock_call(*args, **kwargs)
File “/usr/lib/python3.4/unittest/mock.py”, line 962, in _mock_call
ret_val = effect(*args, **kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/scripts/check_config.py”, line 179, in mock_get
module = MOCKS[‘get’]1
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.4/importlib/init.py”, line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 2254, in _gcd_import
File “”, line 2237, in _find_and_load
File “”, line 2226, in _find_and_load_unlocked
File “”, line 1200, in _load_unlocked
File “”, line 1129, in _exec
File “”, line 1467, in exec_module
File “”, line 1572, in get_code
File “”, line 1532, in source_to_code
File “”, line 321, in _call_with_frames_removed
File “/home/homeassistant/.homeassistant/custom_components/climate/broadlink.py”, line 7
!DOCTYPE html
^
SyntaxError: invalid syntax

Works Perfectly Thanks Vassili. BTW Toyotomi akira codes seem to work for Toyotomi Hiro as well.

panasonic climate ini files,can you share it for me?

1 Like

Thanks @Vassilis for the great work. Daikin arc433a21.ini codes are compatible to with AC
arc433a87 too.
please add that note on your github.

I still have the same problem. Did you manage to solve the problem in the end?

Seems like a copy-paste problem. Please use raw in GitHub

Yes It was, solved that now working on the Sanyo.ini file. Excellent project.

Thanks for the help.

Actually, I’ve recently just updated to 0.63.1 and it looks like it has been fixed. :slight_smile:

1 Like

Ah! Alright, let me go update it quick and see the results! I needed this much!

The custom component: climate IR on broadlink works on HA 0.53 or only 0.6+?

This is working great on my 4 Daikin Acs and 1 LG model. Used the ‘off’ button rather than idle as I find it more intuitive for most users.
Used the stock Daikin codes. Works great on 3 different models. Had to generate my own codes for the LG. It’s a real PITA to do IMHO. I’ve been doing this directly in HA with 2 devices. A laptop to copy and paste codes and an Android phone to call the learn command. Does anyone here knows how to import the codes from the Broadlink database stored on Android phones? This may be an easier way.

Thanks again @Vassilis… Onto getting my LG Soundbar integrated via the media component…

I’ve submitted a pull request to @Vassilis’s repository with a fairly extensive list of codes for anyone who has a Daikin ARC452A4.

Supports:

  1. Off / Idle.
  2. Fan Speeds: Auto, Night, Low, Low Medium, Medium, MediumHigh, High and Powerful.
  3. Modes: Auto, Dry, Cool, Fan and Heat.

Did the LG codes built into the package not work for you? I generated these on a R09AWN (7.4kW unit). These also work for the 2.5kW I have in the bedroom.

Hi,

Getting this error in the log when setting temperature.

Can someone help

Blockquote
raceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py”, line 1010, in _event_to_service_call
yield from service_handler.func(service_call)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/climate/init.py”, line 400, in async_operation_set_service
yield from climate.async_set_operation_mode(operation_mode)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/home/homeassistant/.homeassistant/custom_components/climate/broadlink.py”, line 299, in set_operation_mode
self.send_ir()
File “/home/homeassistant/.homeassistant/custom_components/climate/broadlink.py”, line 163, in send_ir
command = self._commands_ini.get(section, value)
File “/usr/lib/python3.4/configparser.py”, line 754, in get
d = self._unify_values(section, vars)
File “/usr/lib/python3.4/configparser.py”, line 1119, in _unify_values
raise NoSectionError(section)
configparser.NoSectionError: No section: ‘false’
, source=custom_components/climate/broadlink.py>

Hey @talondnb, yes, I could not get these to work with my kids’ LG AC unit. Not sure what model it is, must be about 12 years old purchased in Asia and draws 1.5kW max. May try it again as I am quickly realizing how sensitive the RM Mini boxes are to placement. I was getting some weird things happening like being set on cool 19C when I pressed ‘idle’…
I now got this to work with my own codes.