Open TheReiner opened 4 years ago
Hi @TheReiner, it would be great if you can help on adding support for the Sonoff L1! This project is open source and have a relaxed license that you are free to modify the code and share your work. You can look into the source code, it's written in Javascript which is fairly easy to understand and write. To contribute code back to this project, please fork the repository, make the necessary changes and then send me a pull request.
To intercept the API request / response data, please refer to the README on the original homebridge-ewelink project, which have a section showing how to observe the data with Charles.
I'm afraid of broken your app... How to test without create problem ?
In my log L1 device ( Light Strip RGB Sonoff ) is reported as type 59 ( MEARICAMERA ), other different devices like USB outlet or socket S55 are reported correctly as type 1 SOCKET. In Homekit I see L1 as switch and can't change brightness or colours. But I'm too stupid to change source code. Someone help me ?
Is it possible to add Sonoff L1 ? For change the colour ? Thanks :)