howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

Sonoff RF 433MHz Bridge WiFi #64

Open oiler2016 opened 4 years ago

oiler2016 commented 4 years ago

Hi.

Does this plugin have functionality for Sonoff RF 433MHz Bridge WiFi? Is it possible to list in the Home app devices ON / OFF and sensors paired with Sonoff RF 433MHz Bridge WiFi?

howanghk commented 4 years ago

Hi @oiler2016 , I don't have a working sonoff / ewelink device with me now so I cannot add new functionality to the plugin at this moment. It would be great if you can help on adding support for the Sonoff RF 433MHz Bridge WiFi! 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.

karelkolis commented 4 years ago

Hello, I am working on extension allowing possibility to list in the Home app devices ON / OFF and sensors paired with Sonoff RF 433MHz Bridge. I currently have only motion and fire sensors listed in the Bridge. @oiler2016 do you have anything else?

When I am done with testing, i will send a pull request.

Cyoshi commented 4 years ago

you have a very good plugin that really helps. however, support for the Sonoff RF 433MHz Bridge can take it to the next level. that is, people who already have lamps on rf control panels can easily connect them to the homekit and the devices of the control device can grow several times only due to the support of this device alone. only you do it well

alexistoulotte commented 4 years ago

You're doing a great job @howanghk. I got a Sonoff RF 433MHz bridge too and I'm trying to make your plugin work with this device. It's quite tricky as the API isn't really documented and the device does not have same behavior as others.

howanghk commented 4 years ago

Hi @alexistoulotte, recently the developer of ewelink released documentation for the API, which can be found at https://coolkit-technologies.github.io/apiDocs/#/en/APICenter As I do not own any working ewelink device now, and I don't have the Sonoff RF 433MHz Bridge, there is little to no motivation for me to write code that I cannot use or debug. It would be great if you can contribute code for the Sonoff RF 433MHz Bridge device. I would be happy to accept pull requests.