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

Multiple TVs #4

Closed kiwi-cam closed 5 years ago

kiwi-cam commented 5 years ago

I'm having an issue with the inputs section of my config. The inputs do not show up in the Home app under the TV, instead they pop-up as new switches separate from the TV. Also my second "TV" won't show as an option in the remote.

a) do others have these working, and b) what am I doing wrong?

Here's my configuration:

{
                    "name": "TV",
                    "type": "tv",
                    "pingIPAddress": "Chromecast.fritz.box",
                    "pingFrequency": 5,
                    "pingIPAddressStateOnly": true,
                    "data": {
                        "on": "2600d200949312371237133712131212131212131213123712371337121312121213121312131212123812121312121312131212121312371312123812371237133712371337120006059393123812371238121212131213121213121238123712371312121312131212121312131237121312131212131212131213123712131237123812371237133712371300060494931336133713361312131213111411131213361337133613121312131113121312131213361312131114111312131213111337131114361336133713361337133613000d05000000000000",
                        "off": "2600d200949312371237133712131212131212131213123712371337121312121213121312131212123812121312121312131212121312371312123812371237133712371337120006059393123812371238121212131213121213121238123712371312121312131212121312131237121312131212131212131213123712131237123812371237133712371300060494931336133713361312131213111411131213361337133613121312131113121312131213361312131114111312131213111337131114361336133713361337133613000d05000000000000",
                            "remote": {
                                    "select": "26008c009592133614361336141113121312131114111336143613361411131213121311141113121311141114361311143613361411133614361336141114361311141113371300060694921436133614361312131114111312131213361336143613121311141113121312131114111312133614111336143613121336133614361312133614111312133613000d05000000000000000000000000",
                                "arrowUp": "26008c009294123812371238111411131213111411141138113812381114111312131114111411131213111411131213113911381114113812381138113911381114111411381200060593941337133614361311131213121312131113371336143613111411141113121311141113121312131114111336143613121336143613361336143613121311143613000d05000000000000000000000000",
                                    "arrowDown": "26008c009394123712381138111412131113121311141237133712371114121312121312111412371312111412131212123811381114121312371238123712371213111411381200060692951237123713371213121213121312121312371237143612131212131213121213133613121213131113121336143613121312133613361436133614111312133614000d05000000000000000000000000",
                                    "arrowLeft": "26008c009693133614361336141113121311141113121336143613361411131213111411131213361411133614111411133614361312131114361312133613361411141113361400060595921436133614361311141114111312131114361336143613111411141113121311143613121336131213111436133614111411133614111336143613121311143613000d05000000000000000000000000",
                                    "arrowRight": "26008c00949313361436133614111312131114111411133614361336141113121311170e141113121336131213121311143613361411133614111436133613361411141113361400060495911436133614361312131114111411131213361336143613121311141114111312131114361312131114111336143613121336141113361436133614111312133614000d05000000000000000000000000",
                                    "back": "26008c009592143613361436131114111411131213111436133614361312131114111312131114111411131213361336141114361311143613361436131213111436131213361300060495921436133613361411141113121311141114361336133713111411131213111411141113121311143613361411133614111436133614361311141114351411143613000d05000000000000000000000000",
                                    "exit": "26008c009394113812381138121311141113121311141138123811381213111411141113121311381213113911381114113812131114111312381114111312381114113811391100060792951138113812381114111312131114111411381139113811141113121311141114113811141138123811141138111411131213113911131213113913111238113811000d05000000000000000000000000",
                                    "info": "26008c009591143613361436131213111411131213121336133614361312131114111411131213361336143613361436131213111411131213121311141113121336143613361400060494931436133613361411141113121311141114361336143613111411131213121311143613361436133613361411141113121311141114111312131114361336143613000d05000000000000000000000000"
                                },
                                "volume": {
                                    "up": "26004e00929514111213143514361412123614111412121114121038143614111435141213121236143514361412133514131014121311121411141211371213143514361435140005ff9295143614000d0500000000000000000000",
                                    "down": "26004e00929514121211143614351413123614121211141113131236143613121336141212111411143613361412123614131112131114361412121114361412123614361336140005ff9295143515000d0500000000000000000000"
                        }
                    }
                },
                {
                    "name": "Home Theatre",
                    "type": "tv",
                    "pingIPAddress": "192.168.x.x",
                    "pingFrequency": 5,
                    "pingIPAddressStateOnly": true,
                    "data": {
                        "on": "26005600949313121312133613361411143613111411131213121336133614111337131114111312133614361336143613111411131213361411131213111411133614361336140005ff9393143613000c4f9493133614000d050000",
                        "off": "26005600949313121312133613361411143613111411131213121336133614111337131114111312133614361336143613111411131213361411131213111411133614361336140005ff9393143613000c4f9493133614000d050000",
                        "remote": {
                        "select": "26004e00929514111312133611391311143613121311141114111336143613121336131211141311143613121336131213361411133614361312133614111336131213371311140006009294143613000d0500000000000000000000",
                            "arrowUp": "26004e00929512131312133612381113123811141113141112131336143611141138121313121138133711381213111413361114113813121312111314361138121313371113120006029294143613000d0500000000000000000000",
                            "arrowDown": "26004e00929511141113123813361213113911131213111411141138113812131238131112131213113814361114111312381114113812381113121311381238111411381213110006029295113812000d0500000000000000000000",
                            "arrowLeft": "260052009294121312131138123811151038121311151013121312371238111510381213111411141115101311381213123811151038113812381138121311391113123811151000060292951138110008b00c000d05000000000000",
                            "arrowRight": "26004e00929511141114113811381213123811131213121311141138123811131238111411131238111411131238111411381114113812131138123811141138121311381312120006019295123811000d0500000000000000000000",
                            "back": "26004e00939412150f14133612381114113811141114111312131138123811141138121311141113133711141113121511371113123811381213123811381238111312381114110006029294123811000d0500000000000000000000",
                            "playPause": "26004e00929412131215113711381114113812131114111312131238113812131138121312150f38123811381238111512121138131211131213121311141138113911150f39110006029295113812000d0500000000000000000000",
                            "exit": "26004e009295111510150f3911381312123713140f15101510151038123713140f39121410150f38131212381213111312381214103813131038121311381337121311381312110006029295133612000d0500000000000000000000",
                            "info": "26004e00929412131213113911381114113812131312111411131238113812131138121312131114113812131138121312131114113812381113123811141138133711381114110006029295113812000d0500000000000000000000"
                        },
                        "volume": {
                            "up": "26004e00929514111213143514361412123614111412121114121038143614111435141213121236143514361412133514131014121311121411141211371213143514361435140005ff9295143614000d0500000000000000000000",
                            "down": "26004e00929514121211143614351413123614121211141113131236143613121336141212111411143613361412123614131112131114361412121114361412123614361336140005ff9295143515000d0500000000000000000000"
                        },
                        "inputs": [{
                            "name": "Home",
                            "type": "other",
                            "data": "26004e009295111510150f3911381312123713140f15101510151038123713140f39121410150f38131212381213111312381214103813131038121311381337121311381312110006029295133612000d0500000000000000000000"
                        },
                        {
                            "name": "Function",
                            "type": "hdmi",
                            "data": "26004e00929412131213113911381114113812131312111411131238113812131138121312131114113812131138121312131114113812381113123811141138133711381114110006029295113812000d0500000000000000000000"
                        }]                      
                    }
S474N commented 5 years ago

Same problem.

kiwi-cam: do you have ping working? I have it in main section of Broadlink.

kiwi-cam commented 5 years ago

Pings work fine. The device status changes correctly when the devices turn on or off.

Note, I'm actually pinging the Chromecast powered by the TVs USB port in order to get the TVs status since it's not network joined.

S474N commented 5 years ago

Have problem with TV, because in stand-by still sending reply to ping :(

My TV has more state :) 30 minutes after stand-by turn off the lan :)

sushenmathur commented 5 years ago

Can you see both remotes in the control center ??

kiwi-cam commented 5 years ago

Actually, the home theatre one doesn't show up. How did you know? I assumed it was the well documented "restart the phone a few times" issue, but that hasn't worked after a few days.

sushenmathur commented 5 years ago

@kiwi-cam I am having the same issue I've added 2 TV's to the config both show in homekit devices but only one showing in control center remotes. See #6

kiwi-cam commented 5 years ago

Yesterday I cleaned up the formatting of my config.json. Everything works now. Must’ve had some mismatched parentheses.

djrams10 commented 5 years ago

Yesterday I cleaned up the formatting of my config.json. Everything works now. Must’ve had some mismatched parentheses.

Hi, can you help me with my config.json? I have two TVs and I see one in the control center. And I do not have the inputs that appear. Thank you so much.

       "platform": "BroadlinkRM",

"name": "Broadlink RM", "accessories": [ { "accessory": "Broadlink RM Learner", "type": "learn-code", "name": "Learn IR", "host": "192.168.86.141" }, { "name": "LG", "type": "tv", "host": "192.168.86.141", "pingIPAddress": "192.168.86.26", "pingFrequency": 2, "pingIPAddressStateOnly": true, "data": { "on": "260050000001289214111411143514111312131114111312133614351411143514361336143613361312131114111336141113121311141114351436133614111336143613361336140005220001284814000d050000000000000000", "off": "260050000001289214111411143514111312131114111312133614351411143514361336143613361312131114111336141113121311141114351436133614111336143613361336140005220001284814000d050000000000000000", "remote": { "select": "260058000001279313121311143613121311131213121311143613361312133613361436133613371311141113361411131213111436131213361336131213361436133613121336130005220001284913000c4c0001284913000d05", "arrowUp": "260058000001289214111312133613121312131114111312133613361411133614361336133713361312131114111312131114111336141113371336133614361336133614111336140005220001284913000c4c0001274a13000d05", "arrowDown": "260058000001269411131213113812131114111411131114113812381113123811381138123811381238111312131114111312131138121311141138113911381138123811131238110005240001274a11000c4f0001264a12000d05", "arrowLeft": "260058000001269511131114113812131114111312131114113811391113123811381138123811381138123811381213111411131213111411131213111411381138123811381238110005240001264b11000c4e0001274a13000d05", "arrowRight": "260050000001289212131114113811141114111312131114113811381213113911381138123811381114113811381213121311141113121311381213111411381139113811381238110005240001274a11000d050000000000000000", "back": "260050000001269411141114113813121113131213121311123813361312133613371336133713361114131113121336141113371212131213361436113812131336131213361337130005230001264a14000d050000000000000000", "exit": "260058000001269413121311133711131213131213121311123813361312113813361238133612381138113812131139113813121336131211131213113911131114113812131138120005240001264b11000c4f0001264b11000d05", "info": "260050000001269411141114113811141113121311141113123811381114113812381138113812381138113911131213111411131238111411131114113812381138113812131139110005240001274a11000d050000000000000000" }, "volume": { "up": "260050000001299114111312133613121312131114111312133613361411143514361336143613361312133613121312131114111312131114361311143613361436133613361436130005220001294814000d050000000000000000", "down": "260050000001299114111411133614111312131114111411133614361311143613361435143613361436133614111312131114111312131114111312133614361336133614361336140005220001284913000d050000000000000000" }, "inputs": [ { "name": "AppleTv", "type": "hdmi", "data": "260050000001299114111312133614111312131114111312133613361411133614361336143613361336143613121336131213111411131213111411133614111435143613361436130005220001284913000d050000000000000000" }, { "name": "TV", "type": "hdmi", "data": "260050000001299114111312133614111312131114111312133613361411133614361336143613361336143613121336131213111411131213111411133614111435143613361436130005220001284913000d050000000000000000" } ] } }, { "name": "Télé", "type": "tv", "host": "192.168.86.36", "pingIPAddress": "192.168.86.123", "pingFrequency": 2, "pingIPAddressStateOnly": true, "data": { "on": "260068001b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000b971b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000d05", "off": "260068001b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000b971b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000d05", "remote": { "select": "26001800383b391f1b1f1b1f1b1e1c1e1c3b383b1c1e1b1f1b000d05", "arrowUp": "26003000383c381f1b1f1b1f1b1f1b1f1b3b3a1d1b1f1b1f1d000b94393b381f1c1e1c1e1b1f1b1f1b3b38201b1e1c1e1c000d050000000000000000", "arrowDown": "26003400381f1c1e1b1f1b1f1b1f1b1f1b1f1b3b381f1b1f1b3b1c000b79391f1b1f1b1f1b1e1c1e1c1e1c1e1b3b391f1b1f1b3b1b000d0500000000", "arrowLeft": "2600180038201b1e1c1e1c1e1b1f1c1e1b1f1b3b383c383c1b000d05", "arrowRight": "26001600383c381f1b1f1c1e1b1f1b1f1c3a383b1c1e39000d050000", "back": "26003400381f1c1e1b1f1b1f1b1f1b1f1b1f1b3b381f1b3b1d1d1c000b79391f1b1f1b1f1b1e1c1e1c1e1b1f1b3b391f1b3b1b1f1b000d0500000000", "exit": "26003400381f1c1e1b1f1b1f1b1f1b1f1b1f1b3b381f1b3b1d1d1c000b79391f1b1f1b1f1b1e1c1e1c1e1b1f1b3b391f1b3b1b1f1b000d0500000000", "info": "26001800381f1b1f1b1f1b1f1b1f1b1f1b1f1b3b381f1b3b39000d05" }, "volume": { "up": "26009000000124951014113910151039103a1039121310381214101510151014111410391312103a1039103a1014111410151015121211141015101411391039133710391139103911000541000124951014113910151039103a1237101510391114101510151014111410391114103a1039103a1014111410151015101411141015101411391039113811391139103911000d050000000000000000", "down": "26009000000126941114103a1014103a10391139101411391015101411141015101411391015103910151039111410151015101411141015103911141039113910391139103911391000054100012594111410391114103a1039103a1014113910151014111410151014113910151039101510391114101510151014111410151039101510391139103812381139113910000d050000000000000000" } } }, { "name": "Barre de Son", "type": "switch", "host": "192.168.86.36", "enableAutoOff": true, "onDuration": 20, "data": { "on": "2600d800000124951015103911141039113910391114103a10141114101510141114103a10141139101510141139103911141015103911141039113811151014113910391114103a10000541000124951015103911141039113911381114103a1014111411141014111411391014113910151014113910391114101510391114103a103910151014113910391114103a10000541000124951015103911141039113910391114103a10141114101510141114113910141139101510141139103911141015103911141039113910151014113910391114103a10000d05 " } } ] }, {

IMG_1684 2

kiwi-cam commented 5 years ago

I've now cleaned up my config, and added back in all the items I removed in troubleshooting. This issue remains, but only when I add inputs to the first TV in my config. I can have inputs configured on the second TV only and they work perfectly.

Note that I'm also seeing issue #6

kiwi-cam commented 5 years ago

Here is my full config.json. The Inputs under TV ("TV" and "Change") show up as separate switches.

{
    "bridge": {
        "name": "Living Room HUB",
        "username": "xx:xx:xx:xx:xx:xx",
        "port": 51826,
        "pin": "999-99-999"
    },
    "hosts": [{
        "address": "192.168.x.x",
        "mac": "xx:xx:xx:xx:xx:xx",
        "isRFSupported": true
    }],
    "accessories": [{
        "accessory": "Script2",
        "name": "Indoor Camera",
        "on": "exec /var/homebridge/enablecamera.sh",
        "off": "exec /var/homebridge/disablecamera.sh",
        "fileState": "/var/tmp/indoorcamera.state"
    }, 
    {
        "accessory": "TemperatureFile",
        "name": "Outside Temperature",
        "file_path": "/var/tmp/outside.txt"
    }],
    "platforms": [{
        "platform": "BroadlinkRM",
        "name": "Broadlink RM",
        "hideWelcomeMessage": true,
        "hideScanFrequencyButton": true,
        "hideLearnButton": false,
        "accessories": [{
            "name": "Heat Pump",
            "type": "air-conditioner",
            "ignoreTemperatureWhenOff": true,
            "temperatureUpdateFrequency": 10,
            "temperatureFilePath": "/var/tmp/inside.txt",
            "turnOnWhenOff": false,
            "allowResend": true,
            "preventResendHex": true,
            "defaultCoolTemperature": 20,
            "defaultHeatTemperature": 23,
            "data": {
                "off": [{
                    "data": "260076006d340f0b100b10270e0c0f270f0b100b100b10260f270f0b100b100b10260f270f0b100b100b100b0f0c0f0c0f0c0f0b100b100b100b0f0c0f0c0f270f0b100b100b0f0c0f0c0f0c0f0b10270f0b100b0f0c0f0c0f270f0b100b100b0f0c0f0c0f0c0f270f0b10260f270f270f270e270f270f000d050000",
                    "sendCount": 2,
                    "interval": 0.3
                }],
                "on": "260006016d340f0c0f0c0f260f0c0f270f0c0f0c0f0c0e270f270f0c0f0c0f0c0f260f270f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f270f0c0f0c0f0c0e0c0f0c0f0c0e0d0f270f0c0e0d0e0c0e0d0e280f270f260f270e280f270e270e280e0d0e0d0e280d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e280e280e0d0e0d0e280e0d0d0d0e0d0e0d0e280e270e0d0e0d0e0d0e280e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e280d0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e280e280d0d0e280e280e280d0d0e0d0e000d050000",
                "heat": [{
                    "data": "260006016d340f0c0e0d0e280e0d0e270f0c0e0d0e0d0e280e270f0c0e0d0e0d0e280e270f0c0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e0d0e0d0e0d0e0c0e0d0e280f0c0f0c0e0d0e0d0d280f270f270e270f270f270f270e270f0c0e0d0e280f0c0f0b0f0c0f0c0f0c0f0c0e0d0e0d0e270f270f0c0f0c0f270e0c0f0c0f0c0e280f260f270f0c0f0c0f0c0f270e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0d0e0c0f270f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0e0d0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f0c0e0d0f0c0e0d0f260f0c0f0c0f270f270e0c0f270f0c0f270f0c0e0c0e000d050000",
                    "sendCount": 2,
                    "interval": 0.3
                }],
                "auto": "260006016d340d0e0d0e0d290d0e0d280d0e0d0e0f0c0d290d280d0e0d0e0d0e0d290d280d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d280d0e0d0e0d0e0d0e0d0e0d0e0d0d0d290d0e0d0e0d0e0d0e0d280d290d290d290c290f270d290d280d0e0d0e0d290d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d290c290d0e0d0e0d290d0e0d0d0d0e0d0e0d290d290d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d290d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0e0d0c0e0d0e0d290d0e0d0e0d280d290f270d290e270f270f0c0d0e0d000d050000",
                "cool": "260006016d340f0d0e0d0e270f0c0e270f0d0e0d0e0d0e260f270f0d0e0d0e0d0e270e270f0d0e0d0e0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e270f0d0e0d0e0d0e0d0e0c0e0d0e0d0e270f0d0e0d0e0c0f0c0e270f270f270f260f270f270f260f270f0d0e0d0e270f0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e260f270f0d0e0d0e260f0d0e0d0e0d0e0d0e0d0e270e0d0e270f0c0f0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e260f0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e270f0c0f0c0e0d0e270f270f270e270f0d0e270f0d0e000d050000",
                "temperature30": {
                    "pseudo-mode": "heat",
                    "data": "260006016e340f0c0f0b0f270f0c0f270f0c0f0c0e0c0f270f270f0c0f0c0e0c0f270f270f0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0c0f0d0e0c0f0d0e270f0c0e0c0f0d0e0d0e0d0e0d0e0d0e260f0c0f0c0f0c0f0c0f270f260f270f270f260f270f270f270f0c0e0c0f270f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f270f260f0c0e0d0e280e0d0e0d0e0d0d0d0e280e280e280d0d0e0d0e280e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0f0c0e0d0f0c0f0c0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0c0e0d0f0c0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e280e0d0e0c0e280e280e0d0e270e280e280e0d0e270e000d050000"
                },
                "temperature29": {
                    "pseudo-mode": "heat",
                    "data": "260006016d340f0d0e0d0e270f0c0f260f0d0e0d0e0d0e270f260f0d0e0c0f0d0e270f260f0c0f0d0e0c0f0c0f0c0f0c0e0d0e0d0e0c0f0d0e0d0e0d0e0c0e270f0d0e0d0e0c0f0c0f0c0f0c0f0d0e270e0d0e0c0f0d0d0c102610260f270f260f270f270f260f270f0d0e0d0e270f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e270f270f0d0e0d0e260f0d0e0d0e0d0e270f0c0e270f270f0c0f0c0f260f0c0f0d0e0c0f0c0f0c0f0c0f0c0f0c0f0d0e270f0d0d0c0f0c0f0b0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f270f0c0f0c0f270f260f0c0f270f0c0f0c0f260f270f000d050000"
                },
                "temperature28": {
                    "pseudo-mode": "heat",
                    "data": "260006016d340e0e0d0e0d280e0e0d280d0e0d0e0d0e0d280e280d0e0d0e0d0e0d280e280d0e0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d280d0e0d0e0d0e0d0e0d0e0d0e0d0d0d280e0e0d0e0d0e0d0e0d270e280e280e280d290d280e280e270e0e0d0e0d280e0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d270e280e0e0d0e0d280e0d0d0e0d0e0d0e0d0e0d280e270e0e0d0e0d280e0e0d0d0d0e0d0e0e0d0e0d0e0d0d0e0d0d0e270f0d0e0d0e0d0e0d0d0e0d0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e270f270f0c0e270f270f0d0e270e270f000d050000"
                },
                "temperature27": {
                    "pseudo-mode": "heat",
                    "data": "260006016d340f0d0e0c0e270f0d0e270f0d0e0c0e0d0e270f270f0d0e0c0e0d0e270f270f0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0c0f0c0e0d0e0d0e0d0e270f0d0e0c0e0d0e0d0e0d0e0d0e0d0e260f0d0e0d0e0d0e0d0e270f260f270f270f270f260f270f270f0d0e0c0e270f0d0e0c0f0c0f0d0e0c0e0c0f0c0f0d0e270f270e0d0e0c0f270f0d0e0d0e0c0f260f270f0c0f270f0c0e0d0e270f0d0e0d0e0c0f0c0e0d0e0c0f0d0e0d0e0d0e260f0d0e0d0e0c0f0c0f0d0e0c0f0c0e0d0e0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f270f0c0f0c0e270f270f0c0f270f0b0f270f270f270f000d050000"
                },
                "temperature26": {
                    "pseudo-mode": "heat",
                    "data": "260006016b360d0e0d0f0b290d0e0d290d0e0d0f0c0e0c290e280d0e0e0e0d0d0d280e280e0d0e0e0d0d0d0e0d0e0d0e0d0d0e0e0d0e0d0e0c0e0d0e0d0e0d280e0d0e0d0d0e0d0e0d0d0e0e0d0e0d280e0d0d0e0d0e0d0e0d280e280d280e280e280e270e280e280e0e0d0e0c280e0d0e0e0d0e0d0e0d0e0d0d0d0d0e0d0e280e280e0d0d0e0d280e0d0e0e0d0d0e0d0d280e0e0d280e0e0d0d0d280e0e0d0e0d0e0d0d0e0e0d0d0d0e0d0e0d0d0e280e0e0d0d0d0e0e0d0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0d0e0e0d0e0d0d0d0e0d0e0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e270f0d0e0d0e260f270f0d0e270f260f270f270f270f000d050000"
                },
                "temperature25": {
                    "pseudo-mode": "heat",
                    "data": "260006016e340f0c0e0c0f270f0c0f270f0c0e0d0e0d0e270f270f0c0e0d0e0d0e270f270f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e270f0c0e0c0f0d0e0c0f0c0f0c0f0c0f260f0c0f0c0f0c0f0c0f2610260f270f270f260f280e270f270f0b0f0c0f270f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f270f260f0c0f0c0f270f0c0f0c0f0b0f270f0c0f0c0f270f0b0f0c0f270f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f0c0f270f0b0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f0c0f0c0f0c0f0b0f0c0f0c0f0c0f270f0c0f0c0e270f270f0c0f270f0b0f0c0f0c0f0c0f000d050000"
                },
                "temperature24": {
                    "pseudo-mode": "heat",
                    "data": "260006016e330f0c0f0c0f270f0c0f260f0c0f0c0e0d0e280e270f0c0f0c0f0c0f270f260f0c0f0c0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e0d0e0d0e0d0f0c0e0c0e280f0c0e0d0e0d0e0d0e270e280e280e270f270e280e280e270f0c0e0d0e280f0c0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e270e280e0d0e0d0e280e0c0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e280e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e280f0c0e0c0e280e280e0d0e270e280f0c0e0d0e0d0e000d050000"
                },
                "temperature23": {
                    "pseudo-mode": "heat",
                    "data": "260006016d340f0c0e0d0e280e0d0e270f0c0e0d0e0d0e280e270f0c0e0d0e0d0e280e270f0c0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e0d0e0d0e0d0e0c0e0d0e280f0c0f0c0e0d0e0d0d280f270f270e270f270f270f270e270f0c0e0d0e280f0c0f0b0f0c0f0c0f0c0f0c0e0d0e0d0e270f270f0c0f0c0f270e0c0f0c0f0c0e280f260f270f0c0f0c0f0c0f270e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0d0e0c0f270f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0e0d0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f0c0e0d0f0c0e0d0f260f0c0f0c0f270f270e0c0f270f0c0f270f0c0e0c0e000d050000"
                },
                "temperature22": {
                    "pseudo-mode": "heat",
                    "data": "260006016d340f0c0f0c0f260f0c0f270f0c0f0c0f0c0e270f270f0c0f0c0f0c0f260f270f0c0f0c0f0c0f0c0e0c0f0c0f0c0f0c0f0c0f0c0f0c0e0c0f0c0f270f0c0f0c0f0c0e0c0f0c0f0c0e0d0f270f0c0e0d0e0c0e0d0e280f270f260f270e280f270e270e280e0d0e0d0e280d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e280e280e0d0e0d0e280e0d0d0d0e0d0e0d0e280e270e0d0e0d0e0d0e280e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e280d0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e270e0d0e0d0e280e280d0d0e280e280e280d0d0e0d0e000d050000"
                },
                "temperature21": {
                    "pseudo-mode": "cool",
                    "data": "260006016d340f0d0e0d0e260f0d0e270f0d0e0d0e0d0e260f270f0d0e0d0e0c0f260f270f0d0e0c0f0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e270f0d0e0d0e0c0f0c0e0d0e0d0e0d0e270f0d0e0c0e0d0e0d0e270f270f260f270f270f270f260f270f0c0f0d0e260f0d0e0d0e0d0e0d0e0c0f0d0e0c0e0d0e270f270f0d0e0c0f260f0c0f0d0e0c0f270f0c0e270f0d0e270f0c0f0c0e0d0e0c0f0d0e0d0e0d0e0d0e0c0e0d0e0d0e270f0d0e0d0e0c0f0c0e0d0e0d0e0c0f0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0c0f0c0f0c0f260f0c0f0d0e0d0e270f260f270f0d0e0d0e260f0d0e000d050000"
                },
                "temperature20": {
                    "pseudo-mode": "cool",
                    "data": "260006016d340f0d0e0d0e270f0c0e270f0d0e0d0e0d0e260f270f0d0e0d0e0d0e270e270f0d0e0d0e0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e270f0d0e0d0e0d0e0d0e0c0e0d0e0d0e270f0d0e0d0e0c0f0c0e270f270f270f260f270f270f260f270f0d0e0d0e270f0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e260f270f0d0e0d0e260f0d0e0d0e0d0e0d0e0d0e270e0d0e270f0c0f0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e260f0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e270f0c0f0c0e0d0e270f270f270e270f0d0e270f0d0e000d050000"
                },
                "temperature19": {
                    "pseudo-mode": "cool",
                    "data": "260006016d340f0d0e0d0e270e0c0f270f0d0e0c0e0d0e270f270f0d0e0b0f0d0e270f270f0d0d0d0e0d0e0d0e0d0e0d0e0c0f0c0e0e0d0d0e0d0e0d0e0d0e270f0d0d0d0e0c0f0d0e0d0e0d0e0c0e270f0c0f0c0e0c0f0c0f2511270e270f270f270f260f270f260f0c0f0d0e270f0d0e0c0f0c0e0d0e0d0e0d0e0d0e0d0e280e280e0d0e0d0e270f0d0e0c0e0e0d270f270f0d0e0d0e270f0d0d0d0e0d0e0d0e0c0f0d0e0c0f0c0e0d0e0d0e0d0e260f0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0d0e0d0d0d0e0d0e0d0e0c0f0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0c0e270f0c0f0c0f0c0f270f260f270f0c0f270f270e0d0f000d050000"
                },
                "temperature18": {
                    "pseudo-mode": "cool",
                    "data": "260006016d340e0d0e0d0e280e0d0e270e0d0e0d0e0d0e280e270e0d0e0d0e0d0e280e270e0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0e0d0d0e0d0e0d0e0d0e270e0d0e0d0e0d0e0d0e0d0e0d0e0d0d280e0d0e0d0e0d0e0d0e270f270f270e280e270e280e280e270e0d0e0d0e280e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e280e270f0c0e0d0e280f0c0e0d0e0c0e0d0e280f0c0e0d0e270e0d0f0c0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e280e0d0d0d0e0d0e0d0e0d0e0d0e0d0e0d0e0c0e0d0e0d0e0d0e0d0f0c0e0d0e0d0e0c0e0d0e0d0e0d0e0d0e0d0e0d0e0c0f0c0e0d0f0c0e0d0e0d0e0d0e0c0e0d0f270f0c0e0d0e0d0e270f270f270f270e270f270f0c0e000d050000"
                }
            }
        },
        {
            "name": "Photo Frame",
            "type": "switch",
            "data": {
                "on": [{
                    "data": "2600580000012996121411151213121312381213111312131239113912381238121312381239113812381238123812391238121312131213121312131214121311141238123812381200052200012b4b12000c560001294c12000d05",
                    "sendCount": 2,
                    "interval": 0.5
                }],
                "off": [{
                    "data": "2600580000012996121411151213121312381213111312131239113912381238121312381239113812381238123812391238121312131213121312131214121311141238123812381200052200012b4b12000c560001294c12000d05",
                    "sendCount": 2,
                    "interval": 0.5
                }]
            }
        },
        {
            "name": "TV",
            "type": "tv",
            "pingIPAddress": "Chromecast.fritz.box",
            "pingFrequency": 5,
            "pingIPAddressStateOnly": true,
            "data": {
                "on": "2600d200949312371237133712131212131212131213123712371337121312121213121312131212123812121312121312131212121312371312123812371237133712371337120006059393123812371238121212131213121213121238123712371312121312131212121312131237121312131212131212131213123712131237123812371237133712371300060494931336133713361312131213111411131213361337133613121312131113121312131213361312131114111312131213111337131114361336133713361337133613000d05000000000000",
                "off": "2600d200949312371237133712131212131212131213123712371337121312121213121312131212123812121312121312131212121312371312123812371237133712371337120006059393123812371238121212131213121213121238123712371312121312131212121312131237121312131212131212131213123712131237123812371237133712371300060494931336133713361312131213111411131213361337133613121312131113121312131213361312131114111312131213111337131114361336133713361337133613000d05000000000000",
                "remote": {
                    "select": "26008c009592133614361336141113121312131114111336143613361411131213121311141113121311141114361311143613361411133614361336141114361311141113371300060694921436133614361312131114111312131213361336143613121311141113121312131114111312133614111336143613121336133614361312133614111312133613000d05000000000000000000000000",
                    "arrowUp": "26008c009294123812371238111411131213111411141138113812381114111312131114111411131213111411131213113911381114113812381138113911381114111411381200060593941337133614361311131213121312131113371336143613111411141113121311141113121312131114111336143613121336143613361336143613121311143613000d05000000000000000000000000",
                    "arrowDown": "26008c009394123712381138111412131113121311141237133712371114121312121312111412371312111412131212123811381114121312371238123712371213111411381200060692951237123713371213121213121312121312371237143612131212131213121213133613121213131113121336143613121312133613361436133614111312133614000d05000000000000000000000000",
                    "arrowLeft": "26008c009693133614361336141113121311141113121336143613361411131213111411131213361411133614111411133614361312131114361312133613361411141113361400060595921436133614361311141114111312131114361336143613111411141113121311143613121336131213111436133614111411133614111336143613121311143613000d05000000000000000000000000",
                    "arrowRight": "26008c00949313361436133614111312131114111411133614361336141113121311170e141113121336131213121311143613361411133614111436133613361411141113361400060495911436133614361312131114111411131213361336143613121311141114111312131114361312131114111336143613121336141113361436133614111312133614000d05000000000000000000000000",
                    "back": "26008c009592143613361436131114111411131213111436133614361312131114111312131114111411131213361336141114361311143613361436131213111436131213361300060495921436133613361411141113121311141114361336133713111411131213111411141113121311143613361411133614111436133614361311141114351411143613000d05000000000000000000000000",
                    "exit": "26008c009394113812381138121311141113121311141138123811381213111411141113121311381213113911381114113812131114111312381114111312381114113811391100060792951138113812381114111312131114111411381139113811141113121311141114113811141138123811141138111411131213113911131213113913111238113811000d05000000000000000000000000",
                    "info": "26008c009591143613361436131213111411131213121336133614361312131114111411131213361336143613361436131213111411131213121311141113121336143613361400060494931436133613361411141113121311141114361336143613111411131213121311143613361436133613361411141113121311141114111312131114361336143613000d05000000000000000000000000"
                },
                "volume": {
                    "up": "26004e00929514111213143514361412123614111412121114121038143614111435141213121236143514361412133514131014121311121411141211371213143514361435140005ff9295143614000d0500000000000000000000",
                    "down": "26004e00929514121211143614351413123614121211141113131236143613121336141212111411143613361412123614131112131114361412121114361412123614361336140005ff9295143515000d0500000000000000000000"
                },
                "inputs": [{
                    "name": "Change",
                    "type": "other",
                    "data": "26008c009492123811381139111312131114111312131139113811381213111411141113121311381213111411141113121311141113121311391138113812381138113911381100060791951137133811381213111411141113121311381234153811141114111312131114113811141114111312131114111411131114113812381138113911381138123811000d05000000000000000000000000"
                },{
                    "name": "TV",
                    "type": "hdmi",
                    "data": "26008c009294133711381139111312131114111411131139113811381213111411141113131211381337131213361336141113121312131113121336141113121336133713361300060492941337133613371311131213121311141113371336133613121312131213111312133612381114123711381213111411141113111411381213111411381139113811000d05000000000000000000000000"
                }]
            }
        },
        {
            "name": "Home Theatre",
            "type": "tv",
            "pingIPAddress": "192.168.x.x",
            "pingFrequency": 5,
            "pingIPAddressStateOnly": true,
            "data": {
                "on": "26005600949313121312133613361411143613111411131213121336133614111337131114111312133614361336143613111411131213361411131213111411133614361336140005ff9393143613000c4f9493133614000d050000",
                "off": "26005600949313121312133613361411143613111411131213121336133614111337131114111312133614361336143613111411131213361411131213111411133614361336140005ff9393143613000c4f9493133614000d050000",
                "remote": {
                    "select": "26004e00929514111312133611391311143613121311141114111336143613121336131211141311143613121336131213361411133614361312133614111336131213371311140006009294143613000d0500000000000000000000",
                    "arrowUp": "26004e00929512131312133612381113123811141113141112131336143611141138121313121138133711381213111413361114113813121312111314361138121313371113120006029294143613000d0500000000000000000000",
                    "arrowDown": "26004e00929511141113123813361213113911131213111411141138113812131238131112131213113814361114111312381114113812381113121311381238111411381213110006029295113812000d0500000000000000000000",
                    "arrowLeft": "260052009294121312131138123811151038121311151013121312371238111510381213111411141115101311381213123811151038113812381138121311391113123811151000060292951138110008b00c000d05000000000000",
                    "arrowRight": "26004e00929511141114113811381213123811131213121311141138123811131238111411131238111411131238111411381114113812131138123811141138121311381312120006019295123811000d0500000000000000000000",
                    "back": "26004e00939412150f14133612381114113811141114111312131138123811141138121311141113133711141113121511371113123811381213123811381238111312381114110006029294123811000d0500000000000000000000",
                    "playPause": "26004e00929412131215113711381114113812131114111312131238113812131138121312150f38123811381238111512121138131211131213121311141138113911150f39110006029295113812000d0500000000000000000000",
                    "exit": "26004e009295111510150f3911381312123713140f15101510151038123713140f39121410150f38131212381213111312381214103813131038121311381337121311381312110006029295133612000d0500000000000000000000",
                    "info": "26004e00929412131213113911381114113812131312111411131238113812131138121312131114113812131138121312131114113812381113123811141138133711381114110006029295113812000d0500000000000000000000"
                },
                "volume": {
                    "up": "26004e00929514111213143514361412123614111412121114121038143614111435141213121236143514361412133514131014121311121411141211371213143514361435140005ff9295143614000d0500000000000000000000",
                    "down": "26004e00929514121211143614351413123614121211141113131236143613121336141212111411143613361412123614131112131114361412121114361412123614361336140005ff9295143515000d0500000000000000000000"
                },
                "inputs": [{
                    "name": "Function",
                    "type": "hdmi",
                    "data": "26004e00929412131213113911381114113812131312111411131238113812131138121312131114113812131138121312131114113812381113123811141138133711381114110006029295113812000d0500000000000000000000"
                },{
                    "name": "Home",
                    "type": "other",
                    "data": "26004e009295111510150f3911381312123713140f15101510151038123713140f39121410150f38131212381213111312381214103813131038121311381337121311381312110006029295133612000d0500000000000000000000"
                }]
            }
        }]
    },
    {
        "platform": "TplinkSmarthome",
        "name": "TplinkSmarthome"
    }]
}
djrams10 commented 5 years ago

thank you, it's great, the inputs works. By cons I still do not control the TV by the control center. You have an idea?

        "platform": "BroadlinkRM",
        "name": "Broadlink RM",
        "accessories": [
            {
                "accessory": "Broadlink RM Learner",
                "type": "learn-code",
                "name": "Learn IR",
                "host": "192.168.86.141"
            },
            {
                "name": "Télé",
                "type": "tv",
                "host": "192.168.86.36",
                "pingIPAddress": "192.168.86.123",
                "pingFrequency": 2,
                "pingIPAddressStateOnly": true,
                "data": {
                    "on": "260068001b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000b971b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000d05",
                    "off": "260068001b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000b971b1e1c1e391f1b1f1b1e1c1e1c1e1b1f1b3b1c1e38201b000b961b1f1b1f381f1b1f1b1f1b1f1b1f1b1f1b3b1b1f381f1b000d05",
                    "remote": {
                        "select": "26001800383b391f1b1f1b1f1b1e1c1e1c3b383b1c1e1b1f1b000d05",
                        "arrowUp": "26003000383c381f1b1f1b1f1b1f1b1f1b3b3a1d1b1f1b1f1d000b94393b381f1c1e1c1e1b1f1b1f1b3b38201b1e1c1e1c000d050000000000000000",
                        "arrowDown": "26003400381f1c1e1b1f1b1f1b1f1b1f1b1f1b3b381f1b1f1b3b1c000b79391f1b1f1b1f1b1e1c1e1c1e1c1e1b3b391f1b1f1b3b1b000d0500000000",
                        "arrowLeft": "2600180038201b1e1c1e1c1e1b1f1c1e1b1f1b3b383c383c1b000d05",
                        "arrowRight": "26001600383c381f1b1f1c1e1b1f1b1f1c3a383b1c1e39000d050000",
                        "back": "26003400381f1c1e1b1f1b1f1b1f1b1f1b1f1b3b381f1b3b1d1d1c000b79391f1b1f1b1f1b1e1c1e1c1e1b1f1b3b391f1b3b1b1f1b000d0500000000",
                        "exit": "26003400381f1c1e1b1f1b1f1b1f1b1f1b1f1b3b381f1b3b1d1d1c000b79391f1b1f1b1f1b1e1c1e1c1e1b1f1b3b391f1b3b1b1f1b000d0500000000",
                        "info": "26001800381f1b1f1b1f1b1f1b1f1b1f1b1f1b3b381f1b3b39000d05"
                    },
                    "volume": {
                        "up": "26009000000124951014113910151039103a1039121310381214101510151014111410391312103a1039103a1014111410151015121211141015101411391039133710391139103911000541000124951014113910151039103a1237101510391114101510151014111410391114103a1039103a1014111410151015101411141015101411391039113811391139103911000d050000000000000000",
                        "down": "26009000000126941114103a1014103a10391139101411391015101411141015101411391015103910151039111410151015101411141015103911141039113910391139103911391000054100012594111410391114103a1039103a1014113910151014111410151014113910151039101510391114101510151014111410151039101510391139103812381139113910000d050000000000000000"
                    }
                }
            },
            {
                "name": "LG",
                "type": "tv",
                "host": "192.168.86.141",
                "data": {
                    "on": "260050000001289214111411143514111312131114111312133614351411143514361336143613361312131114111336141113121311141114351436133614111336143613361336140005220001284814000d050000000000000000",
                    "off": "260050000001289214111411143514111312131114111312133614351411143514361336143613361312131114111336141113121311141114351436133614111336143613361336140005220001284814000d050000000000000000",
                    "remote": {
                        "select": "260058000001279313121311143613121311131213121311143613361312133613361436133613371311141113361411131213111436131213361336131213361436133613121336130005220001284913000c4c0001284913000d05",
                        "arrowUp": "260058000001289214111312133613121312131114111312133613361411133614361336133713361312131114111312131114111336141113371336133614361336133614111336140005220001284913000c4c0001274a13000d05",
                        "arrowDown": "260058000001269411131213113812131114111411131114113812381113123811381138123811381238111312131114111312131138121311141138113911381138123811131238110005240001274a11000c4f0001264a12000d05",
                        "arrowLeft": "260058000001269511131114113812131114111312131114113811391113123811381138123811381138123811381213111411131213111411131213111411381138123811381238110005240001264b11000c4e0001274a13000d05",
                        "arrowRight": "260050000001289212131114113811141114111312131114113811381213113911381138123811381114113811381213121311141113121311381213111411381139113811381238110005240001274a11000d050000000000000000",
                        "back": "260050000001269411141114113813121113131213121311123813361312133613371336133713361114131113121336141113371212131213361436113812131336131213361337130005230001264a14000d050000000000000000",
                        "exit": "260058000001269413121311133711131213131213121311123813361312113813361238133612381138113812131139113813121336131211131213113911131114113812131138120005240001264b11000c4f0001264b11000d05",
                        "info": "260050000001269411141114113811141113121311141113123811381114113812381138113812381138113911131213111411131238111411131114113812381138113812131139110005240001274a11000d050000000000000000"
                    },
                    "volume": {
                        "up": "260050000001299114111312133613121312131114111312133613361411143514361336143613361312133613121312131114111312131114361311143613361436133613361436130005220001294814000d050000000000000000",
                        "down": "260050000001299114111411133614111312131114111411133614361311143613361435143613361436133614111312131114111312131114111312133614361336133614361336140005220001284913000d050000000000000000"
                    },
                    "inputs": [
                        {
                            "name": "AppleTv",
                            "type": "hdmi",
                            "data": "260050000001299114111312133614111312131114111312133613361411133614361336143613361336143613121336131213111411131213111411133614111435143613361436130005220001284913000d050000000000000000"
                        },
                        {
                            "name": "TV",
                            "type": "hdmi",
                            "data": "260050000001299114111312133614111312131114111312133613361411133614361336143613361336143613121336131213111411131213111411133614111435143613361436130005220001284913000d050000000000000000"
                        }
                    ]
                }
            },
            {
                "name": "Barre de Son",
                "type": "switch",
                "host": "192.168.86.36",
                "enableAutoOff": true,
                "onDuration": 20,
                "data": {
                    "on": "2600d800000124951015103911141039113910391114103a10141114101510141114103a10141139101510141139103911141015103911141039113811151014113910391114103a10000541000124951015103911141039113911381114103a1014111411141014111411391014113910151014113910391114101510391114103a103910151014113910391114103a10000541000124951015103911141039113910391114103a10141114101510141114113910141139101510141139103911141015103911141039113910151014113910391114103a10000d05 "
                }
            }
        ]
    },
    {
sushenmathur commented 5 years ago

@kiwi-cam do you see a separate remote for your TV & home theater in your control center ??

djrams10 commented 5 years ago

I did not understand, yes I see both TV separate in the home application, but I do not see in the control center.

AlexanderBabel commented 5 years ago

I know the issue. But I think it's an issue on Apple's site. Sometimes, in my case, the second TV appears in the remote section and a few hours later it is gone again. Also I have many troubles connecting to my Apple TV's through the remote app. I think this is correlated.

djrams10 commented 5 years ago

thanks for the information

BetoRn commented 5 years ago

This is a known limitation of homekit, this is the solution:

https://github.com/nfarina/homebridge/issues/2184

lint2015 commented 5 years ago

On a related note, is there a way to have this plug-in remember which TV input is active when Homebridge reboots, like how it can remember the state of a switch? It seems to always default to one of the inputs upon reboot.

Not sure if I should open another issue for this request. Let me know if that's preferred to tacking it on to this one. Thanks.

AlexanderBabel commented 5 years ago

Unfortunately, I'm not able to support multiple TVs currently. It's more complicated than just two simple line changes. The original creator of this plugin uses a custom class for every accessory which in independent of the required class type for external accessories (PlatformAccessory). Therefore the only possible way I'm currently considering is a complete rewrite of the TV type and remove the custom class from the original author in order to replace it with PlatformAccessory class. But I don't have enough time to work on this topic.

The current workaround for you would be to use multiple homebridge instances.

AlexanderBabel commented 5 years ago

Fortunately I found a way to solve this issue without a complete rewrite. I used the code from the original homebridge server and copied it for this use case. And... It worked! Feel free to report issues if you find any. On my system everything worked as expected.

mafyata commented 5 years ago

Hey , can you make this plugin to be updatable. Many users use config ui plugin and will be easy to update your plugin like update other plugins. 332B1A02-EE0A-4061-97E4-E0544E7724C2

djrams10 commented 5 years ago

I agree with that.

Hey , can you make this plugin to be updatable. Many users use config ui plugin and will be easy to update your plugin like update other plugins. 332B1A02-EE0A-4061-97E4-E0544E7724C2

I agree with that.

AlexanderBabel commented 5 years ago

Alright. Just uninstall the old version (npm un -g homebridge-broadlink-rm) and install the new version: npm i -g homebridge-broadlink-rm-tv

djrams10 commented 5 years ago

👌🏼