AlexanderBabel / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
46 stars 11 forks source link

Troubles adding a second TV #28

Closed asbesto01 closed 5 years ago

asbesto01 commented 5 years ago

Where is the mistake? with the following config.json, homebridge starts correctly but it show only one TV accessory (TV SALOTTO), and not the second one (TV CAMERA)!!

the strange thing is that if i click to add an accessory, the homekit app retrieves a pending TV and asks me for the pairing homekit code, which I don't have (please check pictures attached and code below) IMG_4552 IMG_4551

:

{ "bridge": { "name": "HomeBridge", "username": "AC:C9:8B:DA:84:A6", "port": 51826, "pin": "666-66-717" },

"description": "HomePi Homebridge.",

"accessories":[ { "accessory": "MiRobotVacuum", "name": "Aspirapolvere", "ip": "192.168.0.166", "token": "48754b467a76534471675575436d4558", "pause": false, "dock": true } ],

"platforms":[ { "platform":"BroadlinkRM", "name":"Broadlink RM", "hideScanFrequencyButton": true, "hideLearnButton": true, "hideWelcomeMessage": false, "accessories":[ {

"name":"TV Salotto", "type":"tv", "host": "192.168.0.159", "data": { "off": "2600500000012894150f15111435151014111411141114101435153515101435153515341535153515101411141114351411141114111410143515351435151015351435153515351400052300012a4814000d050000000000000000", "on": "2600500000012993141114101535151014101510151015101534153515101534153515341535153514101510151015351410151015101510153415351534151015351435153515351400052300012a4814000d050000000000000000", "remote": { "select": "260050000001289313131312133614121312131213131312133614361312143613371336143613371312131213371312131214121336131313361436131213371337133613121436130005280001284a13000d050000000000000000", "arrowUp": "26004800000127941411121313371311151112121411131213371238121313361337123812371436141112131312141113111411123812131337123713371238143514371311143614000d05", "arrowDown": "26004800000128941510121313371410141112131411131213361337121313371238123712381435153514111313131114111213143613111510133712381237143614361411143515000d05", "arrowLeft": "2600480000012992170f121315341510160f12131510151015341238141214351534123814361534163415351535131116101114141015111410151013121534163412381435163416000d05", "arrowRight": "2600480000012992170f121315341510160f1213150f161015341238141115351435123814351634161011381534161012121511131214101633161013121534153514361435163415000d05", "back": "260048000001279415101313133614111411121215101313133612381312133713361238123713371411121314111435151112371213141114361435143614111436160f1237143614000d05", "exit": "26004800000127941411121413361411141112121411131313361238121313371336123812371436143614361311143614361312133615111212141113371411121215361311143614000d05", "playPause": "2600500000012794160f1312133713111312131213121213133614361312133614361336143613361436133713111337131213121311131213121312133614111337133614361336140005240001274b13000d050000000000000000", "info": "2600480000012a91170f13121435150f161012131410161014351435151115341238143615341634153515351410153515101535151014351411151015351510153415111435151015000d05" }, "powerMode": { "show": "HEX..." }, "volume": { "up": "26004e00939116131213133614351313113812121312131212131237153515101435160f1510153416341337150f1634160f1510121213121312121312371411153513361436130006029394143613000d0500000000000000000000", "down": "26004e00939413121311133713371311133713121312131113121337133614111337131113121312133713361411133713111312131213361411131213361411133713371336140006019494133614000d0500000000000000000000" }, "inputs": [ { "name": "Acceso/a", "type": "hdmi", "data": "HEX..."}]}}, { "name":"TV Camera", "type":"tv", "host": "192.168.0.156", "data": { "off": "2600500000012894150f15111435151014111411141114101435153515101435153515341535153515101411141114351411141114111410143515351435151015351435153515351400052300012a4814000d050000000000000000", "on": "2600500000012993141114101535151014101510151015101534153515101534153515341535153514101510151015351410151015101510153415351534151015351435153515351400052300012a4814000d050000000000000000", "remote": { "select": "260050000001289313131312133614121312131213131312133614361312143613371336143613371312131213371312131214121336131313361436131213371337133613121436130005280001284a13000d050000000000000000", "arrowUp": "26004800000127941411121313371311151112121411131213371238121313361337123812371436141112131312141113111411123812131337123713371238143514371311143614000d05", "arrowDown": "26004800000128941510121313371410141112131411131213361337121313371238123712381435153514111313131114111213143613111510133712381237143614361411143515000d05", "arrowLeft": "2600480000012992170f121315341510160f12131510151015341238141214351534123814361534163415351535131116101114141015111410151013121534163412381435163416000d05", "arrowRight": "2600480000012992170f121315341510160f1213150f161015341238141115351435123814351634161011381534161012121511131214101633161013121534153514361435163415000d05", "back": "260048000001279415101313133614111411121215101313133612381312133713361238123713371411121314111435151112371213141114361435143614111436160f1237143614000d05", "exit": "26004800000127941411121413361411141112121411131313361238121313371336123812371436143614361311143614361312133615111212141113371411121215361311143614000d05", "playPause": "2600500000012794160f1312133713111312131213121213133614361312133614361336143613361436133713111337131213121311131213121312133614111337133614361336140005240001274b13000d050000000000000000", "info": "2600480000012a91170f13121435150f161012131410161014351435151115341238143615341634153515351410153515101535151014351411151015351510153415111435151015000d05" }, "powerMode": { "show": "HEX..." }, "volume": { "up": "26004e00939116131213133614351313113812121312131212131237153515101435160f1510153416341337150f1634160f1510121213121312121312371411153513361436130006029394143613000d0500000000000000000000", "down": "26004e00939413121311133713371311133713121312131113121337133614111337131113121312133713361411133713111312131213361411131213361411133713371336140006019494133614000d0500000000000000000000" }, "inputs": [ { "name": "Acceso/a", "type": "hdmi", "data": "HEX..."}]}}

]}

] }

mafyata commented 5 years ago

Try wih homebridge’s pin

asbesto01 commented 5 years ago

pure genius. worked like a charm!!! can be closed :)