Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices working well, but I cannot see the remote option #105

Open
raulfunkie opened this issue Feb 4, 2024 · 8 comments
Open

Devices working well, but I cannot see the remote option #105

raulfunkie opened this issue Feb 4, 2024 · 8 comments
Labels
good first issue Good for newcomers

Comments

@raulfunkie
Copy link

Describe the bug
I have set up the devices correctly (they show up on HomeKit and I can turn them on and off, change input, etc on Homekit). But I cannot get the remote with the extra buttons (I set them up on the config) on the CC Remote app.

Expected behavior
Where should I be seeing the remote? Is there any specific measure I need to take on the config for the remote to show up?

Log output
If applicable, add homebridge log output to help explain your problem or copy paste it into a text file and attach it if the log is more than 10 lines. Make sure to set "debug" to true in config.js so plugins will output debug log

Device (please complete the following information):

  • Name: It’s a JVC TV and a Fire Stick 4K

Additional context

  • I can manipulate the devices using ADB commands, so that should work.
  • I use the terminal to send the adb commands to each of the devices and they work ok there.
  • Setting up the buttons on config.json has been a hit or miss cause I cannot see where the Remote appears for each of the devices.
  • On the Remote app I only see TV.
  • Could this be relate to me being part of two Homes in Homekit? 🤔
@raulfunkie raulfunkie added the bug Something isn't working label Feb 4, 2024
@dwaan
Copy link
Owner

dwaan commented Feb 4, 2024

Can you copy paste your config.json here?

The Android device should appear in Remote app regardless there are more than 1 Homes in HomeKit.

IMG_0350

If you’re not sure with the remote configuration, just delete the remote configuration part from config.json, the plugins will use default value. Or you can edit the config using HomeBridge config UI X with visual representation of the button.

@raulfunkie
Copy link
Author

raulfunkie commented Feb 4, 2024

Here’s my config.json, the part where I have homebridge-adb setup:

            "platform": "HomebridgeADB",
            "accessories": [
                {
                    "name": "FireStick",
                    "ip": "192.168.4.39",
                    "mac": "d8:be:65:d5:3f:f5",
                    "timeout": 1000,
                    "interval": 1000,
                    "category": "TV_STREAMING_STICK",
                    "playbacksensor": false,
                    "hidenumber": true,
                    "hideother": true,
                    "hidehome": "false",
                    "debug": true,
                    "skipSpeaker": true,
                    "infobutton": "KEYCODE_HOME KEYCODE_HOME",
                    "selectbutton": "KEYCODE_ENTER",
                    "upbutton": "KEYCODE_DPAD_UP",
                    "rightbutton": "KEYCODE_DPAD_RIGHT",
                    "downbutton": "KEYCODE_DPAD_DOWN",
                    "leftbutton": "KEYCODE_DPAD_LEFT",
                    "playpauseobutton": "KEYCODE_MEDIA_PLAY_PAUSE",
                    "backbutton": "KEYCODE_BACK",
                    "poweron": "adb -s 192.168.4.39:5555 shell input keyevent 26",
                    "poweroff": "KEYCODE_POWER",
                    "inputs": [
                        {
                            "name": "Twitch",
                            "id": "tv.twitch.android.app"
                        },
                        {
                            "name": "Disney+",
                            "id": "com.disney.disneyplus"
                        },
                        {
                            "name": "Youtube",
                            "id": "com.amazon.firetv.youtube"
                        },
                        {
                            "name": "AppleTV",
                            "id": "com.apple.atve.amazon.appletv"
                        },
                        {
                            "name": "Netflix",
                            "id": "com.netflix.ninja"
                        },
                        {
                            "name": "UFC Fight Pass",
                            "id": "com.neulion.firetv.ufc.android.amazon"
                        },
                        {
                            "name": "MagisTV",
                            "id": "com.android.mgstv"
                        },
                        {
                            "name": "HBO Now",
                            "id": "com.hbo.hbonow"
                        }
                    ]
                },
                {
                    "name": "SmartTV",
                    "ip": "192.168.4.52",
                    "mac": "e2:cb:0e:9d:ee:7a",
                    "timeout": 1000,
                    "interval": 1000,
                    "category": "TELEVISION",
                    "playbacksensor": false,
                    "hidenumber": true,
                    "hideother": true,
                    "hidehome": "false",
                    "debug": true,
                    "skipSpeaker": false,
                    "infobutton": "KEYCODE_HOME KEYCODE_HOME",
                    "upbutton": "KEYCODE_DPAD_UP",
                    "rightbutton": "KEYCODE_DPAD_RIGHT",
                    "downbutton": "KEYCODE_DPAD_DOWN",
                    "leftbutton": "KEYCODE_DPAD_LEFT",
                    "volumeup": "KEYCODE_VOLUME_UP",
                    "volumedown": "KEYCODE_VOLUME_DOWN",
                    "poweron": "adb -s 192.168.4.52:5555 shell input keyevent 26",
                    "poweroff": "KEYCODE_POWER"
                }
            ]
        }

@dwaan
Copy link
Owner

dwaan commented Feb 5, 2024

It looks fine, albeit some typo at playpauseobutton should be playpausebutton, and wrong format "poweron": "adb -s 192.168.4.39:5555 shell input keyevent 26", should be "poweron": "shell adb -s 192.168.4.39:5555 shell input keyevent 26".

When you restart the homebridge-adb plugins, does homebridge-adb log contain any error or any unusual output?

@dwaan dwaan added good first issue Good for newcomers and removed bug Something isn't working labels Feb 5, 2024
@raulfunkie
Copy link
Author

raulfunkie commented Feb 5, 2024

@dwaan nope, I don’t see anything out of the ordinary in the logs. I can share them if you’d like too!

Edit: fixed those errors, and still no remote :/

@dwaan
Copy link
Owner

dwaan commented Feb 11, 2024

Right now, I still can’t recreate the problem, so fix will take awhile.

@crbyxwpzfl
Copy link

hi i just stumbled across this. As I had trouble with the control centre remote of other plugins and was searching for related issues.

I recently tried other plugins to add tvs to HomeKit. And for all of them the remote widget or control centre remote does not show the tvs with ios17.
My testing got me as far as that on ios16 the remote widget shows the tvs. But on ios17 the remote does not show the tvs.

Perhaps this is helpful to you otherwise just ignore me.

@dwaan
Copy link
Owner

dwaan commented Mar 16, 2024

hi i just stumbled across this. As I had trouble with the control centre remote of other plugins and was searching for related issues.

I recently tried other plugins to add tvs to HomeKit. And for all of them the remote widget or control centre remote does not show the tvs with ios17. My testing got me as far as that on ios16 the remote widget shows the tvs. But on ios17 the remote does not show the tvs.

Perhaps this is helpful to you otherwise just ignore me.

Thank you for the info. I think it’s iOS bug perhaps? As my iPhone and iPad both shown the remote normally with the latest iOS and iPadOS..

@crbyxwpzfl
Copy link

crbyxwpzfl commented Mar 16, 2024

Thats real good to hear thank you! So it is not intentionally removed by apple.
edit. after a settings reset of my phone the remote shows up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants