steve228uk / homebridge-magichome

A Homebridge plugin for Magic Wifi devices
MIT License
82 stars 47 forks source link

How can I make one controller appear as two bulbs to homebridge? #39

Open tomldickson opened 6 years ago

tomldickson commented 6 years ago

I have a XCSOURCE DC 12-24V iOS Android WIFI Remote 5 Channels Controller for RGB LED Strip LD686 and a strip of LEDs. I've gotten it to basically work (kind of) using

{
"bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
},

"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [
   {
       "accessory": "MagicHome",
       "name": "LED Strip",
       "ip" : "192.168.88.224",
       "setup" : "RGBWW",
       "purewhite" : true
   }
]
}

However - it makes much more sense to me to have the device appear as TWO LED strips - one that would control brightness of the White alone, and one that would do the color.

Is there a way to fake this?

rrebel01 commented 6 years ago

Same for me.. i cant control the brightness of my white any other way. its on or off.. did you ever found a solution?

toshibochan commented 6 years ago

maybe not possible because is how the controller works

rrebel01 commented 5 years ago

ive bought a second controller to control the white leds. how should i config the setup to just control white?

Zacknetic commented 5 years ago

I have a XCSOURCE DC 12-24V iOS Android WIFI Remote 5 Channels Controller for RGB LED Strip LD686 and a strip of LEDs. I've gotten it to basically work (kind of) using

{
"bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
},

"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [
   {
       "accessory": "MagicHome",
       "name": "LED Strip",
       "ip" : "192.168.88.224",
       "setup" : "RGBWW",
       "purewhite" : true
   }
]
}

However - it makes much more sense to me to have the device appear as TWO LED strips - one that would control brightness of the White alone, and one that would do the color.

Is there a way to fake this?

Thats a great idea. It could work with warm white and cold white.