To all.
I have RM4C mini and i configure it as a “remote” and all “remote.learn_command” and “remote.send_command” work well.
Step by step how i did it (hope this would be helpfull):
- Download Broadlink app from Google Play Market (https://play.google.com/store/apps/details?id=cn.com.broadlink.econtrol.international&hl=ru)
- Launch it and registration new account
- In main screen with 2 buttons press “+ add device”. Then Next
- Enter local WiFi password
- Factory reset my RM4C Mini by press on/off button for 6 secs.
- In app press Search. After that app start connect RM4C mini to my wifi.
- When it connected App request to add device . DONT DO THIS! Just close App.
- In Hass configuration.yaml add section
remote:
- platform: broadlink
name: rm4_mini
type: rm4c_mini
host: 192.168.1.11
mac: '24:DF:A7:4F:78:D3'
- Restart Hass
- And now you can use Services to learn and send commands
Learn example:
entity_id: remote.rm4_mini
device: ac
command:
- turn on
- turn off
Send example:
entity_id: remote.rm4_mini
device: ac
delay_secs: 2
command:
- turn on
- turn off