Zacknetic / HomebridgeMagicHome-DynamicPlatform

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

[Feature Request] Support for Individually Addressable MagicHome Devices #75

Open feckdej opened 3 years ago

feckdej commented 3 years ago

I got a LED RBG+IC strip but I am only able to turn It on or off in the Home app. Changing the colors or even changing the light intensity does not work.

Model number: AK001-ZJ2104

Zacknetic commented 3 years ago

Hello, could you please fill out the bug report template?

You can find the bug report template here.

feckdej commented 3 years ago

Describe the bug

While using the Homekit app on iPhone/ iPad/ iMac, changing the brightness or the colour makes no effects. Nothing happens in the LED Strip, it stays at full brightness and at the color previously set with the Magic Home app.

To Reproduce

  1. In the HomeKit app, long press the LED Strip tile to display the brightness slider and colour circles
  2. Attempt to decrease brightness
  3. Observe no changes
  4. Attempt to change colour
  5. Observe no changes

Expected behavior

When changing the brightness the strip should change the light brightness accordingly. Same goes for the colour.

Additional context

When I change the colour of the light strip in the MagicHome app, the colours stays (and does not change in the HomeKit app). Same for the brightness.

Host Hardware

Homebridge and MagicHome

TXT file: Log Magic Home Plugin.txt

feckdej commented 3 years ago

I’ve also noticed:

  1. In the HomeKit app, long press the LED Strip tile to display the brightness slider and colour circles
  2. Change brightness/ color
  3. Close the opened tile
  4. Switch to the MagicHome app
  5. Change color/ brightness
  6. Switch to HomeKit app
  7. Long press the LED Strip tile to display the brightness slider and colour circles
  8. The displayed brightness/ color is the one changed previously in the MagicHome app
Zacknetic commented 3 years ago

Thank you very much for filling all of that out and conducting a bunch of troubleshooting. Unfortunately individually addressable MagicHome devices are currently unsupported. That's why you are getting the weird behavior. The wrong protocol is being sent to the device.

I will, however, keep this issue open and retag it as a feature request. That way we can put it on our project roadmap. It may be quite simple to implement, so once we finish the features currently in development it could be a quick fix.

Let me know if you have any other questions.