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

Unable to See Remote option in Iphone homekit app #48

Closed perote2000 closed 4 years ago

perote2000 commented 4 years ago

Ive configured one of my TVs with the new homebridge-broadlink-rm-tv plugin tha supports TV device type... (see below config). I can see ON/OFF button and input change (Cable-bluray-Game-Etc) .. but Im not able to see remote option in order to press Select - Up - down, - etc... Also no option to volume Up and Down (Ive tried with phone vol + and vol - buttons while TV opened and no command sent to TV (broadlink with no activity)

Am I doing something wrong in config? How can Access to Remote and Volume option in App? I copied and edited sample config on (https://github.com/AlexanderBabel/homebridge-broadlink-rm/blob/master/config-sample.json)

This is how I see TV in homekitApp https://drive.google.com/file/d/15QmCqZEseXzeA4TGCweOlTFYeqWS8siA/view?usp=sharing

Running IOS 13.2.2

This is how I see TV Living Accesory on HomeKit UI Accesory tab

Television  
Active 1
Active Identifier 3
Configured Name TV Living
Sleep Discovery Mode 1
Remote Key  
Picture Mode 0
Power Mode Selection  
Manufacturer Broadlink
Model RM Mini or Pro
Name TV Living
Serial Number 7bbe1804-ca44-46b4-8a03-a9d4ac1394d5
Homebridge Instance IP 192.168.0.139
Homebridge Instance Port 37987
Homebridge Instance Username BA:6F:0C:F9:24:57
aid 1
iid 8

This is the applied config on this TV.

    {
                "name": "TV Living",
                "type": "tv",
                "host": "77:0f:78:5a:d9:d6",
                "pingIPAddress": "192.168.0.45",
                "pingIPAddressStateOnly": true,
                "pingFrequency": 3,
                "pingGrace": 24,
                "data": {
                    "on": "260058000001269114111312133613111312131113121312133613361312133613361336133614351411133613121336131213361311131213361312133613111436131113361436130005140001264814000c380001264913000d05",
                    "off": "260060000001269114111311143514111312131114111311143514361311143514361336133613361435141113361411131114361311131213111435141113361435141113361435140005140001264814000c380001264913000c380001274813000d050000000000000000",
                    "remote": {
                        "select": "260054000700021300012a94151114111437141114111510151114111437143615111436153614361536143615111411153614111411151114361511143615361411143714361536141114361500050b0001294b14000d0500000000",
                        "arrowUp": "2600500000012a94141114121337151014121411141114121337153614111437133714371436153615361411143714111411141213371510141213371511143615361535151113371500050b00012b4915000d050000000000000000",
                        "arrowDown": "2600480000012c931411151015361510151015111411151015361535151115351536153614361536151015361436151114111510153615101536151015101536153614361511143615000d05",
                        "arrowLeft": "2600500000012c92151115101536141115101511141115101536153515111436153615351536153614361536153515111411151015361510151015111411153515361536141115351500050900012e4815000d050000000000000000",
                        "arrowRight": "2600580000012c93151015101536151015111411151015101536153614111535153615361436153615101510151115351511141115361411153515361536141115351536151015361500050b00012b4915000c5200012c4815000d05",
                        "back": "2600580000012b93151015101536151015111411151015111436153615101535153615361436153615101536151015361411151015361510153614111536141115351536151015361500050a00012c4815000c5200012c4815000d05",
                        "exit": "2600500000012c92151114111536141115101510151114111536143615101536153614361536143615361510151114361510151114361511141114361536151015361535151114361500050b00012b4815000d050000000000000000",
                        "playPause": "2600600000012d92151015111535151114111510151114111535153615101536153515361536143615361535151114111535153615101511141115101536153515111510153614361500050b00012b4915000c5100012c4815000c5200012b4815000d050000000000000000",
                        "info": "2600580000012c92151015111536141114111510151114111535153615101536153515361536143615361535151114361536151015111411151015101536151015111436153615351500050b00012b4914000c5200012c4815000d05"
                    },
                    "powerMode": {
                        "show": "2600580000012c921510151115361411141115101511141115"
                    },
                    "volume": {
                        "up": "2600480000012a951213121313381213131213131213121313381238131312381437123815361338121312391213121313131213121313121338121313381238133812391238133812000d05",
                        "down": "2600500000012995131312131338121313121313121313121338123813131238143713371437123912381338121312131313121312131312131312131338123813381238143713371300050d0001294b12000d050000000000000000"
                    },
                    "inputs": [
                        {
                            "name": "Netflix",
                            "type": "hdmi",
                            "data": "2600cc004e15131413142715261526152714271413151314131413152714271413151300029b4e15131413152615261527142714271413151314131513142714271413151300029c4e14131513142714271427142714271513141314141413142714271513141300029c4e14131513142714271427152615261513141315131413152615261513151200029c4e15131413142715261526152714271413151314131513142714271413151300029b4e151314131526152714271427142714131513141315131427142714131513000d05000000000000000000000000"
                        },
                        {
                            "name": "TV",
                            "type": "hdmi",
                            "data": "2600ee004e1413152615131427141315261526151314131513141315261526151314130002b04e1413152813141327141315281328131513131414131513281328131513120002b04f1315132813141329121513281328131513141315131413281329121513140002ae501314132813151328131512291229131413151215131512291229131413150002ad501315122912151328131513281328131413151314131513281328131413150002ae4f1315132615141327141315281328131315131415131413271428131315130002af4e151314271413152615131427152615131413151314131427152615131413000d0500000000000000000000"
                        },
                        {
                            "name": "BluRay",
                            "type": "hdmi",
                            "data": "260034014e141315261527141314271513141314141413141315131427141315131413152615131427141315130001ea4e141414271427141315261513141315131413141414131427141414131413152714131427141414130001ea4e151314271427141315261513141315131413151314131526151314131513142714131526151314130001ea4f141314271427151314271413151314131414141314131526151314131513142714131527141314130001eb4e141314271526151314271413151314131513141314141427141314141413142714141427141315130001ea4e141315261526151314271414141314131513141315131427141315131413142715131427141315130001ea4e14131527142714131427151314131414141314131513142714131513141315261513142714131513000d0500000000"
                        },
                        {
                            "name": "Cable",
                            "type": "hdmi",
                            "data": "2600ee004f1427142714131513141315131413141414131413151314271427141414270002c34e1427142714131513141315131413151314131414141314271526151314270002c34e1427142714141413141315131413151314131513141314271526151314270002c34e1427142715131413141414131413151314131513141315261526151314270002c34e1427152615131413151314131414141314131513141315261527141314270002c34e1526152615131413151314141413141314131513141315261527141314270002c34e152615271413141315131413151314131513141315131427142714131526000d0500000000000000000000"
                        },
                        {
                            "name": "Chromecast",
                            "type": "hdmi",
                            "data": "2600aa00501215122913151215121513281315121512151315121512291229131512150002d7501315122912151215131512291215121513151215131413291229121512150002d8501215132813151215121513281315121512151315121513281328131512150002d8501315122912151215131512291215131512151215131512291229121513140002d950121512291215131512151328131512151215131512151229122912151315000d050000000000000000000000000000"
                        },
                        {
                            "name": "Play 4",
                            "type": "hdmi",
                            "data": "2600cc004e15131413142715261526152714271413151314131413152714271413151300029b4e15131413152615261527142714271413151314131513142714271413151300029c4e14131513142714271427142714271513141314141413142714271513141300029c4e14131513142714271427152615261513141315131413152615261513151200029c4e15131413142715261526152714271413151314131513142714271413151300029b4e151314131526152714271427142714131513141315131427142714131513000d05000000000000000000000000"
                        },
                        {
                            "name": "Apple TV",
                            "type": "hdmi",
                            "data": "2600ee00511215122912291229122912151216121512151315121512291229121612150002af511215122912291229122912161215121512161215121512291329121512150002b0501216122912291229122912151216121512151216121512291229121612150002b1501215122912291329122912151215121612151215121612291229121512150002b1511215122912291229122912161215121512161215121512291229121612150002b0511215122912291229122912161215121611161215121512291329121512150002b051121512291229122912291216121512151216121512151329122912151215000d0500000000000000000000"
                        }
                    ]
                }
            },
S474N commented 4 years ago

Remote is in Control Center (swipe down on clock and then click on remote). Volume Up/Down via buttons on side of your iDevice.

perote2000 commented 4 years ago

Everything was as you said.. my mistake.. did not know about remote... IT works perect... but now have to ask.. why is not channel +/- option?

kiwi-cam commented 4 years ago

I just did a quick check. Homebridge is built on HAP-NodeJS and we have all the remote buttons that they support (see ButtonType here). I assume Apple just haven't implemented channel +/- buttons.