Broadlink IR and Node Red API error

Hi All,

I’m trying to figure out why Node-Red says that I have an API error when calling the service to send an IR command using a Broadlink device, which is connected just fine…

I use the following config:

and the Data includes the following:

{
    "device": "Sony SA-CT260",
    "command": "Volume Down"
}

The command actually does get sent and it works just fine, but Node-Red reports an API error which I believe is preventing the flow from moving forward.

That error is:

"Call-service error. Enum RemoteKeyCode has no value defined for name 'KEYCODE_Volume Down'"

How can I resolve this?

I am the same situation. finally did you resolve it ?

Hi there, just logged in after a few months so I missed this. No, I didn’t resolve it, but worked around it to create button helpers and automations associated with those helpers to “Press” in NodeRed. So basically HA is handling the command part, NodeRed is pressing some virtual buttons.