Home Assistant Community

Broadlink IR Climate Component

#21

But what are the keys needed for AC unit?

#22

This looks pretty awesome. Just wondering how to help with the codes file for LG aircons.

Also, can we use the RF fan component for IR fans? EDIT: Yes, we can. Maybe you can rename it to IR/RF since it works for both. I see support for oscillation might be coming soon too :+1:

The media player component works great too. Using it to control my AV receiver.

Thanks for releasing this for everyone to try out! Can you please explain what the timeout parameter does? Can it be used as a delay between turn_on and select_source?

#24

What I don’t get is how to generate temp+fanmode codes. My AC has fan modes separate from temperature setting.

EDIT: I’ve made some headway. So the e-control dump script doesn’t do AC codes apparently ( https://github.com/NightRang3r/Broadlink-e-control-db-dump/issues/7 ), but someone has managed to hack together a script to do it ( https://github.com/mjg59/python-broadlink/issues/74#issuecomment-323848204 ).

I’m not exactly sure how to run it, but I’ve got my ac codes from the broadlink server. @Vassilis can you help a brother out? :slight_smile: PS. Maybe update thread title with fan and media_player too?

http://cloud.broadlink.com.cn/irda_code/600.gz

Counts:
Temp Range: 13 (18-30 C)
Modes: 5 (Auto, Cool, Dry, Fan and Heat)
Fan Speed: 4 (Auto*, Low, Medium, High)

EDIT 2: Manually taught the codes for COOL operation (39 codes in total) of my LG AC. Took me around 10 minutes. Uploaded to the git

1 Like
#26

Hi
any body let me know where to put custom component file
i am getting error
[homeassistant.loader] Unable to find component media_player.broadlink

please let me know

#27

Hi,
Please make a folder with name “custom_components” into your .homeassistant folder.
Make another folder with name “climate” into custom_components folder.
Put broadlink.py inside “climate” folder and restart Home Assistant.

1 Like
#28

In order to make my INI files, I was set up a broadlink switch and I used the learn service. Took me long time too.

#29

Yes. idle and off is the same command. Home kit sends idle instead of off command

#30

Hi
thanks for reply
but my problem solved by putting files
/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/
according to their fold if folder not exist make new one.
i just used just for samsung tv
problem if it always start with off state.

#31

Thanks. I don’t use homekit so I guess it doesn’t matter if I use idle or stop command.

#32

Hi, does this work with using HASSIO instead? How would I be able to add your addon as a third party repository in HASSIO?

#33

Hi, this is not a third party addon. Please add it as a custom component.


Thank you

1 Like
#34

Thanks! Got it working! And it is very impressive! Many thanks

#35

They’ve fixed this in latest homebridge-homeassistant bridge.

#36

Would it be possible to have those component for xiaomi it booster? I exchanged braodlink

#37

Brilliant, just what I’ve been looking for. Even the Daikin ini file is compatible with my model of AC as far as I can tell. Thank you!

#38

Thanks for your input, I too have a LG AC and I’ll be trying out your codes. So you’ve only done the cooling so far, any plans to do the heating? :slight_smile:

#39

Hi,
Thanks for trying this component.
Actually, those LG codes are a merge from another user.
I’m afraid you must build your INI file.

#40

Thanks Vassilis, I will start building my own INI.

So I have loaded the custom component, is there a manual control I can add to my front page?

#41

Hi Vassilis,

I’ve now created a full LG INI here:

https://pastebin.com/9671R3mK

climate:

  • platform: broadlink
    name: LG
    host: 192.168.x.x
    mac: 'BB:BB:BB:BB:BB:BB’
    ircodes_ini: 'broadlink_climate_codes/lg_all.ini’
    min_temp: 18
    max_temp: 30
    target_temp: 26
    temp_sensor: sensor.living_room_temperature
    default_operation: idle
    default_fan_mode: low
    customize:
    operations:
    - idle
    - cool
    - heat
    - auto
    fan_modes:
    - low
    - mid
    - high
    - auto
1 Like
#42

Hello,
Can I upload your INI file in github repo?
What is your LG model?
Thank you