Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB Strip doesn't change colour #15

Open
harrydayexe opened this issue Jan 8, 2019 · 3 comments
Open

RGB Strip doesn't change colour #15

harrydayexe opened this issue Jan 8, 2019 · 3 comments

Comments

@harrydayexe
Copy link

Describe the bug
I have a normal RGB strip connected to a magic home wifi controller (one in the certified controllers section). I can turn the strip on and off via HomeKit but I cannot control the brightness or colour. In the MagicHome app however I can control everything via the standard MagicHome app.

Expected Behaviour
When I change a colour in the home app, I can see in my RaspberryPi console that the colour command has been received and sent into the flux_led.py but no change occurs on the strip.

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

    "platforms": [{
            "platform": "MagicHome-Platform",
            "debug": true,
            "lights": [{
                    "name": "Desk LED Strip",
                    "ip": "192.168.1.223",
                    "setup": "RGBWW",
                    "purewhite": false
            }]
    }]

}`

Logs
08 18:19:26 raspberrypi homebridge[225]: [1/8/2019, 6:19:26 PM] [MagicHome-Platform] Setting color RGB:(255, 48, 48) [(255, 48, 48)]

Jan 08 18:19:26 raspberrypi homebridge[225]: [1/8/2019, 6:19:26 PM] [MagicHome-Platform] Setting color RGB:(255, 52, 48) [(255, 52, 48)]

Jan 08 18:19:29 raspberrypi homebridge[225]: [1/8/2019, 6:19:29 PM] [MagicHome-Platform] [ 'Polling Light', '192.168.1.223' ]

Jan 08 18:19:29 raspberrypi homebridge[225]: [1/8/2019, 6:19:29 PM] [MagicHome-Platform] /usr/local/lib/node_modules/homebridge-magichome-platform/src/flux_led.py 192.168.1.223 -i

Jan 08 18:19:30 raspberrypi homebridge[225]: [1/8/2019, 6:19:30 PM] [MagicHome-Platform] Unknown ID [192.168.1.223] ON [Color: (255, 255, 255)]

Jan 08 18:19:30 raspberrypi homebridge[225]: [1/8/2019, 6:19:30 PM] [MagicHome-Platform] [ 'Updating Device',

Jan 08 18:19:30 raspberrypi homebridge[225]: '192.168.1.223',

Jan 08 18:19:30 raspberrypi homebridge[225]: { H: 0, S: 0, L: 100 },

Screenshots
screenshot 2019-01-08 at 18 22 10

Desktop (please complete the following information):

  • OS: Homebridge running on Raspbian Stretch Lite
  • Node Version: v10.15.0

Additional context
The next time the LED Strip is updated by the plugin and the information about it is retrieved, the colour or brightness settings in the home app are changed back to White and 100% bright which is what I set via the MagicHome App

@ifeign
Copy link

ifeign commented Jan 21, 2019

Try changing the setup from RGBWW to RGBW or RGB, that's what worked for me - my LED strip wasn't RGBWW, everything worked fine when set to RGB.

@harrydayexe
Copy link
Author

I tried both RGBW and RGB and neither had any luck, colour sets in the home app and I can see the command being received in my system logs, but after a minute or so the HomeKit app refreshes back to the previous colour.

@ifeign
Copy link

ifeign commented May 19, 2019

I realized there's apparently an RGBWWv3 option too, have you had any luck?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants