neilpatel121 / homebridge-skyq-tvremote

Apache License 2.0
10 stars 3 forks source link

Multiple Sky Q Devices #5

Closed SmolSoftBoi closed 3 years ago

SmolSoftBoi commented 3 years ago

Allow multiple Sky Q devices.

Example Configuration:

{
    "name": "Sky Q",
    "accessories": [
        {
            "name": "Living Room Sky Q",
            "ipAddress": "192.168.0.2"
        },
        {
            "name": "Bedroom Sky Q",
            "ipAddress": "192.168.0.3"
        }
    ],
    "platform": "skyq-tvremote"
}
neilpatel121 commented 3 years ago

this shouldnt be an issue, i use with two sky boxes at my place, write your config like this

{ "name": "Living Room Sky Q", "platform": "skyq-tvremote", "ipaddress": "192.168.0.2" }, { "name": "Bedroom Sky Q", "platform": "skyq-tvremote", "ipaddress": "192.168.0.3" }

SmolSoftBoi commented 3 years ago

this shouldnt be an issue, i use with two sky boxes at my place, write your config like this

Doesn't this load 2 instances of the same plugin?

neilpatel121 commented 3 years ago

Yeh it does, isn’t the best implementation it something I knocked up quickly to get the functionality i required. Can be done in a single plugin, think the repo is open happy for you to contribute

benfysh commented 3 years ago

The readme has been updated to show the current config required to enable multiple boxes.