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
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.
I too want this. A simple API would do the trick. Please release it.
Hi, guys, did you manage to find a solution for this issue ? Has anyone managed to build his own app ?
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.
MQTT without reflashing (and thereby loosing the eWeLink) has been mentioned in many posts. It would really solve a lot.
#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.
@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 https://blog.ipsumdomus.com/sonoff-switch-complete-hack-without-firmware-upgrade-1b2d6632c01
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.