Unreliable config page and SendTo connectivity

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
paxi
Normal user
Posts: 121
Joined: 02 Feb 2017, 00:48
Location: Germany

Re: Unreliable config page and SendTo connectivity

#11 Post by paxi » 21 Feb 2017, 21:51

- SonOff powered with main AC Power AND wire between 2 finger to 3.3vor gnd pin : With OK !!!
I don't get it - please elaborate on what you did exactly in this test. Mains power and finger in the same sentence sounds dangerous. :shock:

ESP8266's are a "spikey" load.
The sonoffs have very little capacitance on the 3.3V side - according to the schematic 22uF at the regulator output and some small ones around the chip. Ceramic caps are usually rated for 20% tolerance so in worst case the esp has to rely on less than 18uF. On the supply side is a bigger electolytic cap, maybe they cheaped out on that and it could be wise to support the regulators input with a 10uF ceramic (low esr) like the AMS1117 datasheet suggests.

Retrieve yours from the bin and add a big cap (470uF) as close as possible to the chip, that should help with stability. ;)

I share your experience with a sonoff running wonky from its own AC supply but stable through a cheap AMS1117 module (which has 10uF + 100nF ceramics on both sides - input and output). Without an oscilloscope it's guesswork but I feel the regulator itself isn't running stable in the original circuit design. I have parts coming and will try to improve it.

The customer support's answer is miserably anyhow... :evil:

DavidVT
Normal user
Posts: 18
Joined: 26 Nov 2016, 04:27

Re: Unreliable config page and SendTo connectivity

#12 Post by DavidVT » 24 Feb 2017, 13:15

Out of box with 9 units thus far: I have had one Sonoff unit that will not work on Mains at all. Programmed fine powered by the programming cable but that was it. I had one unit that had wifi poor connectivity. I reloaded ESPeasy a few days later and subjectively the unit started to work better. All are on 147 I believe. I have another box of them coming...

As to performance:
I just found this last night (which brought me to this thread) and set it up on my system for a mixture of 6 Sonoffs and raw Esp8266 units. Thank you to the author for a nice learning example..

https://m.youtube.com/watch?v=mK1vvyuf39c
http://flows.nodered.org/flow/1963bdc55 ... 7ecc859612

After running it for 6 hours, I see good connectivity to all and was not surprised to see my heavily loaded 4 channel Sonoff (8 one wire sensors) responding often two seconds slower than the others.
image.png
image.png (84.68 KiB) Viewed 17135 times
In the image, that Sonoff is sitting on the AP(g), the Base41 ( raw Esp8266 ) is three rooms away.

As a side query, the Base41 unit is near another AP(n) with the same credentials. None of these ESP units will talk to that AP(n) but the iPad, phones, computers and roku love it. Do the Esp units not like (n)?
The (g) AP is using channel 11 and the (n) is using channel 36. I can see them both from the end of the house with the iPad. -45db and -85db respectively.

nygma
Normal user
Posts: 25
Joined: 26 Nov 2016, 11:16

Re: Unreliable config page and SendTo connectivity

#13 Post by nygma » 24 Feb 2017, 16:15

First of all, thank you for using my flow for running the stats. I have to say this makes me interested. Is it possible that there is so much difference between individual models? None of my models are as reliable as yours.

DavidVT
Normal user
Posts: 18
Joined: 26 Nov 2016, 04:27

Re: Unreliable config page and SendTo connectivity

#14 Post by DavidVT » 25 Feb 2017, 04:34

All seem to have this status now:
My delay is 15sec not 5sec so that may make mine look better.
Attachments
image.png
image.png (85.25 KiB) Viewed 17110 times

Yann1420@live.co.uk
New user
Posts: 3
Joined: 25 Apr 2017, 08:55

Re: Unreliable config page and SendTo connectivity

#15 Post by Yann1420@live.co.uk » 14 Aug 2017, 10:21

I just came across this topic and wonder if there is any news.
I have 5x sonoff all running R120 in the house and the connection is far from reliable. I will try to setup the RN flow and see what happens.

Thx - Yann

nygma
Normal user
Posts: 25
Joined: 26 Nov 2016, 11:16

Re: Unreliable config page and SendTo connectivity

#16 Post by nygma » 14 Aug 2017, 16:47

Not much from my side. Or to be precise I have not done extensive testing since this post. Whatever is said here is certainly true, having multiple units appear cause interference. I can also suggest to set the 2.4Ghz wifi channel to a channel which is less busy. On my router it was set to automatic, and it was using Channel 1 where most other routers are (neighbors). I changed the settings manually to Channel 11. I have a TH10, Touch running next to each other (original firmware) and they are fine now. So try this as well.

aero83
New user
Posts: 4
Joined: 07 Feb 2017, 22:17

Re: Unreliable config page and SendTo connectivity

#17 Post by aero83 » 18 Aug 2017, 16:55

paxi wrote: 21 Feb 2017, 21:51
- SonOff powered with main AC Power AND wire between 2 finger to 3.3vor gnd pin : With OK !!!
I don't get it - please elaborate on what you did exactly in this test. Mains power and finger in the same sentence sounds dangerous. :shock:

ESP8266's are a "spikey" load.
The sonoffs have very little capacitance on the 3.3V side - according to the schematic 22uF at the regulator output and some small ones around the chip. Ceramic caps are usually rated for 20% tolerance so in worst case the esp has to rely on less than 18uF. On the supply side is a bigger electolytic cap, maybe they cheaped out on that and it could be wise to support the regulators input with a 10uF ceramic (low esr) like the AMS1117 datasheet suggests.

Retrieve yours from the bin and add a big cap (470uF) as close as possible to the chip, that should help with stability. ;)

I share your experience with a sonoff running wonky from its own AC supply but stable through a cheap AMS1117 module (which has 10uF + 100nF ceramics on both sides - input and output). Without an oscilloscope it's guesswork but I feel the regulator itself isn't running stable in the original circuit design. I have parts coming and will try to improve it.

The customer support's answer is miserably anyhow... :evil:

I followed this advice. Resolved the issue for me.

icanic
New user
Posts: 3
Joined: 04 Oct 2018, 10:45

Re: Unreliable config page and SendTo connectivity

#18 Post by icanic » 04 Oct 2018, 10:49

Greetings!
Can someone tell me how to use web log from esp easy with password authentication. When I put password in http request node in node red I only get ECONNRESET error, But when I login to esp easy via web and then go to node red and click on timestamp button then all goes well.

Thank you!

TD-er
Core team member
Posts: 8770
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Unreliable config page and SendTo connectivity

#19 Post by TD-er » 04 Oct 2018, 10:52

icanic wrote: 04 Oct 2018, 10:49 Greetings!
Can someone tell me how to use web log from esp easy with password authentication. When I put password in http request node in node red I only get ECONNRESET error, But when I login to esp easy via web and then go to node red and click on timestamp button then all goes well.

Thank you!
This sounds like either a bug, or a feature request. (thin line between the two ;) )
Can you add an issue about that on Github?
Also please add some extra info in that issue what exactly you try to do (URLs and such)

icanic
New user
Posts: 3
Joined: 04 Oct 2018, 10:45

Re: Unreliable config page and SendTo connectivity

#20 Post by icanic » 04 Oct 2018, 16:11

I have solved the problem. I just need to put address of ESP Easy with "/login" at the end and everything is working.
But I have another problem, I dont know why my chart does not show legend and the pie chart does not look like pie chart. The problem showed on the picture https://imgur.com/a/Xm2sdL5

icanic
New user
Posts: 3
Joined: 04 Oct 2018, 10:45

Re: Unreliable config page and SendTo connectivity

#21 Post by icanic » 04 Oct 2018, 16:12

TD-er wrote: 04 Oct 2018, 10:52
icanic wrote: 04 Oct 2018, 10:49 Greetings!
Can someone tell me how to use web log from esp easy with password authentication. When I put password in http request node in node red I only get ECONNRESET error, But when I login to esp easy via web and then go to node red and click on timestamp button then all goes well.

Thank you!
This sounds like either a bug, or a feature request. (thin line between the two ;) )
Can you add an issue about that on Github?
Also please add some extra info in that issue what exactly you try to do (URLs and such)
I have solved the problem. I just need to put address of ESP Easy with "/login" at the end and everything is working.
But I have another problem, I dont know why my chart does not show legend and the pie chart does not look like pie chart. The problem showed on the picture https://imgur.com/a/Xm2sdL5

BeePee
New user
Posts: 3
Joined: 01 Dec 2019, 11:58

Re: Unreliable config page and SendTo connectivity

#22 Post by BeePee » 20 Jan 2020, 06:10

Excellent project, Thank You.

Set mine up with 9 devices, now just need to setup some predefined counters, 10 connection resets in a hour, timed outs etc, and publish a MQTT topic which can alert a home automation system, I use Homeseer + Pushover to send a message to my phone.

Any Ideas? I'm no Node Red guru. :)

B

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests