Git Product home page Git Product logo

Comments (6)

Faisalthe01 avatar Faisalthe01 commented on July 23, 2024

You need to Add Accessory from HomeKit and then scan the Homebridge Homekit Code to add it

from homebridge-broadlink-rm.

alexclst avatar alexclst commented on July 23, 2024

What do you mean by that? The first tv accessory, as well as many others from Homebridge, and using the broadlink platform, show up. So what more would I need to scan to get the second tv accessory to appear?

from homebridge-broadlink-rm.

Faisalthe01 avatar Faisalthe01 commented on July 23, 2024

You will need to go to your Home app, then + sign, then Add Accessory then i Dont Have a Code and Cannot Scan then you will see your other TV’s listed there. Select that and then scan the Homebridge’s HomeKit code to finish add.

from homebridge-broadlink-rm.

alexclst avatar alexclst commented on July 23, 2024

I have done that all. My other TV accessory is from Homebridge, as are a number of other accessories that do show up and work just fine. It is just that I cannot get a second accessory of type tv to appear when it is in the config.json. My config for the Broadlink platform is below. Everything except that last TV named Blu-Ray works just fine.

{
            "platform": "BroadlinkRM",
            "name": "Broadlink RM",
            "hideScanFrequencyButton": true,
            "hideLearnButton": true,
            "hideWelcomeMessage": true,
            "accessories": [
                {
                    "name": "AC Power",
                    "type": "switch",
                    "host": "a7:df:24:df:ff:93",
                    "data": "260050000001259313121312131114371312131114111411143713111437131213371337143614371337141113121312133714111312131213111437133714361411143614371337140005530001284814000d05000000000000",
                    "disableLogs": true,
                    "persistState": false,
                    "enableAutoOff": true,
                    "onDuration": 0.1
                },
                {
                    "name": "AC Up",
                    "type": "switch",
                    "host": "a7:df:24:df:ff:93",
                    "data": "26004800000123921411141114111436141114111411131114371411133714111436143614371436141114361436143714111311141114111436141114111411143614371436143614000d050000000000000000000000000000",
                    "disableLogs": true,
                    "persistState": false,
                    "enableAutoOff": true,
                    "onDuration": 0.1
                },
                {
                    "name": "AC Down",
                    "type": "switch",
                    "host": "a7:df:24:df:ff:93",
                    "data": "26004800000123941213121311141139121312131213111312391213113912131238123911391238123911131239123812131213121312131113123912131213113912381239113912000d050000000000000000000000000000",
                    "disableLogs": true,
                    "persistState": false,
                    "enableAutoOff": true,
                    "onDuration": 0.1
                },
                {
                    "name": "AC Cool",
                    "type": "switch",
                    "host": "a7:df:24:df:ff:93",
                    "data": "260050000001219512141113111411391214101411131313113911141238121311391238123911391238121313121238121312131213121312131139123812141138123912381238130005540001264a12000d05000000000000",
                    "disableLogs": true,
                    "persistState": false,
                    "enableAutoOff": true,
                    "onDuration": 0.1
                },
                {
                    "name": "AC Energy",
                    "type": "switch",
                    "host": "a7:df:24:df:ff:93",
                    "data": "26004800000122941213121312131238121312131213121312381213123812131239113912381239111312391114111312131213121312131238121312381239123812381239123812000d050000000000000000000000000000",
                    "disableLogs": true,
                    "persistState": false,
                    "enableAutoOff": true,
                    "onDuration": 0.1
                },
                {
                    "name": "Projector",
                    "type": "switch",
                    "host": "a7:df:24:e0:1b:36",
                    "data": "26009000000121941337133713121312131213131213123812381213123812131238121313371312131213121213121412381312131213371337123812381337131213371337131213000540000125941337133712131213131212131313123812381213123813121337131213371312121312131213131213371312121312381239123812381337121313371337131212000d05000000000000",
                    "disableLogs": true,
                    "persistState": false,
                    "enableAutoOff": true,
                    "onDuration": 0.1
                },
                {
                    "name": "Reciever",
                    "type": "tv",
                    "host": "a7:df:24:e0:1b:36",
                    "disableLogs": true,
                    "persistState": false,
                    "data": {
                        "off": "260050000001209313121336123712371237123812371213123712131213121312131213121312371213123712131237121312371312131213361213123713121336121312371238110005180001254a13000d05000000000000",
                        "on": "260050000001209313121336123712371237123812371213123712131213121312131213121312371213123712131237121312371312131213361213123713121336121312371238110005180001254a13000d05000000000000",
                        "volume": {
                            "up": "260050000001209411131237121410391137123713361214113811141138111411141114111412381014113812141038123712141114111411371214113811141114113812361237130005170001244b12000d05000000000000",
                            "down": "2600540000011d961113113910160d3a123712380f3a101411381214103a10130f1710160f141139103a0f391115103a103a0e1411141016101411170e3910180e160a3b1338113a0e00051a460e7e151511125010000d050000"
                        },
                        "remote": {
                            "select": "2600500000011f9412131138131212371336133611381214113713131236131311141114121311381213103911381237123712141137123712371312121412121214113712141114120005160001264a12000d05000000000000",
                            "arrowUp": "2600500000012093121312381213113812361238113811141138111510391113121312131115113713371114113712381137121411141237111412371114111313130f3a12371313100005180001264a12000d05000000000000",
                            "arrowDown": "2600500000011d951015103910170e3b0f3a0c3b0f3f0c15103b0f151038113912131015103910180d160b3e0d3b103d0d1311190c3e0b39113a0b1a0f150d19103904450f170f0005193a0f240ea74d0f000d05000000000000",
                            "arrowLeft": "26004c0074960f5e101511391038103a103a0e140f3e0e180b3d0e160e180e1411140c4112370d3a0f38113908410e1711140d3c10180c1a0a180f170f170d3b0e3b0f13070005230001244d0f000d0500000000000000000000",
                            "arrowRight": "260050000001219313121336121312371237133612371214113812131138111411141213111411381114123712371237133612131213133613361213121411141113123712371313120005170001264912000d05000000000000",
                            "back": "2600500000011f95113910391137103a10381238103a0e190d3910160e180e15101510150b1b0f1511391038113712141115103a0f3911131114111511141039113613141113113a110005160001244d11000d05000000000000",
                            "exit": "260058000001209313121237121313361435123713371213123711151038111412131214101511371214113712131336121312371213123713361214113712141137121412371114120005160001254b12000c420001254912000d050000000000000000000000000000",
                            "playPause": "26005000000120960f391236113811381138113811391115103713140f1511160e170f1410170f151015101311160f39111411391039101610381038113911131237111510151038110005180001254b12000d05000000000000",
                            "info": "260050000001209312141137121411371237123712371214123714111138121312131114111413361214101411381237123711151114111411371237121412131113123712371336120005170001254b12000d05000000000000",
                            "rewind": "26005400360d9d0e31960f3a0f3b08400f410839103b07420d170f3a0d1a0b1710170e180f140f180d170e160e180e3b0e390f1b0b3a103e0b1607440e3711150e180c3b111510160f3911000518210f150dd14c10000d050000",
                            "fastForward": "26004e006c071c13080e68990c390f850f37113d0d3906430d190e61081c0f1312160f160f160b1f0a3c0d1a0b37113c10150e39103910180d170e5e10160e3a11170d1a073d1000051c180cfd4e0e000d050000000000000000",
                            "nextTrack": "260054000001129e12370e3e0f390f3b0f3b0e3713370f181036121510170e1410151114111e071511390c3c10160f3a0f1a0b39113810170e180d1511390f150e3c101610150e3a110005183c0f1c0f080e974f0e000d050000",
                            "previousTrack": "2600500000011f950f39103a0f39103a0f3b0f3b0e3b0e170c3a11150c220a1a08141115101610150c1d0b3a0f170a410818113a0c3b121410391015113a081c103810170f1510390c00051e0001224d0c000d05000000000000"
                        }
                    }
                },
                {
                    "name": "Blu-Ray",
                    "type": "tv",
                    "host": "a7:df:24:e0:1b:36",
                    "disableLogs": true,
                    "persistState": false,
                    "data": {
                        "off": "26008400491427141413271412152714141413141314281313152614271413142813141414131314271526142700019a4e1427141314271413142714141414131314271413142813271413142714151313151215261427142700019a4e14281412152614151327141314141314142713141427142714131427141413141414132714271427000d050000",
                        "on": "26008400491427141413271412152714141413141314281313152614271413142813141414131314271526142700019a4e1427141314271413142714141414131314271413142813271413142714151313151215261427142700019a4e14281412152614151327141314141314142713141427142714131427141413141414132714271427000d050000",
                        "volume": {
                            "up": "260070004914131427141414131427141314131427141414131413141400035d4f14131427141314141427141314131427141314141413141300035e4e14141427141314131427141314141427141314131415131300035e4e141314271413141414271413141314271413141414131413000d05000000000000",
                            "down": "26008c004914271427141414131427141314141328131414131413141400034a4e14271427141414131427141314131427141414131413141400034a4e14271427141414141327141314131427141414131413141400034a4e14271427141314141427141314131428131314141413141300034b4e142714271413141413271414141314271413141314141413000d0500000000000000000000"
                        },
                        "remote": {
                            "select": "2600b00049142714131427142714271427141314131427141414271327141414271413141314151327142714270001734e142714131427142714271428131314141427141314271427141314271413141414131427142714270001734f132714131428132714271428131314141427141314271427141314271413141414131427142714270001734e14271413142714271427142714131414142714131427142714131427141414141313142714271427000d05000000000000",
                            "arrowUp": "2600b00049142714141314142714271427131513131427141314271427141413271414141314131427142714270001874e142714131414132714271427141414131427141413271427141314271414141314131427142813270001874e142813131414142714261427141414131427141314271427141413271414141314141327142714270001874e1427141314131427142714271414141314271413142714271a0e1327141414131413142714271427000d05000000000000",
                            "arrowDown": "2600b00049141314281314142714261527131414131427141314271427141314271414141314131427142714270001874e141314271414132714271427141314141427141314271427141314271413141414131427142714270001864e151314271413142714271427141314141327141414271427131414271414131314141427142713270001874f13131427141414271427132714141413142714131427142714131427141414131413142714271427000d05000000000000",
                            "arrowLeft": "2600b0004a142714271414142713271427141414131427141314271427141314271413141414131428132714270001724f142714271413142714281327141314131427141413271427141414271413141314141427142614270001734f132714271414142714271327141414131427141314271427141314271414141413131427142714270001734e14271427141314281327142714131414142714131427142714131427141314141413142714271428000d05000000000000",
                            "arrowRight": "2600b0004a141314131427142714271428131314141427141314271427141314271414131414131427142714270001864e141414131427142714281327141314131427141414271427141314271413141413141427142714270001864e141414131427142714271427141314131427141414261526141414271413141314141427142713270001874e14151313142714271427142714131413142714141327142714141427141314131414142614271427000d05000000000000",
                            "back": "2600840049142714271427141414271413142714131427141413271427141414271413141314141427142714270001724f142714271427141314271413142714141327141414271427141413271413141414141327142714270001734e14271427142714131427141314271415132714131427142714131427141314141413142714271427000d050000",
                            "exit": "2600b000491427141414131427141314271414131414271315132714271413142714131414131414271427142700019a4e1428131314131427141414261414141314271413142714271413142714141413141314271427142700019a4e1427141314141427141314271413141314271414142714271314142714131414131414271327142700019a4f14281313141314271413142714141314142714131428132714131427141413141413142714271427000d05000000000000",
                            "playPause": "260084004a1414132714141327142714141315131314281313142714271414132714151313141314271427142700019a4e1414142614141427142714141313141314281314142714261414142714131413141414271427132700019b4e14131427141314271427141314141413142714131427142714131427141414131413142714271427000d050000",
                            "info": "260070004a14131413142714141427141314131428131413141413141300035e4f14131413142715131426141414131427141314141413141300035e4e14141413142714131526141314141427141314131414131400035e4e141314141427141314271413141413271414141314131414000d05000000000000",
                            "rewind": "2600840049142714271427141414271413142714131427141413271427141414271413141314141427142714270001724f142714271427141314271413142714141327141414271427141413271413141414141327142714270001734e14271427142714131427141314271415132714131427142714131427141314141413142714271427000d050000",
                            "fastForward": "2600b0004a141413271427141314271413142714141427141314271427141314271413141413141427142714270001864e141314271427141314271414142714131427141314271427141314271413141414131427142714270001864e141414271427141314271413142714131427141414271327141414271413141413151327142614270001874e14131427142714141427131414271413142714131427142714131427141414131413142813271427000d05000000000000",
                            "nextTrack": "2600b0004a1414141314271427142714141313141414261414142813271413142714131413141414271427142700019a4e1413141414261427142714141413141314271413142714271414142714131413141413281327142700019a4f1413141314271427142714131414141314271414132714271413142813141413141314271427142700019a4e14141413142714271427141314131414142713141427142714131427141314141414132714271427000d05000000000000",
                            "previousTrack": "2600840049142714271413142714271413141413141427141314271427141314271413141414131427142714270001864e142813271414132714271414141413131427141314281327141414261513141314141327142714270001874e14271427141314281327141414131413142714141327142714141328141314131413142714271427000d050000"
                        }
                    }
                }
            ]
        }

It almost makes me wonder if Homekit, or more likely this Homebridge plugin, only allows a single accessory of type tv. If that is an issue with this plugin then I consider that a bug that the developer should fix. If it is a failing of Homekit then there’s nothing to be done about it.

from homebridge-broadlink-rm.

Faisalthe01 avatar Faisalthe01 commented on July 23, 2024

That’s what im trying to tell you mate. If you add a 2nd TV accessory then you have to add them like you add a new accessory. Follow the steps in my previous post.

from homebridge-broadlink-rm.

alexclst avatar alexclst commented on July 23, 2024

Ah, got it. Was confused since bridge was already there and wouldn’t allow manual addition again. Just removed and re-added it entirely still no second TV. Now I understand this. Thanks for all your help!

from homebridge-broadlink-rm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.