Sonoff Basic - AP not apearing on first boot with pre-built BIN
Moderators: grovkillen, Stuntteam, TD-er
Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN
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.
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
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"
"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
Has anyone figured out which gpio controls the led ?
- 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
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN
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 (58 KiB) Viewed 20804 times
Some Raspeberry Pi's, Arduinos, Esp8266, solar panels 1500w, 2 lakes,6 ha fields, German shepherd and more
Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN
i also bought a SONOFF basic , but i cannot flash i with this tool
![Image]()
what am i doing wrong ???
what am i doing wrong ???
- Attachments
-
- error programmer.jpg (332.68 KiB) Viewed 20775 times
Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN
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
Re: Sonoff Basic - AP not apearing on first boot with pre-built BIN
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
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
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!
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!

Who is online
Users browsing this forum: Ahrefs [Bot] and 20 guests