-
Notifications
You must be signed in to change notification settings - Fork 172
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
Added an erase.sh script that will erase the Sonoff's flash #6
base: master
Are you sure you want to change the base?
Conversation
…Fi connectivity issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Do you by chance know how modify and then compile my own bin file from advance folder?
Thanks
@gsvan I haven't tried this yet, but I suspect it is (at least) running make on the Makefile that can be found in the |
That will be great, please let me know as I have no idea where I should put those advance directory files to compile :) thank you |
Beautiful!!! It resolved the wifi issue for me!! you did, however, forget the "./" before esptool.py |
Hi did you get chance to test building using the makefile and if successful what route you took. I need to be able to change the gpio outputs. binary files work great I've even managed to combine |
@magnip Hi, sorry no unfortunately not. I ended up setting up a home-assistent instance on a raspberry pi and running tasmota on my switches, so I'm afraid I won't be of much help here. Good luck :) |
@rickvdl Hey! Thanks for this PR, it helped me to successfully flash my sonoffs. 👍 |
I have this problem and I can't find the solution. Sonoff won't connect to my wifi, the captive portal won't shut down. This doesn't seem to solve my problem. I have a Sonoff RF R2 Any solutions? |
@pablorierad Did you confirm erasing actually worked? (It might be that you have to change the serial port in the |
Thank you for your immediate response. I copy the code from my terminal to show the procedure. I don't think I'm wrong about anything. First I erase
Then I load the firmware
After turning it on, the captive portal appears, I try to connect to my wifi but it never closes or connects, I can see it with my router. |
@pablorierad Right, that looks OK to me, I'm sorry but I don't have any clue on what could be wrong, I don't maintain this project :) FYI I switched to Tasmota myself and let HomeAssistant do the communication with Homekit, since it appears to be a lot 'lighter' for the Sonoffs to run and it's much better supported. Cheers |
The only time I had same issue as you it’s when I did not erase it properly.
Also only times I struggle to connect is when I have 5ghz on WiFi.
So usually I would switch it to only 2ghz and then connect.
Not sure if I understand exactly what is the problem you have
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Rick <[email protected]>
Sent: Monday, February 3, 2020 4:34:04 PM
To: Gruppio/Sonoff-Homekit <[email protected]>
Cc: gsvan <[email protected]>; Mention <[email protected]>
Subject: Re: [Gruppio/Sonoff-Homekit] Added an erase.sh script that will erase the Sonoff's flash (#6)
@pablorierad<https://github.com/pablorierad> Right, that looks OK to me, I'm sorry but I don't have any clue on what could be wrong, I don't maintain this project :) FYI I switched to Tasmota myself and let HomeAssistant do the communication with Homekit, since it appears to be a lot 'lighter' for the Sonoffs to run and it's much better supported.
Cheers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#6?email_source=notifications&email_token=ALSVHGGN4KHFCSIS4MBDGTLRBBBPZA5CNFSM4JRAYFH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUQB6Q#issuecomment-581501178>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALSVHGC7INC44HKOWGSQGFTRBBBPZANCNFSM4JRAYFHQ>.
|
Sorry meant 2.4gHz
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: G S <[email protected]>
Sent: Monday, February 3, 2020 4:36:32 PM
To: Gruppio/Sonoff-Homekit <[email protected]>; Gruppio/Sonoff-Homekit <[email protected]>
Cc: Mention <[email protected]>
Subject: Re: [Gruppio/Sonoff-Homekit] Added an erase.sh script that will erase the Sonoff's flash (#6)
The only time I had same issue as you it’s when I did not erase it properly.
Also only times I struggle to connect is when I have 5ghz on WiFi.
So usually I would switch it to only 2ghz and then connect.
Not sure if I understand exactly what is the problem you have
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Rick <[email protected]>
Sent: Monday, February 3, 2020 4:34:04 PM
To: Gruppio/Sonoff-Homekit <[email protected]>
Cc: gsvan <[email protected]>; Mention <[email protected]>
Subject: Re: [Gruppio/Sonoff-Homekit] Added an erase.sh script that will erase the Sonoff's flash (#6)
@pablorierad<https://github.com/pablorierad> Right, that looks OK to me, I'm sorry but I don't have any clue on what could be wrong, I don't maintain this project :) FYI I switched to Tasmota myself and let HomeAssistant do the communication with Homekit, since it appears to be a lot 'lighter' for the Sonoffs to run and it's much better supported.
Cheers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#6?email_source=notifications&email_token=ALSVHGGN4KHFCSIS4MBDGTLRBBBPZA5CNFSM4JRAYFH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUQB6Q#issuecomment-581501178>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALSVHGC7INC44HKOWGSQGFTRBBBPZANCNFSM4JRAYFHQ>.
|
I found the solution. My problem was that I didn't connect to my router, the solution was to change the name of my network. Only with that it already works. |
This proved to be a necessary first step. FWIW I was successful in flashing a Sonoff S31 Lite. |
Big thanks @rickvdl !! - I'm 5 years late to the party, but this still works!! I had exactly the same issue after the first flash, i could enter my wifi password but the portal never closed! Erasing the flash and re-flashing did the trick 👌🏻 feels great to make these old gadgets useful again 🎉 @Gruppio needs to merge this PR! |
I encountered some issues while connecting the Sonoff to my WiFi using the captive portal. The captive portal would not close and the Sonoff would not connect to my WiFi. After reading this very helpful comment: #3 (comment) I managed to solve the issue by erasing the Sonoff's flash before flashing the firmware.
I have added a little helper script and updated the README on how to solve this issue should you encounter it.