-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Never reaches "FinalStage" #73
Comments
I would also like to add to this. I was running on an Ubuntu 17.10 System. The process seems to stop at step 4.
My terminal brings up the message about waiting for the download to finish and look for the SSID to connect to, but it just keeps posting that message. Approx every 20 seconds. With little dots counting down? I let it run for 30 min with no sign of that FINALSTAGE ssid. |
Nothing jumps out as it appears to be connecting. My suggestion would be to try running without |
I have tried with/without both slowstream and legacy - same outcome. But one thing I noticed late last night was that it appears to stop transferring the bin files in the mid 20% |
Same problem here. Everything runs smoothly until stage 4. I used a basic that was connented using the app before. So maybe it installed a newer firmware during that time? It took quite a while until it finally showed up online within the app. |
Operating System: MacOS 10.12.6 Same issue. Just keeps downloading, no "FinalStage". |
I just checked one of th Sonoff devices I had. It was running firmware version 1.5.5. I ran the script on that and it worked. Connected and updated. The one for 1.6.0 Failed. Looks like its a Cert Issue based on this #58 (comment) |
@neuman1812 Sorry for my dumb question but did you check the firmware version? |
Operating System: MacOS 10.13 Same issue. |
@petjek Yes, as stated in my comment., The firmware version on sonoff 1.5.5 allowed me to run the script. The Sonoff that was running 1.6.0 did not allow me to finish the script. |
I have another Sonoff Basic that hasn't been configured via eWelink so should be on v1.5.5, another Sonoff Basic on v1.6.0 and a Sonoff Dual R2 on v2.0.1 that are both configured on eWelink. I'll try them all tonight and let you know. |
OK, finally I figured out that all my devices are on 1.5.5. 4x Sonoff Basic ans 1x Sonoff Pow. None of them ever reached FinalStage. |
@petjek A Basic running v1.5.5 is known to work. Given it has failed on everything, it looks like there is a firewall blocking inbound traffic (this is very common on Windows). If you are still having issues, please attach the logs as well. |
@sillyfrog I did set my firewall off but made another mistake. I entered credentials of my 5GHz-Wifi first that is not supported by Sonoff devices. I changed that to a 2.4GHz-Wifi and first it seems to work. The binary file was uploaded and right when upload was finished I could hear the Basic klick 4 times. After that the upload started again. And thats where I'm stuck now. Every minute I hear a click-clack click-clack and the upload starts again. But still never reaches FinalStage. |
Same issue here: No firewall involved and stage 3 ended with error code 0. |
@petjek In that latest log it looks like it is dropping off the network during the download, which is weird to be doing it so many times. I would suggest rebooting everything (leaving the Sonoff disconnected for a full 60 seconds), then try again. If that does not work, try again with |
Is it possible the issue is triggered by the minimum install image which is included in SonOTA? After stage3 completed with error code 0, on my switches no finalstage came up. As soon as you provide the desired wifi connection you are able to connect to the webinterface of the mininum base image and flash your final image from there. My conclusion would be, and please call me out if I'm completely off track here, the minimum base image has the issue of not opening "finalstage" at all, maybe currently there is an incorrect base image being pushed? |
@Glotzon Sounds like your install completed all the way through automatically (this can happen if you are lucky and your PC already knows and the |
Yes I agree, hence my thought the minimum image might be lacking something. |
Same Issue here. `Lucass-MBP:SonOTA-master meyer_lucas$ ./sonota.py Using the following configuration:
*** IMPORTANT! *** No "FinalStage" SSID comes up :-/ I am working on an Mac and trying to flash a Sonoff POW. If anybody can help, please let me know :) |
same issue here: I've tryed both wothout parameters and with --legacy --slowstream with no luck, hope someoune can help me because I'm stuck with my openhab progect if I cannot use mqtt on sonoff devices tks |
Hi there, I just wanted to report, that my sonoff S31 firmware version "1.0.0" as reported by eweklink never reaches the final stage ESSID. No errors, the logs look the same as folks report above. |
Same here. Second "bricked?" sonoff basic, stuck waiting for Final Stage. And no more led blinking either. I hope I can flash it using the 'hard' way. |
@alfem Do you get anything after rebooting/Power cycling the Sonoff? (ie: A FinalStage SSID, or the stock firmware). (The other later posts are just the fact they are running newer stock firmware, and SonOTA does not work with that). |
No, @sillyfrog, no wifi ssid comes up. I haved power cycled this sonoff a dozen times, but I can not see any life signals (led, wireless activity in my router...) |
@alfem If you get a chance to monitor the Serial port before you flash it, it may give some indication as to what state it's in. Maybe useful for debugging (not anything else that can be done unfortunately). I have pushed some minor updates recently that try to address one of the potential issues we have come across (power getting cut during the flashing). |
No, @sillyfrog, no wifi ssid comes up. I haved power cycled this sonoff a dozen times, but I can not see any life signals (led, wireless activity in my router...) I think I will forget the SonOffs for a while, and buy a couple of ElectroDragon hacker-friendly Relay boards |
Hi, My situation also never get to the "FINAL STAGE" either so after restarted and try to go through the procedure again SONOTA.EXE exit as soon as I enter the Wifi and password info. Here is the log :2018-10-19 18:30:02,401: DEBUG: Current IPs: ['10.10.7.2']
|
Hi |
same problem here. only see dots and a few minutes later this info messages in a loop. No WiFi to find to connect... That's Bad. I've wasted today 4 hours of my life... -.- |
debug_1512838320.log
When trying to flash a Sonoff Touch it never show up on FinalStage (don't think it should take 20 minutes to flash), but rather seems to reboot during the flash, and then start over.
What could be the issue for this?
The text was updated successfully, but these errors were encountered: