New ESP gadget
Moderators: grovkillen, Stuntteam, TD-er
Re: New ESP gadget
@ Monkey Town
See the schematic here: http://wiki.iteadstudio.com/images/6/6b ... hmatic.pdf
the 5-pin header is in the right top of the schematic:
1 - Vcc 3.3V
2 - TX
3 - RX
4 - Gnd
5 - SCL = pin9 of ESP8266 which is GPIO14
So the first 4 are the same as on the 4-pin Sonoff , there is just an extra GPIO added
and yes I assume the square is pin 1 which is 3.3V. ( I do not own a sonoff like this)
Just measure with a voltmeter between pin 1 and pin 4 for 3.3V when AC is connected ( carefull !)
See the schematic here: http://wiki.iteadstudio.com/images/6/6b ... hmatic.pdf
the 5-pin header is in the right top of the schematic:
1 - Vcc 3.3V
2 - TX
3 - RX
4 - Gnd
5 - SCL = pin9 of ESP8266 which is GPIO14
So the first 4 are the same as on the 4-pin Sonoff , there is just an extra GPIO added
and yes I assume the square is pin 1 which is 3.3V. ( I do not own a sonoff like this)
Just measure with a voltmeter between pin 1 and pin 4 for 3.3V when AC is connected ( carefull !)
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
THANK YOU VERY MUCH KIND SIR! This is much more than I even hoped for. Much appreciated! It all makes perfect sense now.costo wrote:@ Monkey Town
See the schematic here: http://wiki.iteadstudio.com/images/6/6b ... hmatic.pdf
the 5-pin header is in the right top of the schematic:
1 - Vcc 3.3V
2 - TX
....
..edit
Just finished the first flash successfully. Used the flashtool, held black button down, plugged in, flashed. Just heard the sweet sound of the relay clicking as domoticz turned it on

..edit2
just flashed my Slampher too!! Awesome!!!! Thanks to Peter Scargill's blog and an invaluable tip from Alberto Avina I managed to put it in flash mode and flashed it. I'm about to order 10 more slamphers and sonoffs! LOVING THIS!

Re: New ESP gadget
Hi!
I use Sonoff with ESPEasy firmware.
What i can make for change relay state with button from Sonoff without external controller(Domotics and other ...)?
I use Sonoff with ESPEasy firmware.
What i can make for change relay state with button from Sonoff without external controller(Domotics and other ...)?
Re: New ESP gadget
Hello, you can use this...
define new device type switch... (i got old sonoff with 4pins) and soldered external switch on/off to small switch onboard (it is just push),.. then in rules define following... EDIT: and forgot to write, you can UNTICK "SEND DATA" coz you are not using domoticz... for IDX use any value except 0.
define new device type switch... (i got old sonoff with 4pins) and soldered external switch on/off to small switch onboard (it is just push),.. then in rules define following... EDIT: and forgot to write, you can UNTICK "SEND DATA" coz you are not using domoticz... for IDX use any value except 0.
chanov wrote:Hi!
I use Sonoff with ESPEasy firmware.
What i can make for change relay state with button from Sonoff without external controller(Domotics and other ...)?
Last edited by grz3 on 01 Jul 2016, 14:21, edited 1 time in total.
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
This is awesome! thanks for introducing me to rules! Opens up a world of possibilities and super tweaks.grz3 wrote:Hello, you can use this...
define new device type switch... (i got old sonoff with 4pins) and soldered external switch on/off to small switch onboard (it is just push),..
1.jpg
then in rules define following...
2.jpg
chanov wrote:Hi!
I use Sonoff with ESPEasy firmware.
What i can make for change relay state with button from Sonoff without external controller(Domotics and other ...)?
Re: New ESP gadget
There is a new Itead device based on Esp8266.
https://www.itead.cc/smart-socket-eu.html
Hopefully we can update with Esp Easy.
https://www.itead.cc/smart-socket-eu.html
Hopefully we can update with Esp Easy.
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
Have one on the way for about a week now. When it gets here I'll report back with some pics.pacitzu wrote:There is a new Itead device based on Esp8266.
https://www.itead.cc/smart-socket-eu.html
Hopefully we can update with Esp Easy.
-
- Normal user
- Posts: 25
- Joined: 19 Apr 2016, 11:12
Re: New ESP gadget
Look forward to the breakdown! Have they said when they will produce a UK version?MonkeyTown wrote:Have one on the way for about a week now. When it gets here I'll report back with some pics.pacitzu wrote:There is a new Itead device based on Esp8266.
https://www.itead.cc/smart-socket-eu.html
Hopefully we can update with Esp Easy.
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
Have no idea unfortunately, I can try to contact them, but I have no affiliation, so my luck in getting a reply as good as anyone's. But as I actually need an UK ver. myself I'll give it a go and post back.Allycat1972 wrote:Look forward to the breakdown! Have they said when they will produce a UK version?MonkeyTown wrote:Have one on the way for about a week now. When it gets here I'll report back with some pics.pacitzu wrote:There is a new Itead device based on Esp8266.
https://www.itead.cc/smart-socket-eu.html
Hopefully we can update with Esp Easy.
Re: New ESP gadget
You can, and it is even easier than it was with the in-line sonoffpacitzu wrote:There is a new Itead device based on Esp8266.
https://www.itead.cc/smart-socket-eu.html
Hopefully we can update with Esp Easy.

-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
This is awesome. Thanks for the link! Now I can't wait!Mikey wrote:You can, and it is even easier than it was with the in-line sonoffpacitzu wrote:There is a new Itead device based on Esp8266.
https://www.itead.cc/smart-socket-eu.html
Hopefully we can update with Esp Easy.I got some info and pictures of the inside here http://captain-slow.dk/2016/07/08/itead ... pressions/

-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
Just got a reply from ITEAD's Jason Zhang:MonkeyTown wrote:Have no idea unfortunately, I can try to contact them, but I have no affiliation, so my luck in getting a reply as good as anyone's. But as I actually need an UK ver. myself I'll give it a go and post back.Allycat1972 wrote:Look forward to the breakdown! Have they said when they will produce a UK version?MonkeyTown wrote: Have one on the way for about a week now. When it gets here I'll report back with some pics.
...
Yes , our smart socket would have 3 version , EU ,US ,UK .
But now we only got EU samples available , US and UK version will coming soon . Maybe in 1 month
...
So there. Very happy to see that ITEAD cares to answer customer queries swiftly. This is awesome, UK version, in that price range, flashable with ESPEasy! FTW!!! ITEAD rulez!
-
- Normal user
- Posts: 25
- Joined: 19 Apr 2016, 11:12
Re: New ESP gadget
Great news! Thanks for enquiring. I have about 10 of the Sonoff's around the house with ESPEasy on and they are great. Would replace a few of them with this device to tidy up cables, etc.MonkeyTown wrote:Just got a reply from ITEAD's Jason Zhang:MonkeyTown wrote:Have no idea unfortunately, I can try to contact them, but I have no affiliation, so my luck in getting a reply as good as anyone's. But as I actually need an UK ver. myself I'll give it a go and post back.Allycat1972 wrote: Look forward to the breakdown! Have they said when they will produce a UK version?
...
Yes , our smart socket would have 3 version , EU ,US ,UK .
But now we only got EU samples available , US and UK version will coming soon . Maybe in 1 month
...
So there. Very happy to see that ITEAD cares to answer customer queries swiftly. This is awesome, UK version, in that price range, flashable with ESPEasy! FTW!!! ITEAD rulez!
Re: New ESP gadget
Help...
I have multiple 5 pins Sonoff ESP..
I used 3 different USB ttl..
No succes with the flash tool.
I try R78 and R108..
Where do i go wrong?
I can flash a nuc..
Only this Sonoff is a little different.
I think i go wrong with the pins..
I try to change them.. no succes
Some one have a good working picture with the good 5 pins..?
What is the version that i need. 512/1024 or 4096

I have multiple 5 pins Sonoff ESP..
I used 3 different USB ttl..
No succes with the flash tool.
I try R78 and R108..
Where do i go wrong?
I can flash a nuc..
Only this Sonoff is a little different.
I think i go wrong with the pins..
I try to change them.. no succes
Some one have a good working picture with the good 5 pins..?
What is the version that i need. 512/1024 or 4096
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
Check out post by costo few posts back. It is perfectly clear from his explanation.Dylantje wrote:Help...
I have multiple 5 pins Sonoff ESP..
I used 3 different USB ttl..
No succes with the flash tool.
I try R78 and R108..
Where do i go wrong?
I can flash a nuc..
Only this Sonoff is a little different.
I think i go wrong with the pins..
I try to change them.. no succes
Some one have a good working picture with the good 5 pins..?
What is the version that i need. 512/1024 or 4096
The pin with the square (first/left) is 3.3, then TX, RX, GND. You can ignore the fifth PIN for flashing. Make sure you got the right drivers for your USB2TTL, set everything up, push & hold the black button on your sonoff and THEN plug the whole thing into your USB. Done this successfully with 3 Sonoffs now using the Arduino IDE AND the flashtool.cmd.
report back

Re: New ESP gadget
I understand the pins..The pin with the square (first/left) is 3.3, then TX, RX, GND. You can ignore the fifth PIN for flashing. Make sure you got the right drivers for your USB2TTL, set everything up, push & hold the black button on your sonoff and THEN plug the whole thing into your USB.
I need RX en TX wire crossed?
I need to use the 1024?
And push the black when i connect the USB. When do i stop pushing?
Stil get:
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
You can try to swapping TX and RX. There should be no risk of damaging the device as long as you don't swap 3.3...Dylantje wrote:I understand the pins..The pin with the square (first/left) is 3.3, then TX, RX, GND. You can ignore the fifth PIN for flashing. Make sure you got the right drivers for your USB2TTL, set everything up, push & hold the black button on your sonoff and THEN plug the whole thing into your USB.
I need RX en TX wire crossed?
I need to use the 1024?
And push the black when i connect the USB. When do i stop pushing?
Stil get:
ScreenShot112.jpg
Yes, you go with 1024. If you're compiling your own bin file, I went with 128k SPIFFS and 64 with some of my itead devices (and successfully performed OTA afterwards on all devices)
Hold the black button just a few sec after you plug in the whole thing. ESP should see GPIO pulled to the ground and will start in flash mode (should stay until power cycle) so no need to hold continuously.
When I flash mine the only thing that gave me trouble was to mas sure to hold the button and then plug the whole rig in my PC's USB. And on the first go I had to swap TX and RX, but it was mostly coz they were plugged in incorrectly in the first place

Try reinstalling the driver on your FTDI. I did that just to make sure. I think it's the Sililabs driver for 1232...depending on your FTDI chip. http://www.ftdichip.com/FTDrivers.htm
good luck!
Re: New ESP gadget
I am Happy...
Thanks all...
Flashed 2 sonoff with 5 pins...
The hardest part is let go the black button on the good moment...
Espeasy runs on 2 of my Sonoff!!!
Works great.. And got a pir on the ESP working to..
THANKS!!!!
Edit:
Somebody have this options working In Domoticz? The Wifi en RSSI?
What sensors do i have to make?
Thanks all...
Flashed 2 sonoff with 5 pins...
The hardest part is let go the black button on the good moment...
Espeasy runs on 2 of my Sonoff!!!
Works great.. And got a pir on the ESP working to..

THANKS!!!!
Edit:
Somebody have this options working In Domoticz? The Wifi en RSSI?
What sensors do i have to make?
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
Great news! Perseverance conquers allDylantje wrote:I am Happy...
Thanks all...
Flashed 2 sonoff with 5 pins...
The hardest part is let go the black button on the good moment...
Espeasy runs on 2 of my Sonoff!!!
Works great..
ScreenShot114.jpg
And got a pir on the ESP working to..
THANKS!!!!
Edit:
Somebody have this options working In Domoticz?
ScreenShot116.jpg
The Wifi en RSSI?
What sensors do i have to make?

As far as WIFI RSS goes, can't help u much but you're better off asking in a different thread. This is really a bit off topic...meaning less people will see your question in this one...
Re: New ESP gadget
mmm
Perhaps someone have a solution for this problem??? There was the whole day nobody @ home...
Perhaps someone have a solution for this problem??? There was the whole day nobody @ home...
-
- Normal user
- Posts: 320
- Joined: 15 Apr 2015, 14:17
Re: New ESP gadget
Nop,
Got the same problem with pir's.
Tried everything but it appears to be some interreference with wifi -> pir.
Got some radar sensors ordered, they appear to be more precise and pretty cheap also.
http://www.aliexpress.com/snapshot/7875 ... 5634343078
Got the same problem with pir's.
Tried everything but it appears to be some interreference with wifi -> pir.
Got some radar sensors ordered, they appear to be more precise and pretty cheap also.
http://www.aliexpress.com/snapshot/7875 ... 5634343078
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
What PIN is it connected to on the Sonoff? (did you de-solder the button?)Dylantje wrote:mmm
Perhaps someone have a solution for this problem???
ScreenShot123.jpg
There was the whole day nobody @ home...
ScreenShot124.jpg
Is there a manual sensitivity adjustment on your PIR?
Re: New ESP gadget
I have a 5 pins Sonoff, so the fifth pin.
My pir:
http://2.bp.blogspot.com/-gKmipFgKO-w/V ... Sensor.png
My pir:
http://2.bp.blogspot.com/-gKmipFgKO-w/V ... Sensor.png
Re: New ESP gadget
adjust sensitivity on the pir?
Re: New ESP gadget
did that no differencestozett wrote:adjust sensitivity on the pir?
Re: New ESP gadget
this is my setting.
maybe try another GPIO?
didnt get it before: do you power the PIR with 3.3V or with 5V.
i have a wemos board, and i power the PIR with 5V. a far as i remember, i had unreliable workings of my pir on 3.3V.
maybe check this to?
and maybe exhange the pir with some other, or point it towards another direction?
besides: with my normal radar-sensor i got an interrupt, i someone is behind a thin wall, the radar goes through it....
(and, would it be easier to jump over with this in another thread with a hitting title?)
maybe try another GPIO?
didnt get it before: do you power the PIR with 3.3V or with 5V.
i have a wemos board, and i power the PIR with 5V. a far as i remember, i had unreliable workings of my pir on 3.3V.
maybe check this to?
and maybe exhange the pir with some other, or point it towards another direction?
besides: with my normal radar-sensor i got an interrupt, i someone is behind a thin wall, the radar goes through it....
(and, would it be easier to jump over with this in another thread with a hitting title?)
- Attachments
-
- pir2.png (32.6 KiB) Viewed 124019 times
-
- Normal user
- Posts: 25
- Joined: 08 May 2016, 02:29
Re: New ESP gadget
I played with these PIRs and found them too fidgety...just quite hard to tune in properly. Maybe look for a more expensive one, or at least borrow one for testing...Dylantje wrote:I have a 5 pins Sonoff, so the fifth pin.
My pir:
http://2.bp.blogspot.com/-gKmipFgKO-w/V ... Sensor.png
-
- New user
- Posts: 2
- Joined: 30 Jul 2016, 07:29
Re: New ESP gadget
Sorry for the beginners quetsions. Go myself some Sonoff/Itead EU sockets.
Successfully flashed EASY ESP configured all the WLAN settings. Configured as an openhab MQTT. And that's it...
How do i put the relay to MQTT?
I can control it via the http://IP/control?cmd=GPIO,12,0
The name of ESP - Rozetka-01
For devices i have added
Than tried running with no success...
Although this one works
On boot the ESP reports (ran the mosquitto_sub -v -t '#')
Successfully flashed EASY ESP configured all the WLAN settings. Configured as an openhab MQTT. And that's it...
How do i put the relay to MQTT?
I can control it via the http://IP/control?cmd=GPIO,12,0
The name of ESP - Rozetka-01
For devices i have added
Code: Select all
Device: Switch input
Name: Relay
Delay: 0
IDX / Var: 10
1st GPIO: GPIO12
Pull UP: YES
Inversed: NO
Switch Type: Swtich
Switch Button Type: Normal Switch
Send Boot state: YES
Send Data: YES
Code: Select all
mosquitto_pub -t /Rozetka-01/Relay -m 1
mosquitto_pub -t /Rozetka-01/Relay/Switch -m 1
Code: Select all
mosquitto_pub -t /Rozetka-01/gpio/12 -m 1
Code: Select all
/Rozetka-01/Relay/Switch 0
Re: New ESP gadget
you switched the GPIO with mqtt.
if you want more ways to control ESPeasy, may look here:
http://www.esp8266.nu/index.php/ESPEasy ... _Reference
if you want more ways to control ESPeasy, may look here:
http://www.esp8266.nu/index.php/ESPEasy ... _Reference
-
- New user
- Posts: 2
- Joined: 30 Jul 2016, 07:29
Re: New ESP gadget
Another question is on controlling the relay with button.
I have defined Button as gpio-13 normal switch with pull-up activated.
In the rules i put the following
It works. The relay switches on. But only for 5 seconds. Than it goes off! What did i miss?
I have defined Button as gpio-13 normal switch with pull-up activated.
In the rules i put the following
Code: Select all
on Button#Switch do
if [Relay#Switch]=1
gpio,12,0
gpio,13,1
else
gpio,12,1
gpio,13,0
endif
endon
Re: New ESP gadget
May try to understand Timer in rules and use them..
http://www.esp8266.nu/index.php/Tutorial_Rules#Timer
http://www.esp8266.nu/index.php/Tutorial_Rules#Timer
Re: New ESP gadget
I just have a question :
Is it possible to know the current power output in watts ?
Thanks !
Is it possible to know the current power output in watts ?
Thanks !
-
- Normal user
- Posts: 40
- Joined: 17 Nov 2015, 15:58
Re: New ESP gadget
The sonoff has no sensor for measuring the output wattage.
But you can estimate it with calculating the wattage and the switched on time.
For example, a light bulb takes 20W while switched on. The swtich-on and off timings you have ready. Maybe this is a shorthand solution. Does not work for a washing machine that takes different amounts depending what it has to do.
But you can estimate it with calculating the wattage and the switched on time.
For example, a light bulb takes 20W while switched on. The swtich-on and off timings you have ready. Maybe this is a shorthand solution. Does not work for a washing machine that takes different amounts depending what it has to do.
Re: New ESP gadget
I've had a good look at this device and am quite happy with the quality of construction for such a low cost offering.
As a convert from electrical engineering, through semiconductor work and into software, it's as decently constructed as the great majority of cheap devices.
A couple of points though, depending on where you want to put it:
The case is ABS and pretty flame resistant. The lid is poorly fixed and just un-clips. I would recommend gluing or a mechanical restraint (cable ties?) to prevent easy access.
Several devices have had badly soldered screw terminals. It looks like not enough heat was applied to fix the terminal pins. Best to resolder them before use.
The LED is pathetically dim, It can be useful driven as gpio13 for the WiFi indicator be is only visible in the dark!
The button connects to gpio0 and it would be useful to code a reboot facility to this, maybe a 'rule', I will have a go.
I have connected a DS18b20, a fully insulated and isolated variant to RX, having turned off serial support in ESPEasy, Tools, Advanced.
Also made a connection out to drive an SSR using TX by driving low and having the other side to VCC.
Both devices need pull-up resistors, I use 3K7.
This allows me to drive much heavier devices through the 40A SSR and leaves the internal relay free for light loads.
Next up is to add a current sensor. I would like to know how much power the Sonoff is delivering and would be useful to know when a connected device has 'finished'. If connected to a washing machine, water heater or similar machine that will eventually finish then I can see that and go and hang out the washing of take a bath!
I've ordered some ACS758 devices and there are plenty of code snippets to measure AC current from them. I'm hoping the it will fit inside the case by cutting into the unswitched tracks on the PCB. I will let you know and post some pics.
As a convert from electrical engineering, through semiconductor work and into software, it's as decently constructed as the great majority of cheap devices.
A couple of points though, depending on where you want to put it:
The case is ABS and pretty flame resistant. The lid is poorly fixed and just un-clips. I would recommend gluing or a mechanical restraint (cable ties?) to prevent easy access.
Several devices have had badly soldered screw terminals. It looks like not enough heat was applied to fix the terminal pins. Best to resolder them before use.
The LED is pathetically dim, It can be useful driven as gpio13 for the WiFi indicator be is only visible in the dark!
The button connects to gpio0 and it would be useful to code a reboot facility to this, maybe a 'rule', I will have a go.
I have connected a DS18b20, a fully insulated and isolated variant to RX, having turned off serial support in ESPEasy, Tools, Advanced.
Also made a connection out to drive an SSR using TX by driving low and having the other side to VCC.
Both devices need pull-up resistors, I use 3K7.
This allows me to drive much heavier devices through the 40A SSR and leaves the internal relay free for light loads.
Next up is to add a current sensor. I would like to know how much power the Sonoff is delivering and would be useful to know when a connected device has 'finished'. If connected to a washing machine, water heater or similar machine that will eventually finish then I can see that and go and hang out the washing of take a bath!
I've ordered some ACS758 devices and there are plenty of code snippets to measure AC current from them. I'm hoping the it will fit inside the case by cutting into the unswitched tracks on the PCB. I will let you know and post some pics.
Re: New ESP gadget
Oooww.
That's a pitty that this wonderful switch does not send current output.
@daxkamala : I really don't think that a ACS758 device will enter in the Sonoff box.
I added a DHT22 sensor (outside the box) and the wires need to be shorten to close the box correctly...
I have this thing at home : and it send current output.
Ok, that's bluetooth, it's 30€, it can't be flashed with ESPEasy, but works pretty good on Jeedom and exists also in wifi

That's a pitty that this wonderful switch does not send current output.
@daxkamala : I really don't think that a ACS758 device will enter in the Sonoff box.
I added a DHT22 sensor (outside the box) and the wires need to be shorten to close the box correctly...
I have this thing at home : and it send current output.
Ok, that's bluetooth, it's 30€, it can't be flashed with ESPEasy, but works pretty good on Jeedom and exists also in wifi

Re: New ESP gadget
Nice product that Awox Smartplug, but i dont like this in the specifications :
POWER
100-120 V, 10 A, 60Hz
It's not a type error, het the German Specifications:
STROMVERSORGUNG
100-120 V, 10 A, 60Hz
POWER
100-120 V, 10 A, 60Hz
It's not a type error, het the German Specifications:
STROMVERSORGUNG
100-120 V, 10 A, 60Hz
Re: New ESP gadget
For the people who want the esp8266 and relay and 230v built in the wall, this looks nice
https://ex-store.de/ESP8266-WiFi-Relay-V31#&gid=1&pid=1
Should it be able to flash it with te OTA of that software with espeasy?
https://ex-store.de/ESP8266-WiFi-Relay-V31#&gid=1&pid=1
Should it be able to flash it with te OTA of that software with espeasy?
Re: New ESP gadget
kroonen wrote:For the people who want the esp8266 and relay and 230v built in the wall, this looks nice
https://ex-store.de/ESP8266-WiFi-Relay-V31#&gid=1&pid=1
Should it be able to flash it with te OTA of that software with espeasy?
Just try it, someone should be the first .
If it fails you can always re-flash the device over the Rx/Tx pins with ESPEasy.
After that ESPEasy-OTA will very likely be possible, it depends on the flash size, older ESP modules have only 512kB of memory which makes ESPEasy-OTA impossible.
-
- Normal user
- Posts: 40
- Joined: 17 Nov 2015, 15:58
Re: New ESP gadget
Nice device, I hope ITEAD will offer soon a proper version of such a thing for less.kroonen wrote:For the people who want the esp8266 and relay and 230v built in the wall, this looks nice
https://ex-store.de/ESP8266-WiFi-Relay-V31#&gid=1&pid=1
Should it be able to flash it with te OTA of that software with espeasy?
Re: New ESP gadget
I flashed two Sonoff TH lately with R123 and I found that operating them with Safari (Mac OS) didn't work well: 9/10 times when I hit Confirm, I get a broken link. Chrome didn't have that issue (I switched this morning).
I have a few NodeMCU lying around with R120 and I didn't have that issue
I have a few NodeMCU lying around with R120 and I didn't have that issue

Re: New ESP gadget
Same here with R124.bertrand wrote:I flashed two Sonoff TH lately with R123 and I found that operating them with Safari (Mac OS) didn't work well: 9/10 times when I hit Confirm, I get a broken link. Chrome didn't have that issue (I switched this morning).
I have a few NodeMCU lying around with R120 and I didn't have that issue
The webserver seems very unstable on sonoff
Re: New ESP gadget
Maybe this happens because sonoff only have 1M of flash memory, and with newest versions of Espeasy is not enough memory and turn it unstable in the sonoff device?bertrand wrote:
I flashed two Sonoff TH lately with R123 and I found that operating them with Safari (Mac OS) didn't work well: 9/10 times when I hit Confirm, I get a broken link. Chrome didn't have that issue (I switched this morning).
I have a few NodeMCU lying around with R120 and I didn't have that issue
Same here with R124.
The webserver seems very unstable on sonoff
I wrote mail to itead company, and they confirm that their device with esp8266 only have 1M of flash memory.
Re: New ESP gadget
Perhaps it is something to do with the difference between Safari and Chrome and how they function... To test if it is a size problem you could probably compile a version without the plugins you do not need. No reason to have the plugins for OLED and LCD if you do not have a display. I don't know how it would translate to the size of the compiled image, but the plugins are about 25% of the total size in the un-compiled software.
Re: New ESP gadget
Well in my case i bought a sonoff (already don't have it) and also bought a 4M memory flash. i will try to update memory on sonoff and then i will explain.
thanks
thanks
Re: New ESP gadget
I'm having the same issue here. The sonoff does not display the webpage 9 times out of 10 (tried chrome and IE and both have the problem).
It does not seem to be a network problem since when I press the physical button on the Sonoff, Domoticz is updated in real time with the on/off status change despite the sonoff being unable to display the webpages in the same interval of time.
This is extreamly frustrating as it makes it impossible to configure the Sonoff since each time I change a value the submit goes to a page not found. If anyone as a work around to configure the esp easy on the sonoff I'm listening
It does not seem to be a network problem since when I press the physical button on the Sonoff, Domoticz is updated in real time with the on/off status change despite the sonoff being unable to display the webpages in the same interval of time.
This is extreamly frustrating as it makes it impossible to configure the Sonoff since each time I change a value the submit goes to a page not found. If anyone as a work around to configure the esp easy on the sonoff I'm listening
-
- Normal user
- Posts: 39
- Joined: 09 Aug 2016, 09:45
Re: New ESP gadget
Are you ussing global sync over UDP?dlefol wrote:I'm having the same issue here. The sonoff does not display the webpage 9 times out of 10 (tried chrome and IE and both have the problem).
It does not seem to be a network problem since when I press the physical button on the Sonoff, Domoticz is updated in real time with the on/off status change despite the sonoff being unable to display the webpages in the same interval of time.
This is extreamly frustrating as it makes it impossible to configure the Sonoff since each time I change a value the submit goes to a page not found. If anyone as a work around to configure the esp easy on the sonoff I'm listening
I've 3 sonoff workign without lag problem.
I have disable serial log, weblog and udp log.
Re: New ESP gadget
I can only confirm that I have no issues with the 4 pin Sonoff with the RF module (not using RF module at this stage).
System Time: 3:00
Load: 8% (LC=36107)
Uptime: 2802 minutes
Wifi RSSI: -39 dB
Build: 120 (stock bin from website)
Core Version: 2_3_0
Device:
Edit 1 Switch input sonoff01 1152 GPIO-12 Switch: 0
Edit 2 System Info Uptime 54
Load - 200 Watt @ 220 volt
Rules :
On Clock#Time=All, 20:15 do
gpio,12,0
endon
On Clock#Time=All, 23:15 do
gpio,12,0
endon
On Clock#Time=All, 02:15 do
gpio,12,0
endon
Network statically defined.
Talks to Domoticz for main control -
Later Ferdie
System Time: 3:00
Load: 8% (LC=36107)
Uptime: 2802 minutes
Wifi RSSI: -39 dB
Build: 120 (stock bin from website)
Core Version: 2_3_0
Device:
Edit 1 Switch input sonoff01 1152 GPIO-12 Switch: 0
Edit 2 System Info Uptime 54
Load - 200 Watt @ 220 volt
Rules :
On Clock#Time=All, 20:15 do
gpio,12,0
endon
On Clock#Time=All, 23:15 do
gpio,12,0
endon
On Clock#Time=All, 02:15 do
gpio,12,0
endon
Network statically defined.
Talks to Domoticz for main control -
Later Ferdie
Re: New ESP gadget
I have a 5 pins version with R120 from the website. Not using UDP or anything special. I've tried disabling the logs but doesn't seem to help much. I've tested some more and I am loosing commands too so it seems to be the sonoff loosing wifi connection, but I am in a spot where wifi coverage is very good...
Will try with a second sonoff to see if I have more luck.
Will try with a second sonoff to see if I have more luck.
Re: New ESP gadget
In my case, it works a lot better when powered by the pins, not mains. Don't know why.
I gave up and use R109 for now
I gave up and use R109 for now
Re: New ESP gadget
Good to know that it's more stable with R109. Might try that one too.
thanks
thanks
Who is online
Users browsing this forum: No registered users and 11 guests