@maurizio53 - The options for the Fire TV Stick 1st Gen (2014) and the Fire TV Stick 4K 1st Gen (2018) are minimal since their physical remotes are more simple. You are safe to remove the app launch button options in those YAML configs. The button override options will still work no matter which device type you choose.
If you are able to use the UI editor, you might notice that the App Launch Button options will appear and disappear depending on what type of device you are attempting to configure:
With all of that being said, there actually IS a way to choose a different remote style than the one that came with your device, allowing you to have some app launch buttons if you’d like. Keep in mind that configuring your card in this manner might not work 100% of the time.
Here’s an example that might work well for your Fire Stick 4K:
The important things to note here are the device_type and the compatibility_mode options that have been changed. The Device Type option is what is responsible for changing the remote style to something other than the physical remote style that came with your device. The Compatibility Mode option changes the set of commands that are used when communicating with the device.
To see the proper compatibility mode for any of the supported devices, please find your device in this chart, click on it, and scroll down to “Firemote device specific settings and button overrides” to find “Default Event Setting”. The default event setting you will find in that documentation will tell you which one is recommended to use in your YAML config.
Interesting. Do any other custom cards that you’ve installed through HACS have the same issues? Have you tried to remove and re-install the Firemote card through HACS yet?
Thanks, this means i can set the power-button to open or close the fire tv with media_player.turn_on or .off service?
Can you give me an example how to set this button with those services?
I suggest writing a script that can determine the current state of your Fire TV Stick, and then choose to turn the media player on or off based on that.
The other option is to use device_type: fire_tv_stick_4k_max which already uses that logic for the power button.
Hey this is awesome and thank you, I am actually using it with my Mi Boxes and it works great. I am trying to add a couple of quick launch apps for NZ like TVNZ+, copied the correct commands, they work and added them into the .js file, copied the other app buttons but it will not show in the list after reboot, I could add separate buttons underneath like other remotes but just thought I would be clever, even if the commands didn’t work I would have expected he app to show in the list?
Oh yes! I have the distinct privilege of dealing with this specific “feature” all the time while doing development work. There is a very good chance that you’ve done everything 100% correctly, but your home assistant mobile app, or your browser itself is hanging on to some extremely sticky cache.
The easiest way to test this theory is to use your browser first. Do everything you can to clear your cache, and/or even try opening the home assistant UI in incognito/private mode. If that doesn’t work… try it again. No, seriously. Try it again.
If your browser now shows your new item in the list, then that’s the issue and solution. Clearing the companion app cache is a little trickier on mobile, but it is possible. It’s a bit easier on IOS, and I’ve found that on my Samsung Andriod phone, I have to hit the clear button at least twice before it clears. I can offer help if you want it.
If none of that works, it could be possible that you actually have two copies of this card on your system. Perhaps you’ve loaded one via HACS, and another copy into your www directory and attached it as a resource. If that’s the case, you’ll want to remove the one that you didn’t edit, then clear the cache and/or restart your home assistant instance, and take a look.
I hope that helps!
Also, out of curiosity, which remote style do you use? What settings are working for the Mi Box? I don’t own one, so I’ve never tested it.
thanks for the quick reply. I have done all of that, even removed the other quick apps and rebooted, cleared cache and used incognito and even used a different browser that I have never used before. I will let you know which mappings work, I have been using 4 series 2021.
@bjm - Strange… I’m not sure exactly where your issue might be. Hopefully this can help you.
I’ve just released version 1.10.3 using your JSON data, and a tweaked version of your CSS. (I changed the colors only to match what I found on the TVNZ website) The app shortcut shows up on the list, and when selected, the button appears as expected. I can’t test the functionality since that app is not available in my region.
Please let me know if this update works for you, and if the button launches your app as expected.
I hope that all of this helps! If it doesn’t set you on the right track and/or if you’d like to contribute to the project by requesting official app shortcut support, I’d encourage you to submit an app shortcut request here: https://github.com/PRProd/HA-Firemote/issues/new/choose
@crdougn OMG OMG and OMG, as soon as I redownloaded 1.10.3 it was there and worked perfectly, you are amazing, thank you soo much for doing this!
Sorry, I am a bit over excited LOL
@dfernan5 - Welcome to the community! It’s good to have you here!
I think I know what you are asking, but please correct me if I’m wrong. Are you asking for scripts that can be tied to normal Home Assistant buttons? If that’s the case, then you’re in luck! That’s actually how this project started. You might be able to find what you are looking for here in my GitHub repository. The scripts are in the file named scripts.yaml.
I cannot see the remote in my dashboard with firefox. It works with Brave tho. I deleted all cache and cookies in firefox and fully rebooted HA, but it doesn’t help. Does anyone knows what the problem could be?
Same for me. It just does not show up. Deleted all cookies and cache to.
Other browsers just work fine, Firefox does not display the card at all (not even selectable):