pfink / rfled-server-python

Small python app to run UDP servers emulating LimitlessLED / Milight / Applamp WiFi Bridge 4.0 units
GNU General Public License v3.0
6 stars 0 forks source link

Wrong implementation ? #1

Closed xvolte closed 7 years ago

xvolte commented 7 years ago

Hello,

I have an issue with your python rfled server for milight. First of all, i can start it without any issue (app recognize the milight bridge) However, when i click on the button on the app, nothing happens. I enabled the debug to print str(data) and i get the following letter printed when i click in the app: H, I, J, K, L.

It appears that you then send to SERIAL directly the letter ? however, it is normally required to send packets like this : "B0 EE EA 04 91 03 45"

Could you please explain how to go from the letter received by your app, to write then the correct packet to serial ?

Thanks in advance,

pfink commented 7 years ago

Yes, input from the app is directly passed through to serial port. That's because the Milight protocol is damn simple, the original milight bridge does nothing more than this library does. You can find the protocol specification here: http://www.limitlessled.com/dev/

This library is tested for the v4.0 bridge hardware. If you would describe your complete setup (SBC, OS, used bridge hardware, ...), I could may help you.