dotsam / homebridge-milight

MiLight/LimitlessLED/Easybulb Plugin for Homebridge
MIT License
63 stars 12 forks source link

WiFi Box LED #36

Closed samsonrosen closed 6 years ago

samsonrosen commented 6 years ago

Hi! I have the V3 box. Is there a way to get the LED to show as a Light in Homekit? Do I need to add something to my config..

Thanks,

Sam

dharrison8815 commented 6 years ago

I added my v6 hub as two separate devices. One for the four groups and one for the hub itself both with the same IP address. I've pasted this portion of my config file below:

{ "ip_address": "10.0.1.7", "version": "v6", "lights": { "fullColor": ["Kitchen", "Island", "Pendant", "Entryway"] } }, { "ip_address": "10.0.1.7", "version": "v6", "lights": { "bridge": ["Hub"] }

Hope this helps!

Dusty

dotsam commented 6 years ago

@samsonrosen Yes, you'll need to add the "bridge" bulb type to your lights object as below.

@dharrison8815 This should be in a single bridge like below:


{
  "ip_address": "10.0.1.7",
  "version": "v6",
  "lights": {
    "fullColor": ["Kitchen", "Island", "Pendant", "Entryway"],
    "bridge": ["Hub"]
  }
},
samsonrosen commented 6 years ago

Hi @dotsam,

Sorry for the delay in the response! I have added the configuration but nothing happens in my Homekit app. I have noticed I am getting an error when initialising Homekit however.

  {
         "platform":"MiLight",
         "name":"MiLight",
         "bridges":[
            {
               "ip_address":"255.255.255.255",
               "version":"v6",
               "lights":{
                 "bridge":[
                    "Landing"],
                  "rgbw":[
                     "Light","Lamp"]
               },
               "repeat":3,
               "delay":5
            }
         ]
      },
[23/09/2017, 05:52:49] [MiLight] Initializing MiLight platform...
[23/09/2017, 05:52:49] [MiLight] Invalid light type specified.
[23/09/2017, 05:52:49] [MiLight] Initializing platform accessory 'Light'...
[23/09/2017, 05:52:49] [MiLight] Initializing platform accessory 'Lamp'...
dotsam commented 6 years ago

Can you confirm what version of the plugin you currently have installed with sudo npm list -g homebridge-milight?

samsonrosen commented 6 years ago

Hi!

V0.1.7

samsonrosen commented 6 years ago

Goodness! I apologise, I definitely ran the update command yesterday... I just used the install command and it’s brought me up to date and the plugin works again!!!

Thanks so much for making this the most cost efficient lighting set on the market!!