New install not working on Sonoff Basic

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
dbemowsk
Normal user
Posts: 46
Joined: 06 Aug 2017, 22:27

New install not working on Sonoff Basic

#1 Post by dbemowsk » 30 Apr 2023, 22:46

So I used PlatformIO to compile and upload ESPEasy-mega-20230409. It compiles and uploads fine. When I plug in the Sonoff, it goes into AP mode as I can see the ESP Easy AP with my phone. I can also connect using the default password espconfig (or whatever that was). My phone shows that I am connected, but when I go to my web browser, the captive portal does not take me to the main configuration page. It says age not found. I checked my WIFI seetings on the phone and the ESP Easy AP has an IP address of 192.168.4.100 which tells me that things are working, but even when I type that IP address in the web browser it still won't go to the config page.

I tried doing some searching in the forum for captive portal and for that IP address, but wasn't finding the answer to my issue.

Any help is appreciated.

TD-er
Core team member
Posts: 8751
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New install not working on Sonoff Basic

#2 Post by TD-er » 30 Apr 2023, 23:31

Maybe you should try to enter the WiFi credentials via serial port console.

Code: Select all

wifissid,TheSSIDofYourWiFiNetwork
wifikey,TheWiFiPasswordOfYourNetwork
save
I suspect the power supply of your Sonoff Basic may be a bit too unstable to handle both AP mode and connect to WiFi.
The power supply of the Sonoff Basic is notoriously bad.

Please make sure you're using a build for 1MB flash.

dbemowsk
Normal user
Posts: 46
Joined: 06 Aug 2017, 22:27

Re: New install not working on Sonoff Basic

#3 Post by dbemowsk » 30 Apr 2023, 23:45

Thank you, I'll give that a try.

TD-er
Core team member
Posts: 8751
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New install not working on Sonoff Basic

#4 Post by TD-er » 30 Apr 2023, 23:49

Maybe you also need to reboot after calling 'save'
Or just try the command "wifidisconnect" as that will also trigger a restart of the WiFi radio without a reboot.

dbemowsk
Normal user
Posts: 46
Joined: 06 Aug 2017, 22:27

Re: New install not working on Sonoff Basic

#5 Post by dbemowsk » 01 May 2023, 00:16

OK, I feel so dumb right now. The 192.168.4.100 address was the IP address of my phone while connected to the AP. THe IP of the AP was 192.168.4.1. Once I put that in the browser, I got to the config page. :lol:

Post Reply

Who is online

Users browsing this forum: No registered users and 86 guests