question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[HOOBS] Tv is not displayed by Homebridge or HomeKit (Workarround in the comments)

See original GitHub issue

Describe the bug I have now googled a lot and tried to find a solution to my problem, unfortunately without success. I try to add TV, but unfortunately it is not displayed anywhere. In the log there are also no errors, only a warning (Possibly that is the problem). Another device works without problems. Except for the 2 log lines it looks like the TV does not exist.

What I have already tried

  • I have used a minimal config to prevent errors in it.
  • I restarted Homebridge, HomePod, etc.
  • I have reinstalled the plugin
  • I have set up the bridge again

To Reproduce Steps to reproduce the behavior: Clean Homebridge install + my config

The interesting row (Probably): 18.7.2021, 04:03:50Broadlink Bridge WARNING platform configured a external accessory under the plugin name "[object Object]". However no loaded plugin could be found for the name.

18.7.2021, 04:03:34Broadlink Bridge starting
18.7.2021, 04:03:50Broadlink BridgeLoaded plugin 'homebridge-broadlink-rm-pro'
18.7.2021, 04:03:50Broadlink BridgeLoading 1 platforms...
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRM[INFO] Automatically discovering Broadlink RM devices.
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRMLeinwand Accessory Ready
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRM[DEBUG] Adding Accessory window-covering (undefined)
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRMtv Accessory Ready
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRM[DEBUG] Adding Accessory tv (tv)
18.7.2021, 04:03:50Broadlink Bridge WARNING platform configured a external accessory under the plugin name "[object Object]". However no loaded plugin could be found for the name.
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRM**************************************************************************************************************
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRMYou added TVs in your configuration!
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRMDue to a HomeKit limitation you need to add any TVs to the Home app by using the Add Accessory function.
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRMThere you'll find your TVs and you can use the same PIN as you using for this HomeBridge instance.
18.7.2021, 04:03:50Broadlink BridgeBroadlinkRM**************************************************************************************************************
18.7.2021, 04:03:51Broadlink BridgeBroadlinkRM[INFO] Listening for Broadlink devices on xxx.xxx.xxx.xx:37100 (UDP)
18.7.2021, 04:03:51Broadlink BridgeBridge is running on port 57826.
18.7.2021, 04:03:51Broadlink BridgeBroadlinkRM[DEBUG] (xxxxxxxxxx) Sending command:65 with payload: xxxxxxxxxxxxxxxxxxxxxxx
18.7.2021, 04:03:51Broadlink BridgeBroadlinkRM[INFO] Discovered Broadlink RM4 Pro (649b) at xxx.xxx.xxx.xx (xx:xx:xx:xx:xx:xx)

Config:

{
    "accessories": [],
    "platforms": [
        {
            "platform": "BroadlinkRM",
            "logLevel": "debug",
            "accessories": [
                {
                    "name": "Leinwand",
                    "type": "window-covering",
                    "totalDurationOpen": 30,
                    "totalDurationClose": 25,
                    "data": {
                        "open": [
                            {
                                "data": "HEX_CODE",
                                "sendCount": 2,
                                "interval": 0.5
                            }
                        ],
                        "close": [
                            {
                                "data": "HEX_CODE",
                                "sendCount": 2,
                                "interval": 0.5
                            }
                        ],
                        "stop": [
                            {
                                "data": "HEX_CODE",
                                "sendCount": 2,
                                "interval": 0.5
                            }
                        ]
                    }
                },
                {
                    "name": "Cinema",
                    "type": "tv",
                    "debug": true,
                    "data": {
                        "on": [
                            {
                                "data": "HEX_CODE",
                                "pause": 0.3
                            },
                            {
                                "data": "HEX_CODE"
                            }
                        ],
                        "off": [
                            {
                                "data": "HEX_CODE",
                                "pause": 0.3
                            },
                            {
                                "data": "HEX_CODE",
                                "pause": 0.3
                            },
                            {
                                "data": "HEX_CODE"
                            }
                        ],
                        "remote": {
                            "select": "HEX_CODE",
                            "arrowUp": "HEX_CODE",
                            "arrowDown": "HEX_CODE",
                            "arrowLeft": "HEX_CODE",
                            "arrowRight": "HEX_CODE",
                            "playPause": "HEX_CODE",
                            "rewind": "HEX_CODE",
                            "fastForward": "HEX_CODE",
                            "nextTrack": "HEX_CODE",
                            "previousTrack": "HEX_CODE",
                            "back": "HEX_CODE",
                            "exit": "HEX_CODE",
                            "info": "HEX_CODE"
                        },
                        "volume": {
                            "up": "HEX_CODE",
                            "down": "HEX_CODE"
                        },
                        "inputs": [
                            {
                                "name": "(1) Nintendo Switch",
                                "type": "other",
                                "data": [
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "sendCount": 1,
                                        "interval": 0.3
                                    }
                                ]
                            },
                            {
                                "name": "(2) Steam Link",
                                "type": "other",
                                "data": [
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "sendCount": 1,
                                        "interval": 0.3
                                    }
                                ]
                            },
                            {
                                "name": "(3) Nintendo Wii",
                                "type": "other",
                                "data": [
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "sendCount": 1,
                                        "interval": 0.3
                                    }
                                ]
                            },
                            {
                                "name": "(4) Home (Blu-Ray)",
                                "type": "other",
                                "data": [
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    }
                                ]
                            },
                            {
                                "name": "(5) AppleTV",
                                "type": "other",
                                "data": [
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "pause": 0.3
                                    },
                                    {
                                        "data": "HEX_CODE",
                                        "sendCount": 1,
                                        "interval": 0.3
                                    }
                                ]
                            }
                        ]
                    }
                }
            ]
        }
    ]
}

I would be very happy if someone has a solution for me 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:30

github_iconTop GitHub Comments

1reaction
PilchardFriendlycommented, Jul 27, 2021

I think I found out to upgrade the plugin - it’s a bit behind the scenes, but I think it works, at least.

if you can ssh on the hoobs, you can run the following command line:

sudo hbs bridge ls

which gave me:

-------------------------------------------------------------------------------------------------------------
hub                  | hub    | Hub                     | 80    | 031-45-154 | 08:3A:F0:99:32:23 |           
broadlinkrmprobridge | bridge | Broadlink Rm Pro Bridge | 52826 | 031-45-154 | 2A:3E:67:8D:3F:29 | bonjour   

so I then ran

sudo hbs plugin -b broadlinkrmprobridge ls

this gave me the following:

--------------------------------------------------------------------------------------------------------------------
homebridge-broadlink-rm-pro | 4.4.5   | /var/lib/hoobs/broadlinkrmprobridge/node_modules/homebridge-broadlink-rm-pro

then I cd /var/lib/hoobs/broadlinkrmprobridge

and run

sudo yarn add homebridge-broadlink-rm-pro@4.4.6-beta.2

which shows:

[1/4] Resolving packages...
[2/4] Fetching packages...
warning homebridge-broadlink-rm-pro@4.4.6-beta.2: The engine "homebridge" appears to be invalid.
warning fakegato-history@0.6.1: The engine "homebridge" appears to be invalid.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ homebridge-broadlink-rm-pro@4.4.6-beta.2
info All dependencies
└─ homebridge-broadlink-rm-pro@4.4.6-beta.2
Done in 6.18s.

A restart of the bridge should be enough to bring in the fix.

Even if you don’t do this, I’ll leave this here for anyone else who comes across it. It’ll be much easier when we’re on the proper 4.4.6 release.

1reaction
galbartalcommented, Jul 24, 2021

You literally saved my whole house @PilchardFriendly Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hello. Having a problem all of a sudden with my HOOBS box ...
All devices exposed by HOOBS to HomeKit show the status "No response." Looking at the Dashboard in Homemanager, the system seems fine. Same...
Read more >
Accessories not showing in home app : r/HOOBS - Reddit
After scanning in the bridge, go back to add accessory in Homekit and click the orange text "More options…" then you should see...
Read more >
homebridge-webos-tv - HOOBS
This means that a TV will not appear in your Home app until you add it! To add a TV to HomeKit follow...
Read more >
Accessories work locally, "not responding" remotely, Home ...
In these instances, the HOOBS log does not show that the Home Hub is even attempting to connect to the bridged accessories. HomeKit...
Read more >
Homekit Accessories Not Responding - Apicella Gomme
Homebridge allows you to integrate with smart home devices that do not natively ... All devices exposed by HOOBS to HomeKit show the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found