New ESP gadget
Moderators: grovkillen, Stuntteam, TD-er
Re: New ESP gadget
Sonoff with DHT11
can read Temperature & Humidity
to control Sonoff Relay.
can read Temperature & Humidity
to control Sonoff Relay.
Re: New ESP gadget
Hi guys !
Thank you for your reply !
First of all there is my photo of the sonoff with 5 pins
But secondly : I can't fly my module with ESPEasy
- I use esptool
- I want to use this firmware : ESPEasy_R78_1024.bin
I got this error :
Connecting...
Erasing flash...
A fatal error occurred: Invalid head of packet
Any idea ?
Is there a way to put the module in firmware update mode ?
Regards
Thank you for your reply !
First of all there is my photo of the sonoff with 5 pins

But secondly : I can't fly my module with ESPEasy

- I use esptool
- I want to use this firmware : ESPEasy_R78_1024.bin
I got this error :
Connecting...
Erasing flash...
A fatal error occurred: Invalid head of packet
Any idea ?
Is there a way to put the module in firmware update mode ?
Regards
- Attachments
-
- 20160413_093142.jpg (107.67 KiB) Viewed 185602 times
Re: New ESP gadget
Hi,
I have done it this way. In advance i created a R99 Release file with my IDE and flashed it as described here:
https://www.domoticz.com/forum/viewtopi ... 670#p78420
Regards
Hubert
I have done it this way. In advance i created a R99 Release file with my IDE and flashed it as described here:
https://www.domoticz.com/forum/viewtopi ... 670#p78420
Regards
Hubert
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
I also have this 5pin sonoff device (arrived today) .SuperToma wrote:Hi guys !
Thank you for your reply !
First of all there is my photo of the sonoff with 5 pins![]()
But secondly : I can't fly my module with ESPEasy![]()
- I use esptool
- I want to use this firmware : ESPEasy_R78_1024.bin
I got this error :
Connecting...
Erasing flash...
A fatal error occurred: Invalid head of packet
Any idea ?
Is there a way to put the module in firmware update mode ?
Regards
Try to flash it using the flashtool (R78) , but can't get it working.
I als changed the FTDI adapter, but
Code: Select all
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
Press any key to continue . . .
What did i do wrong ?
also tried this way https://www.domoticz.com/forum/viewtopi ... 670#p78420
Last edited by the cosmic gate on 16 Apr 2016, 13:33, edited 1 time in total.
Re: New ESP gadget
Hi guys !
@Cosmic Gate :
- I exactly have the same problem as you with this 5 pins module,
I tried with the Windows command line tool and with Linux python too but have the same result on each OS.
@Morie :
- do you have this new 5 pins Sonoff module or 4 pins ?
- For watching the wifi network ESP0 do we need to plug the module on 220v or 5v works also ?
Regards.
@Cosmic Gate :
- I exactly have the same problem as you with this 5 pins module,
I tried with the Windows command line tool and with Linux python too but have the same result on each OS.
@Morie :
- do you have this new 5 pins Sonoff module or 4 pins ?
- For watching the wifi network ESP0 do we need to plug the module on 220v or 5v works also ?
Regards.
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
Works good with a decent 3.3 volt supply on the pins (not your interface 3.3 volt)SuperToma wrote: - For watching the wifi network ESP0 do we need to plug the module on 220v or 5v works also ?
Take care of yourself (and your interface and your computer) and NEVER work on the device with 220 volt.
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
Hope somebody can help usSuperToma wrote:Hi guys !
@Cosmic Gate :
- I exactly have the same problem as you with this 5 pins module,
I tried with the Windows command line tool and with Linux python too but have the same result on each OS.
.

Re: New ESP gadget
I only have experience with the 4_pin sonoff, but from the documentation i cannot see any difference in the schematics of the 4_pin or 5_pin Sonoff module, (except for that one extra pin), so the procedure to flash it should be the same I think.
Disconnect power
connect your FTDI USB/Serial interface which is set to 3.3 volt.
then while the power is still disconnected push the black button on the sonoff and while keeping it pressed connect the FTDI to the USB port so the Sonoff gets powered.
This shoul force the ESP/Sonoff into flashmode.
Now you can program it with the Arduino IDE or a flash program.
edit:
advisable settings in the arduino IDE:
Board: generic ESP8266 module
Flash Mode: QIO
Flash Frequency: 40MHz
Upload using: Serial
CPU frequency: 80MHz
Flash Size: 1M (64k SPIFFS)
Reset method: ck
Upload speed: 115200
Disconnect power
connect your FTDI USB/Serial interface which is set to 3.3 volt.
then while the power is still disconnected push the black button on the sonoff and while keeping it pressed connect the FTDI to the USB port so the Sonoff gets powered.
This shoul force the ESP/Sonoff into flashmode.
Now you can program it with the Arduino IDE or a flash program.
edit:
advisable settings in the arduino IDE:
Board: generic ESP8266 module
Flash Mode: QIO
Flash Frequency: 40MHz
Upload using: Serial
CPU frequency: 80MHz
Flash Size: 1M (64k SPIFFS)
Reset method: ck
Upload speed: 115200
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
Exactly did this several times, using the flash Tool / IDE , but without any resultcosto wrote:I only have experience with the 4_pin sonoff, but from the documentation i cannot see any difference in the schematics of the 4_pin or 5_pin Sonoff module, (except for that one extra pin), so the procedure to flash it should be the same I think.
Disconnect power
connect your FTDI USB/Serial interface which is set to 3.3 volt.
then while the power is still disconnected push the black button on the sonoff and while keeping it pressed connect the FTDI to the USB port so the Sonoff gets powered.
This shoul force the ESP/Sonoff into flashmode.
Now you can program it with the Arduino IDE or a flash program.
edit:
advisable settings in the arduino IDE:
Board: generic ESP8266 module
Flash Mode: QIO
Flash Frequency: 40MHz
Upload using: Serial
CPU frequency: 80MHz
Flash Size: 1M (64k SPIFFS)
Reset method: ck
Upload speed: 115200
Re: New ESP gadget
You must get some messages when flashing with the IDE. No result would mean your USB is faulty.the cosmic gate wrote:
Exactly did this several times, using the flash Tool / IDE , but without any result
Re: New ESP gadget
I ordered 2 of the new 5pin-Versions, flashed them both without any problems
I used a cheap 3.3V-Adapter, directly connected, incl. power supply
I connectected GND, RXD and TXD, then hold the button, plug 3.3V, release button
I used a cheap 3.3V-Adapter, directly connected, incl. power supply
I connectected GND, RXD and TXD, then hold the button, plug 3.3V, release button
Re: New ESP gadget
Hi,
I did the same, but after the next OTA update it makes my sonoff unusable.
It worked with R78 which i flashed with the flash tool and then with R99, but flashing R100 OTA makes it unusable.
Can't get it to work again.
My guess is because off this:
http://tech.scargill.net/even-more-sonoff/
Hubert
I did the same, but after the next OTA update it makes my sonoff unusable.
It worked with R78 which i flashed with the flash tool and then with R99, but flashing R100 OTA makes it unusable.
Can't get it to work again.
My guess is because off this:
http://tech.scargill.net/even-more-sonoff/
Hubert
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
Try this tonightcosto wrote:You must get some messages when flashing with the IDE. No result would mean your USB is faulty.the cosmic gate wrote:
Exactly did this several times, using the flash Tool / IDE , but without any result
Could somebody tell me what way the LED would flicker ?
Getting this differnt way's : fast flickering / normal flickering / stable red
Last edited by the cosmic gate on 19 Apr 2016, 16:52, edited 1 time in total.
-
- Normal user
- Posts: 25
- Joined: 19 Apr 2016, 11:12
Re: New ESP gadget
Hi everyone.
The work here is excellent and I've had a few of these devices for a while on their dedicated app. Can someone point me to the binaries of the latest 101 version so I can use the rules features. I've tried to build them myself but keep getting compile errors.
Thanks
The work here is excellent and I've had a few of these devices for a while on their dedicated app. Can someone point me to the binaries of the latest 101 version so I can use the rules features. I've tried to build them myself but keep getting compile errors.
Thanks
Re: New ESP gadget
I believe somewhere along the road of new updates the way ESPEasy writes and saves settings has changed.morle wrote:Hi,
I did the same, but after the next OTA update it makes my sonoff unusable.
It worked with R78 which i flashed with the flash tool and then with R99, but flashing R100 OTA makes it unusable.
Can't get it to work again.
My guess is because off this:
http://tech.scargill.net/even-more-sonoff/
Hubert
The easyest way to solve this sort of problems is to erase the old settings.
1 remove power
2 connect RX with TX
3 reconnect power and wait one minute so the old settings can be erased.
4 reset or disconnect/reconnect power
5 most likely you have to connect now to the AP at 192.168.4.1 where you must choose the wifi network to connect to and fill in the password.
6 connect to the ESP now via the network to the given IP, or check your router to see what IP is given to the ESP.
Re: New ESP gadget
There is no rule what color when flickers, depends how the manufacturer connects , if any, leds to the chip.the cosmic gate wrote: Could somebody tell me what way the LED would flicker ?
Getting this differnt way's : fast flickering / normal flickering / stable red
Usually during upload/flashing one led (often a blue one) is flickering very fast which means uploading is busy.
The Sonoff does not have a led that signals a status but the USB/Serial converter shows fast flickering for a while (20-30 seconds) when uploading takes place.
When uploading failes the same led will flicker but just for a short while (1 second or so)
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
here you go http://www.filedropper.com/espeasycppgenericAllycat1972 wrote:Hi everyone.
The work here is excellent and I've had a few of these devices for a while on their dedicated app. Can someone point me to the binaries of the latest 101 version so I can use the rules features. I've tried to build them myself but keep getting compile errors.
Thanks
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
finally got it working ! U used the shorting solution : http://tech.scargill.net/more-sonoff/costo wrote:There is no rule what color when flickers, depends how the manufacturer connects , if any, leds to the chip.the cosmic gate wrote: Could somebody tell me what way the LED would flicker ?
Getting this differnt way's : fast flickering / normal flickering / stable red
Usually during upload/flashing one led (often a blue one) is flickering very fast which means uploading is busy.
The Sonoff does not have a led that signals a status but the USB/Serial converter shows fast flickering for a while (20-30 seconds) when uploading takes place.
When uploading failes the same led will flicker but just for a short while (1 second or so)
is there anyone who can tell the GPIO for the LED on the sonoff ? (in the 103 software you can set the GPIO for WiFi , so would be nice when the LED on the sonoff can be used for it)
Re: New ESP gadget
Hi Cosmic Gate,the cosmic gate wrote: finally got it working ! U used the shorting solution : http://tech.scargill.net/more-sonoff/
Can you explain your method for flashing your 5 pins module.
You shorten the points with a cable and took it off before flashing ?
Which version of Esptool and ESPEasy have you used ?
Regards.
Re: New ESP gadget
If i remember right the Green led should be at gpio 13
but its been 2 weeks ago since.
https://plus.google.com/+RobinFrantzen/ ... RcqFiEY7Nj
but its been 2 weeks ago since.
https://plus.google.com/+RobinFrantzen/ ... RcqFiEY7Nj
-
- Normal user
- Posts: 25
- Joined: 19 Apr 2016, 11:12
Re: New ESP gadget
That's great thanks! Uploaded and working fine!!!!! Love the rules as I can operate locally now.the cosmic gate wrote:here you go http://www.filedropper.com/espeasycppgenericAllycat1972 wrote:Hi everyone.
The work here is excellent and I've had a few of these devices for a while on their dedicated app. Can someone point me to the binaries of the latest 101 version so I can use the rules features. I've tried to build them myself but keep getting compile errors.
Thanks
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
Okay got i runing with a DHT-22 on GPIO pin 14, what / how to get more GPIO's free ?
So i can use GPIO 3 for example
So i can use GPIO 3 for example
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
v105 : http://s000.tinyupload.com/?file_id=254 ... 7768552691Allycat1972 wrote:That's great thanks! Uploaded and working fine!!!!! Love the rules as I can operate locally now.the cosmic gate wrote:here you go http://www.filedropper.com/espeasycppgenericAllycat1972 wrote:Hi everyone.
The work here is excellent and I've had a few of these devices for a while on their dedicated app. Can someone point me to the binaries of the latest 101 version so I can use the rules features. I've tried to build them myself but keep getting compile errors.
Thanks

-
- Normal user
- Posts: 25
- Joined: 19 Apr 2016, 11:12
Re: New ESP gadget
Sweeeeet!the cosmic gate wrote:v105 : http://s000.tinyupload.com/?file_id=254 ... 7768552691Allycat1972 wrote:That's great thanks! Uploaded and working fine!!!!! Love the rules as I can operate locally now.the cosmic gate wrote:
here you go http://www.filedropper.com/espeasycppgeneric

-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
One other nice ESP gadget ; http://www.electrodragon.com/w/ESP_Rela ... and_Wiring
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
Nice, 2 relays and more pins easy available.the cosmic gate wrote:One other nice ESP gadget ; http://www.electrodragon.com/w/ESP_Rela ... and_Wiring
For about the same amount of money as the Sonoff
Re: New ESP gadget
bought these. but I flashed latest R105 to it, connected with FTDI 5V adapter to 5V pin and GND.. but in i2cscann it gives me errorsNietGiftig wrote:Nice, 2 relays and more pins easy available.the cosmic gate wrote:One other nice ESP gadget ; http://www.electrodragon.com/w/ESP_Rela ... and_Wiring
For about the same amount of money as the Sonoff

-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
grz3 wrote: bought these. but I flashed latest R105 to it, connected with FTDI 5V adapter to 5V pin and GND.. but in i2cscann it gives me errors.. any help?
There is a powersource on the board, I hope it is a decent one
After flashing remove the ftdi connection, and use the powersource on the board
The FTDI has not enough power to drive this board
But as always with 220v, If you are not sure what to do, do not work with it.
220 v can kill you
Re: New ESP gadget
Hello,
I flashed my brand new Sonoff TH with the Build 78
I added two devices:
Switch input sonoff 1 GPIO-12
Level Control LED GPIO-13
How can I add the Button to switch the device?
And I got reboots:
What means "WD : Uptime 8 ConnectFailures 30 FreeMem 26232" ?
Has anybody an hint for me?
Thomas
I flashed my brand new Sonoff TH with the Build 78
I added two devices:
Switch input sonoff 1 GPIO-12
Level Control LED GPIO-13
How can I add the Button to switch the device?
And I got reboots:
Code: Select all
Subscribed to: /Home/#
WD : Uptime 8 ConnectFailures 30 FreeMem 26232
MQTT : Connection lost
MQTT : Connected to broker
Subscribed to: /Home/#
Delayed Reset 60
Delayed Reset 59
...
Delayed Reset 2
Delayed Reset 1
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
▒U
INIT : Booting Build nr:78
Has anybody an hint for me?
Thomas
Re: New ESP gadget
Hello,NietGiftig wrote:grz3 wrote: bought these. but I flashed latest R105 to it, connected with FTDI 5V adapter to 5V pin and GND.. but in i2cscann it gives me errors.. any help?
There is a powersource on the board, I hope it is a decent one
After flashing remove the ftdi connection, and use the powersource on the board
The FTDI has not enough power to drive this board
But as always with 220v, If you are not sure what to do, do not work with it.
220 v can kill you
connected gadget to 220V, connected SI temp sensor on sda - pin 4, sdl pin5, 3v3 and gnd, and powered up. - still same problem on I2Cscann gives me errors:
Unknow error at address 0x1
Unknow error at address 0x2
Unknow error at address 0x3
.
.
.
Unknow error at address 0x7e
Unknow error at address 0x7f
strange, I disabled in advanced config in espeasy SErial port, and used PIN1 & 3 for I2c, and this is working... so there must be some problem with pins 4&5 on the board...
Re: New ESP gadget
Since the Sonoff is fairly small, Would you guys think it would be possible to stick it inside the case of those 433Mhz sockets, with their internals removed and replaced by the Sonoff. Maybe I would also unsolder the button from the Sonoff and fit it on the outside of the Socket's case so I could also have local on off control over the socket not just wifi control via the mobile phone.
Re: New ESP gadget
it's been done alreadymsev wrote:Since the Sonoff is fairly small, Would you guys think it would be possible to stick it inside the case of those 433Mhz sockets, with their internals removed and replaced by the Sonoff. Maybe I would also unsolder the button from the Sonoff and fit it on the outside of the Socket's case so I could also have local on off control over the socket not just wifi control via the mobile phone.

Check here:
http://tech.scargill.net/sonoff-to-mains-block/
Ciao, Luca
Re: New ESP gadget
I can see that this little gadget generates a lot of interest and creativity.
But what if I want to go back to basics? I want to use this device as a built-in on/off switch, controllable from Domoticz/RFLink.
Nothing else needs to be attached.
What do I need to do?
Guessing:
1. solder a 4-pin header onto the print
2. flash EasyESP
then?
But what if I want to go back to basics? I want to use this device as a built-in on/off switch, controllable from Domoticz/RFLink.
Nothing else needs to be attached.
What do I need to do?
Guessing:
1. solder a 4-pin header onto the print
2. flash EasyESP
then?
Re: New ESP gadget
OK, I got through step 1 (soldered a 4-pin male header). And found out that the inner pin is vcc, outer pin is gnd.
The two pins in between must be TXD/RXD, not sure which is which.
I connected these four to a serial adapter to USB, but the unit comes up in Windows device manager with a warning triangle: device cannot start (code 10).
Also shows "A device which does not exist was specified" /
Tried to swap the TXD/RXD leads, no change.
What am I doing wrong?
The two pins in between must be TXD/RXD, not sure which is which.
I connected these four to a serial adapter to USB, but the unit comes up in Windows device manager with a warning triangle: device cannot start (code 10).
Also shows "A device which does not exist was specified" /
Tried to swap the TXD/RXD leads, no change.
What am I doing wrong?
Re: New ESP gadget
If you own the sonoff without the 433MHz board then you must push the button before you connect it to the USB port , then you will enter the flash mode.manjh wrote:OK, I got through step 1 (soldered a 4-pin male header). And found out that the inner pin is vcc, outer pin is gnd.
The two pins in between must be TXD/RXD, not sure which is which.
I connected these four to a serial adapter to USB, but the unit comes up in Windows device manager with a warning triangle: device cannot start (code 10).
Also shows "A device which does not exist was specified" /
Tried to swap the TXD/RXD leads, no change.
What am I doing wrong?
About your USB/Serial adapter not recognized by Windows:
You must first install the proper driver, depending on the USB/Serial chip that is on the adapter. The CP2102 will probably be recognized but if the CH340/341 chip is on the adapter you must use the install program for that chip. Windows/virusscanner will probably complain that the driver/program is not safe etc.... , you must ignore that. If you do not trust the driver you find on internet you can upload it first to a site that will scan the exe/zip file, a site like https://virusscan.jotti.org/
Re: New ESP gadget
OK, got it. As it turns out my usb/serial device contains a "fake" PL2303, which is detected and refused by the latest drivers.
Solution is to install an old version of the driver.
After I did that, flashing EasyESP into the device was very simple.
Installation into Domoticz was not as I expected: I was looking for a "relay" device in EasyESP, but no such thing is there.
I got it working by creating a dummy device in Domoticz, and send the on/off commands directly to the IP address of the device as "On/Off actions".
It works, but..... am I missing something? Is this the only way to control attached relays?
Anyway, I am quite happy with this Sonoff device. I consider it a cheap alternative to the KlikAanKlikUit switches, especially for lights that will allow this small box to be built in to the housing.
Now looking for a cheap source to order a few more.
Solution is to install an old version of the driver.
After I did that, flashing EasyESP into the device was very simple.
Installation into Domoticz was not as I expected: I was looking for a "relay" device in EasyESP, but no such thing is there.
I got it working by creating a dummy device in Domoticz, and send the on/off commands directly to the IP address of the device as "On/Off actions".
It works, but..... am I missing something? Is this the only way to control attached relays?
Anyway, I am quite happy with this Sonoff device. I consider it a cheap alternative to the KlikAanKlikUit switches, especially for lights that will allow this small box to be built in to the housing.
Now looking for a cheap source to order a few more.
Re: New ESP gadget
In principle ESPEasy is a system that collects data from sensors, sensors that have a dedicated plugin made for the device, and sends the collected data to a server like Domoticz.manjh wrote: Installation into Domoticz was not as I expected: I was looking for a "relay" device in EasyESP, but no such thing is there.
I got it working by creating a dummy device in Domoticz, and send the on/off commands directly to the IP address of the device as "On/Off actions".
It works, but..... am I missing something? Is this the only way to control attached relays?
You can manipulate outputs on the ESP by sending something like: <LOCAL-IP>/control?cmd=xxxxxxx .
For explanation of the commands see http://www.esp8266.nu/index.php/Main_Page under actuators/outputs.
With that you can control relais/led/servo. That's the way this works.
I control my sonoff in Domoticz as a dummy virtual sensor with these settings:

In ESPEasy I made a task:
Device: Switch Input
Name: Pushbutton
idx/Var: 421
1st GPIO: GPIO-0
Pull-Up : yes
Switch type: Switch
Switch Button Type: Push Button Active Low
Send Boot State: yes
Send Date: yes
Like you say, it works as a cheap and reliable alternative for 433MHz switches andyou can do more with this if you want.
Anyway, I am quite happy with this Sonoff device. I consider it a cheap alternative to the KlikAanKlikUit switches, especially for lights that will allow this small box to be built in to the housing.
Now looking for a cheap source to order a few more.
The best source for Sonoff is http://www.Itead.cc , If you order 4 or 5 items you will have reasonable shippingcost and certainly no import duties as long as the orderamount is under ca. 25 euro/dollar
Re: New ESP gadget
OK. I found a source for $7, including shipping. So unless I want to order 5 units this is cheaper.
In Domoticz I was able to control the LED, and pick up on the pushbutton. So far so good.
Now for the next step: can I control the relay and the LED from the same device?
This would need me to put two commands in the on/off action field. How?
In Domoticz I was able to control the LED, and pick up on the pushbutton. So far so good.
Now for the next step: can I control the relay and the LED from the same device?
This would need me to put two commands in the on/off action field. How?
-
- Normal user
- Posts: 25
- Joined: 19 Apr 2016, 11:12
Re: New ESP gadget
Not sure about Domoticz but you would normally use a rule to take action when the button is pushed. So: -manjh wrote:OK. I found a source for $7, including shipping. So unless I want to order 5 units this is cheaper.
In Domoticz I was able to control the LED, and pick up on the pushbutton. So far so good.
Now for the next step: can I control the relay and the LED from the same device?
This would need me to put two commands in the on/off action field. How?
Domoticz item might just be the push button input. But there would be a rule to state 'when push button is pressed, switch the light on & switch the relay on'
Or EPSEasy v99 and above has it's own rules section which can do the same operation locally on the sonoff. (see page 9 of this post for examples)
Re: New ESP gadget
I used V78, so no rules in EasyESP I think.
For now I solved it in Domoticz, almost 100% correct (small problem synchronizing the state of the pushbutton between device and Domoticz)
For now I solved it in Domoticz, almost 100% correct (small problem synchronizing the state of the pushbutton between device and Domoticz)
Re: New ESP gadget
The Sonoff is a pretty nice little device, so far I have flashed mine with my own code from the Arduino IDE, and added a DHT22 sensor to it too. 

http://captain-slow.dk/2016/05/24/addin ... he-sonoff/


http://captain-slow.dk/2016/05/24/addin ... he-sonoff/
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
For the interesed people, the newest (107) compiled Bin file : http://s000.tinyupload.com/?file_id=044 ... 7797739379
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
I'm not sure if it works this way for everybody.the cosmic gate wrote:For the interesed people, the newest (107) compiled Bin file : http://s000.tinyupload.com/?file_id=044 ... 7797739379
For what ESP is the binfile compiled , what kind of memory.
What memory split?
Re: New ESP gadget
NietGiftig wrote:I'm not sure if it works this way for everybody.the cosmic gate wrote:For the interesed people, the newest (107) compiled Bin file : http://s000.tinyupload.com/?file_id=044 ... 7797739379
For what ESP is the binfile compiled , what kind of memory.
What memory split?
This is working good on NodeMCU
-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
I flashes this on the sonoff (we are talking about in this topic)NietGiftig wrote:I'm not sure if it works this way for everybody.the cosmic gate wrote:For the interesed people, the newest (107) compiled Bin file : http://s000.tinyupload.com/?file_id=044 ... 7797739379
For what ESP is the binfile compiled , what kind of memory.
What memory split?
-
- Normal user
- Posts: 103
- Joined: 16 Sep 2015, 20:32
Re: New ESP gadget
Ah, oke.the cosmic gate wrote: I flashes this on the sonoff (we are talking about in this topic)
Stupid me

-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
Is there a way to setup something like master slave on espeasy ?
I am going to connect some extra esp12e using the 3v power pins to get more GPIO's and connect a display
Got some nice idea's for the salt water aquarium . Want to measure the temp , control some lights , use water level sensors , use a water pump (ATO) etc on one sonoff
I am going to connect some extra esp12e using the 3v power pins to get more GPIO's and connect a display
Got some nice idea's for the salt water aquarium . Want to measure the temp , control some lights , use water level sensors , use a water pump (ATO) etc on one sonoff

-
- Normal user
- Posts: 103
- Joined: 14 Nov 2015, 20:17
Re: New ESP gadget
I read about the pro mini extender option, that would probably help me .the cosmic gate wrote:Is there a way to setup something like master slave on espeasy ?
I am going to connect some extra esp12e using the 3v power pins to get more GPIO's and connect a display
Got some nice idea's for the salt water aquarium . Want to measure the temp , control some lights , use water level sensors , use a water pump (ATO) etc on one sonoff
Is it possible with this option to drive a oled touch display/screen ?
Re: New ESP gadget
Just received the second Sonoff. This one has 5 holes for the serial header, not 4.
Modification and flashing was easy. But when I measured the V on the output, I noticed that even when the relay is switched off, there is still some 14 or 15V remaining.
Is this a problem, or should I ignore?
Modification and flashing was easy. But when I measured the V on the output, I noticed that even when the relay is switched off, there is still some 14 or 15V remaining.
Is this a problem, or should I ignore?
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
Hi guys.
thanks for this thread, as it has been a great source of information.
I have one question though. Just received my new Sonoff and it is the 5 pin one.
Can anyone share the pinout for flashing? I have mu FTDI programmer set to 3.3V and presume that the square pin is 3.3V as in the 4 pin ver.
If anyone can point me in the right direction it would be greatly appreciated. Thanks in advance! Peter Scargill's blog has the 4 pin one only too...
Also, has anyone flashed ESP Easy onto the Slampher yet?
thanks for this thread, as it has been a great source of information.
I have one question though. Just received my new Sonoff and it is the 5 pin one.
Can anyone share the pinout for flashing? I have mu FTDI programmer set to 3.3V and presume that the square pin is 3.3V as in the 4 pin ver.
If anyone can point me in the right direction it would be greatly appreciated. Thanks in advance! Peter Scargill's blog has the 4 pin one only too...
Also, has anyone flashed ESP Easy onto the Slampher yet?
Who is online
Users browsing this forum: No registered users and 13 guests