Sonoff Basic - AP not apearing on first boot with pre-built BIN

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#41 Post by Shardan » 31 Oct 2017, 14:29

- Disconnect the S20
- shorten Tx--Rx with a jumper cable
- power on and wait some seconds
- power off, remove jumper.

This erases the chip memory.

Regards
Shardan
Regards
Shardan

sups
Normal user
Posts: 13
Joined: 17 Oct 2017, 14:54

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#42 Post by sups » 31 Oct 2017, 15:03

Thanks Shardan
I'll give this a go when I get home. Incidentally...Do you have any idea what kind of response I should get from the on board LEDs when doing this?

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#43 Post by Shardan » 31 Oct 2017, 15:29

Honestly i don't know.
My S20's are still on the way from china :)
Hopefully the customs won't reject them.
Regards
Shardan

sups
Normal user
Posts: 13
Joined: 17 Oct 2017, 14:54

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#44 Post by sups » 02 Nov 2017, 15:53

Just an update.
Shorting tx/Rx didn't work for me.. I had to use the espTool from
Espressif. There is an option to clear the chip which worked. I then used Arduino IDE to load EspEasy on again.
Phew!

Oh and my unit also came from China... Took about 3weeks to deliver to my home in the UK.

mrwee
Normal user
Posts: 225
Joined: 31 Aug 2016, 12:52

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#45 Post by mrwee » 02 Nov 2017, 20:40

Just flashed a new Sonoff S20 (V1.3) with the Arduino IDE and ESPEasy v2.0.0-dev12 and flashmout 'DOUT'. Flashed and ran in first 'go'.

I do still get "Error while reading/writing config.dat in 926" with this new device :(

sups
Normal user
Posts: 13
Joined: 17 Oct 2017, 14:54

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#46 Post by sups » 02 Nov 2017, 21:25

Is there much of a difference between R120 and 147?.....

mrwee
Normal user
Posts: 225
Joined: 31 Aug 2016, 12:52

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#47 Post by mrwee » 02 Nov 2017, 21:47

sups wrote: 02 Nov 2017, 21:25 Is there much of a difference between R120 and 147?.....
I did not try R147 on this new S20, but v2.0.0-dev11 did not fail on my previous test-S20.

jackwan1
Normal user
Posts: 21
Joined: 11 Apr 2017, 05:42

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#48 Post by jackwan1 » 20 Jan 2018, 05:30

@alphons

I received the NEW sonoff basic from itead today.

I followed your instruction to flash the Espeasy normal v2.0 with the flashing tools from Espressif per your instruction.

I was successful and reboot the sonoff and on the Wifi ssid, I see ESP_Easy_0, but I cannot logon because it requires an 8 digit password.

Please advise the password.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#49 Post by grovkillen » 20 Jan 2018, 06:11

ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

jackwan1
Normal user
Posts: 21
Joined: 11 Apr 2017, 05:42

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#50 Post by jackwan1 » 20 Jan 2018, 20:34

Thanks all,

I was able to log onto the sonoff and change ip address of my desire and proceed to configure this for domoticz.

When I reach the "HARDWARE" section, as usual, since I had many sonoff, I change the wifi status led to GPIO 13(D7), as soon as I did that, the led on sonoff goes on and I was disconnected from the router and no longer able to log on. What gives?

jackwan1
Normal user
Posts: 21
Joined: 11 Apr 2017, 05:42

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#51 Post by jackwan1 » 20 Jan 2018, 23:25

OK OK,

Here is what I found, the GPIO13 on the sonoff is no longer and I do not know what it is. I configured the device without Hardware wifi led set as GPIO13 and it works. However, I can no longer turn on/off the switch with the black push button on the switch. I have to rely on software to control the sonoff.

Until I can find, this will do for now.

jackwan1
Normal user
Posts: 21
Joined: 11 Apr 2017, 05:42

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#52 Post by jackwan1 » 21 Jan 2018, 01:53

Here is my rules for Domoticz, I guess gpio 13 in the rule did nothing.

"on lamp_on do
gpio,12,1
gpio,13,0
endon

on lamp_off do
gpio,12,0
gpio,13,1
endon

on SW_1#Switch do
if [SW_1#Switch]=1
gpio,12,1
gpio,13,0
else
gpio,12,0
gpio,13,1
endif
endon"

jackwan1
Normal user
Posts: 21
Joined: 11 Apr 2017, 05:42

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#53 Post by jackwan1 » 24 Jan 2018, 16:32

Has anyone figured out which gpio controls the led ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#54 Post by grovkillen » 24 Jan 2018, 17:25

jackwan1 wrote: 24 Jan 2018, 16:32 Has anyone figured out which gpio controls the led ?
https://www.letscontrolit.com/wiki/inde ... P_Hardware
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
insippo
Normal user
Posts: 36
Joined: 28 Sep 2016, 09:01
Location: Estonia, Pärnu
Contact:

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#55 Post by insippo » 25 Jan 2018, 20:27

I bought month ago Sonoff wifi switches. I do not flash these first time but with these ...i do not know what. Esp chip is 8266. Flashing goes norm but after reboot i do not see ESP_0 wifi. I use Os X and esptool. What and how i need ? I try ESPEasy_v2.0.0-dev11_normal_1024.bin and after this R120 512 and 1024. Not works.
Attachments
Screen Shot 2018-01-25 at 21.21.34.png
Screen Shot 2018-01-25 at 21.21.34.png (58 KiB) Viewed 17659 times
Some Raspeberry Pi's, Arduinos, Esp8266, solar panels 1500w, 2 lakes,6 ha fields, German shepherd and more

Dos
New user
Posts: 8
Joined: 26 Jan 2018, 21:33

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#56 Post by Dos » 26 Jan 2018, 21:39

i also bought a SONOFF basic , but i cannot flash i with this tool

Image

what am i doing wrong ???
Attachments
error programmer.jpg
error programmer.jpg (332.68 KiB) Viewed 17630 times

User avatar
insippo
Normal user
Posts: 36
Joined: 28 Sep 2016, 09:01
Location: Estonia, Pärnu
Contact:

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#57 Post by insippo » 26 Jan 2018, 22:02

I do not know it is working but i flash it with image for 8285. Working. I use os x and esptool. I do not have no one comp with windows.
Some Raspeberry Pi's, Arduinos, Esp8266, solar panels 1500w, 2 lakes,6 ha fields, German shepherd and more

mkriek
New user
Posts: 1
Joined: 01 Mar 2018, 03:39

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#58 Post by mkriek » 01 Mar 2018, 03:44

Just got a few of these Sonoff basics, boards say Dec/2017 is that helps anyone, and they are all ESP8266, I had heard they switched to another chip but I got out my magnifier to confirm. Grabbed the latest ESPEasy_v2.0-20180228.zip and used the DOUT normal bin, all flashed and create the ESP wifi network on boot.

esptool.exe -vv -cd nodemcu -cb 115200 -cp COM5 -ca 0x00000 -cf ESP_Easy_v2.0-20180228_normal_ESP8266_1024_DOUT.bin

I was a little concerned with all the mixed results I'd read but no issues here :)

Oxyandy
Normal user
Posts: 95
Joined: 09 Mar 2018, 08:45

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#59 Post by Oxyandy » 29 Mar 2018, 10:22

mkriek wrote: 01 Mar 2018, 03:44 boards say Dec/2017
Does it say R2.0 on them ?

Thanks

PAJ
New user
Posts: 1
Joined: 31 May 2018, 19:01

Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN

#60 Post by PAJ » 31 May 2018, 19:10

I first bought a Sonoff TH16 last year (2017) and was able to flash it with the ESP120 build and use it without any problems, I am using it as a temperature sensor.

I bought another two TH16's recently (May 2018) and was unable to flash them until I read this thread. The new TH16s have v2.1 on the circuit board - after using the correct flash tool I was able to flash them with the latest ESP git build, they boot and connect to WiFi OK however I cannot get the temperature sensor to work. I even downgraded the 2018 TH16's to the 120 build and set them up exactly the same as the 2017 unit but the temperature sensor device (set as a Temperature - DS18b20) does not work on the 2018 models. I am using the Sonoff sensor cable and GPIO14 but I do not get any ROM port/device numbers showing and cannot get any temp reading.

Am I doing something wrong? Or is the newer model TH16 temperature sensor not compatible with the ESP firmware anymore?

UPDATE

For anyone stumbling across this post - the problem was that the case on the new TH16's was preventing the DS18b20 sensor from connecting properly, it needs to click home and the casing hole was preventing that. I increased the size of the casing hole so that the sensor connected properly and everything worked as expected! 8-)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 27 guests