steve228uk / homebridge-magichome

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

Different behaviour between Home app & MagicHome app #7

Open mensoh opened 7 years ago

mensoh commented 7 years ago

Hi,

When dimming the RGB led strips I have connected to a MagicHome wifi controller with the MagicHome app, the behaviour is as expected: the color stays pretty much the same and the amount of light reduces.

When changing the brightness through Apple's Home app the color of the light changes (from warm white/yellow to blue) when dimming the lights. Also, the colors on the color wheel don't seem to match the colors as well as those in the MagicHome app.

Any ideas what might cause this?

Thanks

steve228uk commented 7 years ago

Hi @mensoh,

Could you confirm the bulb/controller you're using, the mode you have set (e.g. RGBWW).

Dimming will attempt to keep the same colour, however it sounds like you may need to set the purewhite option to true.

Colours on the HomeKit wheel are set by Apple but should change the bulb/LED strip to the correct colour due to it just sending an RGB value to the bridge. This plugin then converts that to HSL (which MagicHome uses) and sends it on.

mensoh commented 7 years ago

Hi steve,

I changed the option to purewhite but that doesn't seem to resolve the matter, nor does using RGBWW. I'm using Arilux LC01 wifi controllers.

I think I vaguely remember when installing the plugin there was some dependency that wasn't present which seemed to be named like something to do with numbers, could it be that this is causing it?

RileyKC8238 commented 7 years ago

I'm having the exact same issue with my new setup. My light strips are RGB only (no white). My wifi controller is this one from Amazon (XCSOURCE DC 12-24V iOS Android WIFI Remote 5 Channels Controller for RGB LED Strip LD686). Same as the online tutorial created by Steve.

mensoh commented 6 years ago

I haven't been able to resolve this, have you @RileyKC8238 ?

RileyKC8238 commented 6 years ago

Actually no, I have not. I've not been able to mess much with it but I keep hoping a solution may surface from someone much smarter than myself.