HomeACcessoryKid / ota

universal OverTheAir firmware update system for esp-open-rtos based GitHub repositories
Apache License 2.0
12 stars 0 forks source link

OTA Failes very often for RavenSystem/esp-homekit-devices #3

Open rossiniscarface opened 6 years ago

rossiniscarface commented 6 years ago

Hi,

it looks like the OTA-Update is failing if the Sonoff with the firmware from https://github.com/RavenSystem/esp-homekit-devices connect to a github server. If the device connects to amazon, the update is good. See issue Issue 52 Any suggestions why this could be?

Thanks for your work.

xtianpaiva commented 6 years ago

same issue here

HomeACcessoryKid commented 5 years ago

thanks for your feedback.

I hope to make a new cycle of improvements to the life-cycle-manager software, of which this ota repo is the experimental copy.

The issue you describe is known since a long time but I have not been able to fix it.
It happens when the string that contains the filename user_file even though it prints correctly at the point where it is read from the flash, by the time it is used to create the URL to collect it, it is empty. But then after some cycles or a reset, it is just there and the update works...

Anyway, the intention is to make the next step, so if people can feed back on the approach, that would be nice.

peros550 commented 5 years ago

I just saw an update in this repo! Many thanks ! What do we need to do users who are using the RAvencore firmware in order to use the updated OTA mechanism ?

HomeACcessoryKid commented 5 years ago

Just be a little more patient!!
For now this is a pre-release because I want to test everything before sending everyone a one way ticket to a bricked device.

But since this is Christmas, it shouldn’t be long!

peros550 commented 5 years ago

Hahaha! Many thanks for your hard work! I also do the same, get leave days from work to work on the hobby!

Wish you all the best!