Page 2 of 2

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

Posted: 20 Jan 2018, 23:25
by jackwan1
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.

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

Posted: 21 Jan 2018, 01:53
by jackwan1
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"

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

Posted: 24 Jan 2018, 16:32
by jackwan1
Has anyone figured out which gpio controls the led ?

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

Posted: 24 Jan 2018, 17:25
by grovkillen
jackwan1 wrote: 24 Jan 2018, 16:32 Has anyone figured out which gpio controls the led ?
https://www.letscontrolit.com/wiki/inde ... P_Hardware

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

Posted: 25 Jan 2018, 20:27
by insippo
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.

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

Posted: 26 Jan 2018, 21:39
by Dos
i also bought a SONOFF basic , but i cannot flash i with this tool

Image

what am i doing wrong ???

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

Posted: 26 Jan 2018, 22:02
by insippo
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.

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

Posted: 01 Mar 2018, 03:44
by mkriek
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 :)

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

Posted: 29 Mar 2018, 10:22
by Oxyandy
mkriek wrote: 01 Mar 2018, 03:44 boards say Dec/2017
Does it say R2.0 on them ?

Thanks

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

Posted: 31 May 2018, 19:10
by PAJ
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-)