But what are the keys needed for AC unit?
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
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?
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? 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
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
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.
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.
Yes. idle and off is the same command. Home kit sends idle instead of off command
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.
Thanks. I donāt use homekit so I guess it doesnāt matter if I use idle or stop command.
Hi, does this work with using HASSIO instead? How would I be able to add your addon as a third party repository in HASSIO?
Hi, this is not a third party addon. Please add it as a custom component.
https://home-assistant.io/developers/component_loading/
Thank you
Thanks! Got it working! And it is very impressive! Many thanks
Theyāve fixed this in latest homebridge-homeassistant bridge.
Would it be possible to have those component for xiaomi it booster? I exchanged braodlink
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!
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?
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.
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?
Hi Vassilis,
Iāve now created a full LG INI here:
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
Hello,
Can I upload your INI file in github repo?
What is your LG model?
Thank you