-
This may be the wrong place to ask, and I don't want to post a question that is irrelevant, so just let me know if it's a problem. That said, I have an automation that when triggered uses ADB to pause or play my fire tv, and I wanted to add another to increase or decrease the volume just like the firemote does. But I cannot for the life of me figure out the ADB code used. I've been digging through the ADB github, but can't even find a list of commands and Home Assistant docs are lacking command documentation outside of pause and play. Is there documentation for the commands each button triggers on Firemote, or is there a database of commands and their variables? Otherwise can you just share the ADB commands that are used for volume up/volume down buttons? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@mizuxe ~ This is the PERFECT place to ask! I have spent a great deal of time trying to do this same exercise for every button on every remote for every device family and every device type, so I completely understand the effort it takes to figure it all out. Mercifully, there tends to be a lot of overlap between many devices, so that saves some time. Here are three ways that you might find to be helpful: Check the Firemote WikiFor a few devices, I actually created a ADB command chart in the Firemote Wiki. I would love to make a full chart for every device someday, but as you can imagine, that's a very large undertaking. However, if you are lucky and you own one of these three devices, I've documented it all:
Even if you don't own one of these devices, the commands you find in the charts might work for you too! As I stated before, there tends to be a lot of overlap, which is a good thing. Use the Debug connection toolThere is a handy feature in Home Assistant now that allows you to see the commands that Firemote (and any other cards) are sending to the HA core! It might feel a little clunky to use at first, but it's worth the effort. Here's how you use it:
Hunt through the Firemote source codeIf writing code isn't your thing, it can be a little unpleasant to try to make sense of what you are looking at. It also doesn't help that the current codebase for version 3.2.7 is 13002 lines long. Hopefully these links will at least help you know where to start looking if you decide to go this route:
-Doug |
Beta Was this translation helpful? Give feedback.
@mizuxe ~ This is the PERFECT place to ask!
I have spent a great deal of time trying to do this same exercise for every button on every remote for every device family and every device type, so I completely understand the effort it takes to figure it all out. Mercifully, there tends to be a lot of overlap between many devices, so that saves some time. Here are three ways that you might find to be helpful:
Check the Firemote Wiki
For a few devices, I actually created a ADB command chart in the Firemote Wiki. I would love to make a full chart for every device someday, but as you can imagine, that's a very large undertaking. However, if you are lucky and you own one of these three devices, I…