Zacknetic / HomebridgeMagicHome-DynamicPlatform

Homebridge Plugin for MagicHome LED controllers and light bulbs
Apache License 2.0
61 stars 11 forks source link

Unknown Light Version #1

Closed Lew7878 closed 4 years ago

Lew7878 commented 4 years ago

Hi,

I have three of these RGB LED Strip controllers: link

They appear in HomeKit and can be turned on and off, but any change to their brightness or color gives no response and causes an Unknown Light Version message in the log. log.txt

Zacknetic commented 4 years ago

I was waiting for someone with this version of the controller. I will add that functionality and get back to you. Thank you for posting your log, it's exactly what I needed.

Zacknetic commented 4 years ago

try updating now npm install -g homebridge-magichome-dynamic-platform

Zacknetic commented 4 years ago

Actually scratch that, wait one moment, need a little more logic. I don't have the RGB controller here so I can't test it.

Zacknetic commented 4 years ago

Alright give it a shot. try updating now npm install -g homebridge-magichome-dynamic-platform

Lew7878 commented 4 years ago

I have updated, I'm getting no unknown device errors but I can still only turn the strips on and off. Dimming and colour change have no effect on the lights.

This could just be an issue on my end, I'm struggling to get any plugin working with these strips, although yours is the closest I have gotten, so thank you!

Zacknetic commented 4 years ago

Yeah dimming won’t work if color change won’t work, the controllers dim by changing the brightness of each color.

I’m sure you’ve got them changing color with the magichome app?

Open the magic home app and click settings.

Magichome original app: gear icon in the top left corner.

Magichome “pro” app: gear icon in the top left corner>device settings

Your device should show with a name and version. Something like: Bulb A8095B ABCD12345 , v6

What does yours show?

I can work together with you directly on the Homebridge discord group here: https://discord.gg/eeZGpj

I’m sure it’s just expecting a certain protocol that we need to figure out. Which we will. Contact me.

Lew7878 commented 4 years ago

All three of my controllers appear as v4. I’ve posted the issue on the discord under magichome. thank you for your help!

Zacknetic commented 4 years ago

I have updated the plugin. Please update by following instructions left at the discord magichome channel.

Zacknetic commented 4 years ago

Issue was solved by determining RGB controller’s protocol and adding logic for it.