Node red with Android Debug Bridge

I’m using Android Debug Bridge so I can control my Android TV with Hassio.

It works flawlessly when I’m using Lovelace but I don’t understand how to use a “Call Service”-node with it.
This code is used in Yaml/Lovelace.

        action: call-service
        service: androidtv.adb_command
          entity_id: media_player.shield_2
          command: HOME

This is how it looks like in the Call service node.

What am I missing?

1 Like

Hi, I’m trying to do the same, were you able to do this?

I am also trying to do the same, without success. Node Red just gives API error. Did you manage to get it work somehow? For what it’s worth, my debug node looks like this:

So where does this “object” comes from into command, maybe that’s the culprit?

{"command": "HOME"}
works fine for me.

Check if there is maybe a typo. I see in your error that your “c” is capitalized. It doesn’t work like that.

1 Like

Thank you, that was the problem! I didn’t notice that, and didn’t know it’s case sensitive, but changing “Command” to “command” did the trick for me! :slight_smile: