Start a new topic

use sonoff device with another application - WITHOUT REFLASHING!!!

i want to write application to replace eweLink, but i dont want flash device.

is it possible?

i allready have mqtt server, app and any device.

i want to add sonoff to my system/app without flashing

11 people like this idea

Dear fyv, - Like you do, I not feel me comfortable to trust EweLink, in case where development solutions go to my customer. I like the idea from ITEAD, to build intelligent solutions, based one selected existing modules. 

If I over the next 2 years by/sell thousand of solutions, and so potently the customer/user not will be able to connect E-weLink - have seen many example at this yearly in this forum. It is bad business for all. 

What idea do you have to make a new connections platform? I do also have some server capacity available here, if we need some random security for the end user.


HCM Development


4 people like this

2 people like this

I too want this. A simple API would do the trick. Please release it.

2 people like this

Hi, guys, did you manage to find a solution for this issue ? Has anyone managed to build his own app ?

1 person likes this

Doesn't make sense of how to have own APP without Reflashing.

Current software running on Sonoff contains MCU code for current APP.

For MCU to run another code, then the MCU must be programmed for such

In order to program MCU - flashing is the only method to upload your new program.

Sonoff FAQs point to ESP for such development.

- don't be so resistant to FAQs, they will help you.  Really.

There is plenty of evidence others have successfully accomplished own apps.

Strongly recommend

1 person likes this
Patrick, then an easier way to flash would make sense. Not having to solder would be good. Mqtt pre-installed would be great. I like the eWeLink app (great for some users in my household), but would love to use OpenHab in parallel. Would it not be easy to add this possibility with a simple firmware update? Love these products & own 22 by now... S20, POW, Basic & TH16 along with one SC...

MQTT without reflashing (and thereby loosing the eWeLink) has been mentioned in many posts. It would really solve a lot.

2 people like this

#1 How about making the latest stock firmware available as .bin files so that users can recover the ewelink capability after flashing and experimenting with alternatives.  As it is now, flashing the device is a one way street with no way to restore original functionality.  No need to release the source code, just make the latest compiled firmware downloadable.  Almost all other devices like routers etc. provide a database of downloadable stock firmware for their products.

#2 Solder the 5 pin header as factory stock.  It couldn't add more than a few cents to the price.

2 people like this

@Patrick actually it does make sense to use sonoff firmware with another app. And you can actually do it by telling to the device to use another server during the paring mode. See

Me I would like to keep the firmware and the sonoff app, and only have an API to send some command to the itead server in order to control my devices. Right now the only way would be to build a kind of proxy server between the device and the itead server. But it would bring some latency and most likely some issue...

Right now the Sonoff are using web socket and I doubt that one day they switch to MQTT. Maybe they could provide an MQTT interface on there server  but I also doubt about it. It would already be great to have a proper API before to even think about MQTT.

By the way, for flashing the Sonoff you don't need to do any soldering, you don't even need to open the Sonoff. You can just use OTA directly with the itead interface, like if you would update the firmware but instead you put your own firmare.

It would resolve all these issues if the servers that the SONOFF devices connect too, worked and were stable. I think it may be too late for that now, as trust in the ability to keep the servers up and stable has now mostly gone from the SONOFF community due to multiple server outages. Its going to take a long time to regain all that trust again.

As the servers are located on AMAZON in Germany. I think you should just restore everything back to a known working server backup set, and spool up a few extra resources for now just to get it working. Then start a new server build. (Your going about this the wrong way. Unless you want to loose your customers)

I purchased my first 2 SONOFF devices on 2nd January. Only managed to get 1 to setup and that took about 10 attempts and most of the day. It mostly does not work. I keep getting communication errors. I'm not even going to try with the second until I have seen the system up and running for several months without fault. I don't want to connect anything in the house to a system that is unreliable and untrustworthy.

If it had worked well on the first day then I would have probably purchased about 30 devices by now. The devices seem more than fine, Its the surrounding infrastructure where its all let down.

I have a few months experience with Sonoff. I set up my system, before the IFTTT update, so I had no choice but reflashing the fw. I now use simple Arduino OTA with custom fw for each device. And the GUI is provided by Blynk. I have several devices. All are rock solid and stable. Blynk servers also... I have prolly purchased 30 devices by now ;)

"... By the way, for flashing the Sonoff you don't need to do any soldering, you don't even need to open the Sonoff. You can just use OTA directly with the itead interface, like if you would update the firmware but instead you put your own firmare."

Really? How so? I remember that the itead interface, just updated the fw without any user interactions. No possibility to insert your own?

Login or Signup to post a comment