New ESP gadget

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: New ESP gadget

#151 Post by costo » 27 Jun 2016, 23:09

@ 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 !)

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#152 Post by MonkeyTown » 27 Jun 2016, 23:25

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
....
THANK YOU VERY MUCH KIND SIR! This is much more than I even hoped for. Much appreciated! It all makes perfect sense now.

..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 ;) Cheers again mate and all you great people sharing all the necessary info to make this happen.

..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! :mrgreen:

chanov
New user
Posts: 5
Joined: 01 Nov 2015, 00:52
Location: Russia
Contact:

Re: New ESP gadget

#153 Post by chanov » 30 Jun 2016, 16:39

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 ...)?

grz3
Normal user
Posts: 36
Joined: 21 Feb 2016, 21:47

Re: New ESP gadget

#154 Post by grz3 » 30 Jun 2016, 22:49

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
1.jpg (46.93 KiB) Viewed 69930 times
then in rules define following...
2.jpg
2.jpg (22 KiB) Viewed 69930 times
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.

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#155 Post by MonkeyTown » 01 Jul 2016, 01:44

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 ...)?
This is awesome! thanks for introducing me to rules! Opens up a world of possibilities and super tweaks.

pacitzu
Normal user
Posts: 17
Joined: 11 Oct 2015, 16:47

Re: New ESP gadget

#156 Post by pacitzu » 07 Jul 2016, 15:02

There is a new Itead device based on Esp8266.

https://www.itead.cc/smart-socket-eu.html

Hopefully we can update with Esp Easy.

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#157 Post by MonkeyTown » 08 Jul 2016, 00:36

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.
Have one on the way for about a week now. When it gets here I'll report back with some pics.

Allycat1972
Normal user
Posts: 25
Joined: 19 Apr 2016, 11:12

Re: New ESP gadget

#158 Post by Allycat1972 » 08 Jul 2016, 09:00

MonkeyTown wrote:
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.
Have one on the way for about a week now. When it gets here I'll report back with some pics.
Look forward to the breakdown! Have they said when they will produce a UK version?

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#159 Post by MonkeyTown » 09 Jul 2016, 02:06

Allycat1972 wrote:
MonkeyTown wrote:
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.
Have one on the way for about a week now. When it gets here I'll report back with some pics.
Look forward to the breakdown! Have they said when they will produce a UK version?
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.

Mikey
New user
Posts: 5
Joined: 24 May 2016, 23:01

Re: New ESP gadget

#160 Post by Mikey » 09 Jul 2016, 09:05

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.
You can, and it is even easier than it was with the in-line sonoff :) I got some info and pictures of the inside here http://captain-slow.dk/2016/07/08/itead ... pressions/

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#161 Post by MonkeyTown » 10 Jul 2016, 02:22

Mikey wrote:
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.
You can, and it is even easier than it was with the in-line sonoff :) I got some info and pictures of the inside here http://captain-slow.dk/2016/07/08/itead ... pressions/
This is awesome. Thanks for the link! Now I can't wait! ;)

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#162 Post by MonkeyTown » 12 Jul 2016, 01:36

MonkeyTown wrote:
Allycat1972 wrote:
MonkeyTown wrote: Have one on the way for about a week now. When it gets here I'll report back with some pics.
Look forward to the breakdown! Have they said when they will produce a UK version?
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.
Just got a reply from ITEAD's Jason Zhang:

...
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!

Allycat1972
Normal user
Posts: 25
Joined: 19 Apr 2016, 11:12

Re: New ESP gadget

#163 Post by Allycat1972 » 12 Jul 2016, 12:43

MonkeyTown wrote:
MonkeyTown wrote:
Allycat1972 wrote: Look forward to the breakdown! Have they said when they will produce a UK version?
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.
Just got a reply from ITEAD's Jason Zhang:

...
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!
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.

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: New ESP gadget

#164 Post by Dylantje » 15 Jul 2016, 21:07

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

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#165 Post by MonkeyTown » 16 Jul 2016, 00:47

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
Check out post by costo few posts back. It is perfectly clear from his explanation.
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 ;)

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: New ESP gadget

#166 Post by Dylantje » 16 Jul 2016, 09:58

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 understand the pins..
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
ScreenShot112.jpg (75.15 KiB) Viewed 69370 times

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#167 Post by MonkeyTown » 16 Jul 2016, 19:03

Dylantje wrote:
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 understand the pins..
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
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...
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!

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: New ESP gadget

#168 Post by Dylantje » 16 Jul 2016, 20:33

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
ScreenShot114.jpg (14.94 KiB) Viewed 69317 times
And got a pir on the ESP working to..:-)


THANKS!!!!


Edit:
Somebody have this options working In Domoticz?
ScreenShot116.jpg
ScreenShot116.jpg (46.34 KiB) Viewed 69317 times
The Wifi en RSSI?
What sensors do i have to make?

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#169 Post by MonkeyTown » 17 Jul 2016, 00:48

Dylantje 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?
Great news! Perseverance conquers all ;)

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...

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: New ESP gadget

#170 Post by Dylantje » 17 Jul 2016, 20:11

mmm
Perhaps someone have a solution for this problem???
ScreenShot123.jpg
ScreenShot123.jpg (106.46 KiB) Viewed 69248 times
There was the whole day nobody @ home...
ScreenShot124.jpg
ScreenShot124.jpg (51.3 KiB) Viewed 69248 times

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: New ESP gadget

#171 Post by rtenklooster » 17 Jul 2016, 20:40

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
Richard - Groningen (NL) - Image

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#172 Post by MonkeyTown » 18 Jul 2016, 01:30

Dylantje wrote:mmm
Perhaps someone have a solution for this problem???
ScreenShot123.jpg

There was the whole day nobody @ home...

ScreenShot124.jpg
What PIN is it connected to on the Sonoff? (did you de-solder the button?)
Is there a manual sensitivity adjustment on your PIR?

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: New ESP gadget

#173 Post by Dylantje » 18 Jul 2016, 09:29

I have a 5 pins Sonoff, so the fifth pin.
My pir:
http://2.bp.blogspot.com/-gKmipFgKO-w/V ... Sensor.png

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: New ESP gadget

#174 Post by tozett » 18 Jul 2016, 13:44

adjust sensitivity on the pir?

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: New ESP gadget

#175 Post by Dylantje » 18 Jul 2016, 16:25

tozett wrote:adjust sensitivity on the pir?
did that no differences

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: New ESP gadget

#176 Post by tozett » 18 Jul 2016, 17:22

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?)
Attachments
pir2.png
pir2.png (32.6 KiB) Viewed 69586 times

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#177 Post by MonkeyTown » 19 Jul 2016, 01:34

Dylantje wrote:I have a 5 pins Sonoff, so the fifth pin.
My pir:
http://2.bp.blogspot.com/-gKmipFgKO-w/V ... Sensor.png
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...

moskovskiy
New user
Posts: 2
Joined: 30 Jul 2016, 07:29

Re: New ESP gadget

#178 Post by moskovskiy » 30 Jul 2016, 07:42

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

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
Than tried running with no success...

Code: Select all

 mosquitto_pub -t /Rozetka-01/Relay -m 1
 mosquitto_pub -t /Rozetka-01/Relay/Switch -m 1
Although this one works

Code: Select all

 mosquitto_pub -t /Rozetka-01/gpio/12 -m 1 
On boot the ESP reports (ran the mosquitto_sub -v -t '#')

Code: Select all

/Rozetka-01/Relay/Switch 0

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: New ESP gadget

#179 Post by tozett » 30 Jul 2016, 18:17

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

moskovskiy
New user
Posts: 2
Joined: 30 Jul 2016, 07:29

Re: New ESP gadget

#180 Post by moskovskiy » 31 Jul 2016, 06:44

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

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
It works. The relay switches on. But only for 5 seconds. Than it goes off! What did i miss?

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: New ESP gadget

#181 Post by tozett » 31 Jul 2016, 22:40

May try to understand Timer in rules and use them..
http://www.esp8266.nu/index.php/Tutorial_Rules#Timer

User avatar
SuperToma
Normal user
Posts: 14
Joined: 08 Apr 2016, 08:33

Re: New ESP gadget

#182 Post by SuperToma » 15 Aug 2016, 00:56

I just have a question :
Is it possible to know the current power output in watts ?
Thanks !

ambassadoro
Normal user
Posts: 40
Joined: 17 Nov 2015, 15:58

Re: New ESP gadget

#183 Post by ambassadoro » 15 Aug 2016, 13:43

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.

daxkamala
Normal user
Posts: 15
Joined: 17 Aug 2016, 09:12

Re: New ESP gadget

#184 Post by daxkamala » 17 Aug 2016, 09:42

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.

User avatar
SuperToma
Normal user
Posts: 14
Joined: 08 Apr 2016, 08:33

Re: New ESP gadget

#185 Post by SuperToma » 17 Aug 2016, 11:53

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 :
test-de-prise-awox-smartplug-bluetooth-ble-2-580x490.jpg
test-de-prise-awox-smartplug-bluetooth-ble-2-580x490.jpg (41.41 KiB) Viewed 69612 times
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 :)

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: New ESP gadget

#186 Post by ManS-H » 17 Aug 2016, 15:23

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

kroonen
Normal user
Posts: 26
Joined: 05 Oct 2015, 22:00

Re: New ESP gadget

#187 Post by kroonen » 17 Aug 2016, 22:36

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?

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: New ESP gadget

#188 Post by costo » 18 Aug 2016, 10:24

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.

ambassadoro
Normal user
Posts: 40
Joined: 17 Nov 2015, 15:58

Re: New ESP gadget

#189 Post by ambassadoro » 18 Aug 2016, 11:23

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?
Nice device, I hope ITEAD will offer soon a proper version of such a thing for less.

User avatar
bertrand
Normal user
Posts: 24
Joined: 30 Jun 2016, 10:22
Location: Hong Kong

Re: New ESP gadget

#190 Post by bertrand » 23 Aug 2016, 04:55

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 :?

farhanito
New user
Posts: 9
Joined: 10 May 2016, 16:15

Re: New ESP gadget

#191 Post by farhanito » 30 Aug 2016, 16:16

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

garvarma
Normal user
Posts: 19
Joined: 15 Jul 2016, 13:11

Re: New ESP gadget

#192 Post by garvarma » 13 Sep 2016, 22:09

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
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?

I wrote mail to itead company, and they confirm that their device with esp8266 only have 1M of flash memory.

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: New ESP gadget

#193 Post by Drum » 14 Sep 2016, 10:37

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.

garvarma
Normal user
Posts: 19
Joined: 15 Jul 2016, 13:11

Re: New ESP gadget

#194 Post by garvarma » 20 Sep 2016, 09:08

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

dlefol
Normal user
Posts: 26
Joined: 11 Nov 2015, 23:28

Re: New ESP gadget

#195 Post by dlefol » 20 Sep 2016, 22:00

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

ayasystems
Normal user
Posts: 39
Joined: 09 Aug 2016, 09:45

Re: New ESP gadget

#196 Post by ayasystems » 20 Sep 2016, 23:40

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
Are you ussing global sync over UDP?

I've 3 sonoff workign without lag problem.

I have disable serial log, weblog and udp log.

f-fish
New user
Posts: 9
Joined: 19 Sep 2016, 04:11
Location: Johannesburg - RSA
Contact:

Re: New ESP gadget

#197 Post by f-fish » 21 Sep 2016, 03:10

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

dlefol
Normal user
Posts: 26
Joined: 11 Nov 2015, 23:28

Re: New ESP gadget

#198 Post by dlefol » 21 Sep 2016, 07:38

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.

farhanito
New user
Posts: 9
Joined: 10 May 2016, 16:15

Re: New ESP gadget

#199 Post by farhanito » 21 Sep 2016, 14:16

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

dlefol
Normal user
Posts: 26
Joined: 11 Nov 2015, 23:28

Re: New ESP gadget

#200 Post by dlefol » 21 Sep 2016, 14:45

Good to know that it's more stable with R109. Might try that one too.

thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests