CyBear-Jinni / cbj_integrations_controller

GNU Affero General Public License v3.0
2 stars 1 forks source link

Add support for SONOFF DIY MODE devices #26

Open guyluz11 opened 2 years ago

guyluz11 commented 2 years ago

SONOFF by eWeLink devices are popular option when it comes to smart home devices.

Home Assistant support for SONOFF/eWeLink is not built in integration.

This is the official API for SONOFF which require the devices to enter SONOFF DIY Mode

eWeLink app have 1M+ downloads in the play store.

guyluz11 commented 2 years ago

Also found Sonoff_Devices_DIY_Tools repo (Python) which

Sonoff Devices DIY Tools is used for SONOFF Devices(Basic R3,RFR3 and Mini) control via LAN.

And sonoff-python (Python) which

Make use of your sonoff smart switches without flashing them via the cloud APIs

And ewelink-api (JavaScript) which

eWeLink API for JavaScript

And node-red-contrib-sonoff-lan-mode (JavaScript) For Nod-RED and very limited which

which Node-RED nodes to communicate with Sonoff Smart Switch devices on LAN.

guyluz11 commented 2 years ago

I have started converting the API to dart, here is a link to the repo https://github.com/guyluz11/ewelink-api-dart

guyluz11 commented 2 years ago

We can even start by using the Node-RED plugin node-red-contrib-ewelink

guyluz11 commented 1 year ago

Changing this issue to SONOFF DIY MODE and separating it from Ewelink support.

Sonoff diy mod is for devices that are above certain version and have this mode on.

For all the other devices we will have to use ewelink which is the cloud of sonoff