RM Pro Broadlink wont show up

Hi everyone I’ve trying to connect my HA to BroadLink RM pro without success, I have configured configuration.yaml as follows:

switch:

  • platform: broadlink
    host: 10.100.100.22
    mac: ‘XX:XX:XX:XX:XX:XX’

when I restart home assistant service it doesnt show on the dashboard (preview), also I cant see the service in states and there is error in my logs, what am I doing wrong?

Regards

1 Like

Good morning (Asia time).

Here is the example of my rm on sensor platform to get the temperature.

platform: broadlink
update_interval: 60
host: !secret ip_pro1
mac: !secret mac_pro1
name: Office
icon: mdi:temperature-celsius
monitored_conditions:
  - temperature

This is the example of my rm switch platform to get the switch to turn on/off, I will set the switch of kitchen light and kitchen aircon

platform: broadlink
host: !secret ip_pro1
mac: !secret mac_pro1
timeout: 30
friendly_name: "Pro1"
type: rm
switches:  
  kitchen_light_2:
    friendly_name: "kitchen light 2"
    command_on: 'sgCMAAojCyMLIwsjCiMjDAsjIwwLIyMMIwwjDCMMCyMLIwsjCwABXwwiCyMjDAsjIwwKJCMMCyILJAsiCyMLIwsjIwwLIyMMCiQiDCMNIwwiDQsiDCIMIwoAAWALIwsjIwwLIyMMCyMiDQsjCiMLIwsjCyMLIyMMCyMjDAsjIg0jDCMMIwwLIwsjCyMLAAXcAAAAAAAAAAAAAAAA6QpCAN8JFgkWCRYJFgkJFhYJFgkJFgkWFgkWCQkWFgkWCRYJCRYWCRYJCRYWCRYJFgkJFgkWCRYJFgkWCRYJFhYJCRYJFukKQgDfCRYJFgkWCRYJCRYWCRYJCRYJFhYJFgkJFhYJFgkWCQkWFgkWCQkWFgkWCRYJCRYJFgkWCRYJFgkWCRYWCQkWCRY='
    command_off: 'sn40AAwjJA0MIyUMDSMkDCUMJAwNIyUMDCMMIwwAAWMMIwwjJAwMIyQMDCMkDAwjDCMMIwwjDCMAAAAA'
  kitchen_aircon:
    friendly_name: "kitchen aircon"
    command_on: 'JgBAAGoAAUESMxESEBIQEhA0EBIREREREREREREREREREhERERESEBIyEhARMxIQEhASMhIQEhASMhIyETMSEBEADQUAAAAAAAAAAA=='
    command_off: 'JgBAAGYAAUYPNQ8TDxMPEw81DxMPEw8TDzYONg8TDxMPEw8TDxMPEw8TDxMPFA4TDxMQNA8UDjYREQ8TDxMPNQ8ADQUAAAAAAAAAAA=='

Hi! Thank you for your answer, Do you have RM Pro?

yes. and I just put rm on type

Do you think “switchs” are necessary? I don’t have anything configured yet in broadlink hub…

You can test by put the switches inside first with empty command on and off. example to turn on/off tv. To get the switch of livingroom tv show on the frontend.

platform: broadlink
host: !secret ip_pro1
mac: !secret mac_pro1
timeout: 30
friendly_name: "Pro1"
type: rm
switches:  
  livingroom_tv:
    friendly_name: "Livingroom TV"
    command_on: ''
    command_off: ''

I’m pretty sure the “switches” part is necessary.

You aren’t creating a “broadlink” device. You are creating a “switch” device that is using the broadlink platform to communicate with it.

It would be the same with MQTT. If you add an MQTT broker it doesn’t show up on the frontend. The only thing that will show up is the device (switch, etc.) that you create using the MQTT platform.

If you do as sunonline suggested and just build some “dummy” switches, those switches will show in the frontend. then when you try to operate the switch a light should flash (once for each operation) on the broadlink to show that it is active.

Thank you I’ll try it, is there anyway to capture the ID of my switches ? The thing is that it doesn’t even show up in the events/states so I can’t even know what is the entity ID.

you have to create the entity id of the switch in your configuration.yaml (or switches.yaml if you have your configuration split up).

Have you read the component page for the broadlink component?

you need to be able to capture the codes for your device from the remote then add them to the configuration as in the examples on that page.

the devices are not discoverable from the broadlink device AT ALL. You have to capture the code and manually program each switch that you want HA to control via the broadlink device.

1 Like