Broadlink RM mini3 configuration

I added my Broadlink to the configuration.yaml.
When I check config, it is Valid (green)
But when I restart HA i gets stuck, like something is wrong.

What is wrong??

- platform: broadlink
   host: 192.168.10.109
   mac: '34:EA:34:43:CD:9F'
   timeout: 15
   switches:
     samsungtv:
     friendly_name: "Samsung TV Power"
     command_on: 'JgBGAJKVETkRORA6ERQRFBEUERQRFBE5ETkQOhAVEBUQFREUEBUQOhEUERQRORE5EBURFBA6EBUQOhE5EBUQFRA6EDoRFBEADQUAAA='
     command_off: 'JgBGAJOVEDoQOhA6DxYPFhAVEBUQFRA6ETkROREUERQRFBEUEBUQFREUERQRORE5EBUQFRE5ETkRORE5ERUQFRA6DzsPFhAADQUAAA='

The indentation, should be:

- platform: broadlink
  host: 192.168.10.109
  mac: '34:EA:34:43:CD:9F'
  timeout: 15
  switches:
    samsungtv:
      friendly_name: "Samsung TV Power"
      command_on: 'JgBGAJK...'
      command_off: 'JgBGAJO...'

Thats how I wrote it.
Couldt it be something to do with the type? Mine is a Broadlink rm mini 3. Or maybe i have to assign a port in my router to use for the Broadlink traffic?

And as I wrote…the HA UI came up, and a new switch appeared ( switch.samsung_tv_power )
The only thing i did was to adding type, and after that i deleted the type and did a new restart af HA

hummm…

But thanks for the input! I seemes to be working now :astonished::grin:

Regards,

Kenneth

1 Like

Well, as it turned out, i had to add Type: rm_mini below the mac-address. My broadlink ir is a RMmini3. But the only option is rm_mini, and it worked.
Also, I had to make a new on off button in customized.yaml to make a normal switch:

switch.samsung_tv_power
  assumed_state: false
  icon: mdi:television
  friendly_name: TV kontrol

this is how the switch looked like before customizing:
gl%20switch

And this is the final result after customizing (assumed_state: false) did the trick (thanks DanielH)
tv

Hope it helped someone with a Broadlink RM mini 3 :grin:

1 Like