Help! Syntax when learning IP codes on Broadlink RM Pro

Hi All,
I’m having an issue when send an IR code I’ve learnt via the Broadlink RM Pro.

I am using Both RF and IR codes to control my Aircon and some TC2 Power switches and these are working Fine. But when I learn the IR sequence for My Braun TV. I recieve the Following when doing a Check Config.

“Configuration invalidTesting configuration at /config 2018-02-17 19:48:02 ERROR (SyncWorker_0) [homeassistant.util.yaml] mapping values are not allowed here in “/config/configuration.yaml”, line 192, column 19 2018-02-17 19:48:02 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: mapping values are not allowed here in “/config/configuration.yaml”, line 192, column 19”

Here is a copy of what is in my configuration.yaml

  - platform: broadlink
    name: Livingroom-IR-RF
    host: 192.168.0.92
    mac: '34:ea:34:8e:f8:8a'
    timeout: 15
    switches:
      air_con_kelvinator_23dry:
        friendly_name: "Living Room 23 Dry"
        command_on: 'JgDKAI6REDYRExE1ETYREhETETURExESEjUREhETETUSNRESETYREhETERIRNhE1ETYSNRI0ETYRNRI1ERISEhESERMREhETETUSEhI0EhIRNRISEhERNhESETYREhE2EhIQNhE2EKyPkBE1ERMRNRE2ERMREhE1EhIREhE2EhESEhE1EjUREhE2EhETERESETYSNRI0EjUSNBI1EjURNRISERIREhEUEBIRFBA1EhIRNRISETUSEhESETYSEhA2EhIRNRISEDYSNREADQUAAAAAAAAAAAAAAAAAAA=='
        command_off: 'JgDKAI6REjQQFBI0EDcQExISEjQSEhATEDcSERISEjQSNRESETYSERE2ETUSNRI1EhETNBI0EzQREhETExATERI0ExEREhM0EzMRNhESExEREhMRExATERMQExASNRM0ETURNhMzEauPkRI0EhIQNhI1EhERExE1EhISERE2ERIRExE1ETYSERE2ERISNRE2EjQTNBESETYRNRE2ERMREhESERMRNRMRERITNBE2ETURExMQERIRExESERMREhETETURNhE1ETYRNhEADQUAAAAAAAAAAAAAAAAAAA=='
      living_room_tv:
        friendly_name:"Living Room TV"
        command_on: 'Uj+EAIiy+m+/JXFf9ZjnThETETURExESEjUREg=='
        command_off: 'Uj+EAIiy+m+/JXFf9ZjnThETETURExESEjUREg=='

The AIrcon commands work fine. The “Living Room TV” command_on: causes this error on the Config Check. Is there a character in there that it doesnt like. any clues as to what I’m doing wrong?

Thanks

Hi,

it is a lot of try and error.
First the code is way to short.
Normally you need 2-20 trys until you figure out the correct code.
Try to play with the distance to the broadlink and the time you pressed the button.

Sometimes after the 20th try I just stop and start the next day because otherwise there would the damage to that thing :wink:

I always temp copy to a textile, see if it is long enough and if not, I just try it again, and if the code is different from any other I noted before, I give it a try.
If it works, it works flawlessly but sometimes it is hard to get there.

you forgot to put a space between friendly_name: and “living room tv”

That was it, Thanks!