firsttris / homebridge-wifi370-led-controller

:bulb: Homebridge plugin to use WIFI370 Led-Controller as HomeKit accessory
MIT License
6 stars 0 forks source link

LD686 - does not use white channel #1

Open ChristianFFB opened 6 years ago

ChristianFFB commented 6 years ago

The warm white channel is not used for mixing colors. Using the MagicHome App the controller responds just fine. The LD686 has separate WW & CW channels.

"accessory": "wifi370", "controller": "LD686", "autoupdate": "true", "name": "TV LED", "host": "10.0.5.31" }

firsttris commented 6 years ago

Hey Christian,

this part of the codebase was contributed by some other developer, since i dont own a LD686 i can't test or reverse engineer this.

i guess the colors send to the device are not correct.

this is the responsible code: https://github.com/firsttris/wifi370-js-api/blob/master/controller/LD686.js

you could capture the network traffic of you MagicHome App (with something like wireshark or debooke) to find out the differences in the TCP Message.

or if you research some other LD686 implementations.

I'm happy to fix the issue if you tell me what to change 👍

best regards tristan