WARNING: Potential ESP brick issue with deepsleep!!

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: WARNING: Potential ESP brick issue with deepsleep!!

#31 Post by Shardan » 11 May 2017, 11:36

Thanks :)

If i get such a power supply on my desk again i'll do some screenshots from the oscilloscope
and make an extra posting in the Wiki... might be helpfull.

Regards
Shardan
Last edited by Shardan on 11 May 2017, 11:37, edited 1 time in total.
Regards
Shardan

vojtishek
Normal user
Posts: 70
Joined: 12 Jan 2017, 08:00

Re: WARNING: Potential ESP brick issue with deepsleep!!

#32 Post by vojtishek » 11 May 2017, 11:37

Thanks Shardan, completely make a sense.
Still thinking about distribution of power for sensors in ceiling through whole house with one reliable source of voltage.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: WARNING: Potential ESP brick issue with deepsleep!!

#33 Post by Shardan » 11 May 2017, 11:39

vojtishek wrote: 11 May 2017, 11:37 Thanks Shardan, completely make a sense.
Still thinking about distribution of power for sensors in ceiling through whole house with one reliable source of voltage.
A central source has it's advantages and disatvantages.
But we should discuss that in a new thread, it's getting somewhat off-topic here :)
Regards
Shardan

vojtishek
Normal user
Posts: 70
Joined: 12 Jan 2017, 08:00

Re: WARNING: Potential ESP brick issue with deepsleep!!

#34 Post by vojtishek » 11 May 2017, 11:41

Yes, definitely. Electricity in my new house is in plan during October so I will make new topic until that period :)

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

Re: WARNING: Potential ESP brick issue with deepsleep!!

#35 Post by Drum » 11 May 2017, 16:05

Just to get back on topic, the 2 test units are still running strong, although the small solar cells are not keeping the batteries charged with 1 minute deep sleep so there have been some gaps. I will have to see what I can do about that next week. I need to do some work in nodered to set up some kind of notification on the voltage levels and if they have not connected in more than a few minutes.

I have also noticed they can get stuck when the voltage is low and they stay until the power is cycled. Just charging the battery is not enough, and any current from the solar cell seems to keep it in this state, although I have not tried resetting it yet. So when working with solar power, a voltage regulator which can shutoff power completely when the power is too low is probably a good idea for better reliability.

Shardan, any recommendations on an inexpensive oscilloscope which will work for these and not take up much space? Mostly I expect I would use it for looking at power on the ESPs and maybe some sensor communications. I try with ina219s but they are too slow for measuring mA the esp uses.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: WARNING: Potential ESP brick issue with deepsleep!!

#36 Post by Shardan » 11 May 2017, 20:00

Drum wrote: 11 May 2017, 16:05 Shardan, any recommendations on an inexpensive oscilloscope which will work for these and not take up much space? Mostly I expect I would use it for looking at power on the ESPs and maybe some sensor communications. I try with ina219s but they are too slow for measuring mA the esp uses.
I'm using a Peaktech 1255 which is not really a cheap one (around 750€)
If you don't need a storage oscilloscope with a lot of gadgets i'd try to get a used Hameg 203-7 or similiar.
There are several offers on Ebay for those.

Digital scopes are somewhat expensive. Watch out, they should have 0,5..1 GS/sec. (Giga Samples)
Examples may be the GwInstek GDS-1072A-U https://www.reichelt.de/Oscilloscopes-S ... ARCH=%252A
or a UNI-T UTD 2102 CEX https://www.reichelt.de/Oscilloscopes-S ... ARCH=%252A.
Both around 450€.

Beware: Good instruments are never inexpensive..... but bad instruments are even more expensive on the long term.
2nd beware: Calculate about 10..20 hours to learn the "HowTo's".......

Cheaper ones with lower bandwith and (more important!) lower sampling rate are not a really good choice as they
might fail with quick changing values or high frequencies.

Regards
Shardan
Regards
Shardan

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

Re: WARNING: Potential ESP brick issue with deepsleep!!

#37 Post by Drum » 14 Jul 2017, 14:58

I have one unit which is not well over 100,000 deep-sleep restarts. I have 100,000 restarts documented today. I need to look to see if I can get through the rest of the data before I added a rule to post the IP on re-boot to get a better count. No problems, but I will keep it going until I see problems.

I have found a potential issue when using solar panels, but I will put that in a new post.

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

Re: WARNING: Potential ESP brick issue with deepsleep!!

#38 Post by Drum » 12 Oct 2017, 00:55

Just an update,
Unit 1 over 173,000 restarts
Unit 2 Over 219,000 restarts

Unit 2 is still plugging away, but Unit 1 is giving me errors, but I think something may be corrupted and I need to figure out how I fixed this the last time it happened.....

User avatar
ThomasB
Normal user
Posts: 1065
Joined: 17 Jun 2018, 20:41
Location: USA

Re: WARNING: Potential ESP brick issue with deepsleep!!

#39 Post by ThomasB » 20 Dec 2019, 19:39

Two years later: It appears this is an old problem that has been solved. I suggest it be removed from the pinned topics.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: WARNING: Potential ESP brick issue with deepsleep!!

#40 Post by grovkillen » 20 Dec 2019, 19:50

ThomasB wrote: 20 Dec 2019, 19:39 Two years later: It appears this is an old problem that has been solved. I suggest it be removed from the pinned topics.
Done
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

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

Re: WARNING: Potential ESP brick issue with deepsleep!!

#41 Post by Drum » 20 Dec 2019, 19:56

By the way 1 is still working, although with the short days and lack of sun is not running today (would be better if it changed it back to 10 minute deep sleep).
The other one, I did something (can not remember exactly what I did) but I think it just needs a reflash, but just have not tried yet.

Now my problem is deciding if I want to try to save just under 9 MILLION lines of data in the sqlite database tracking everything from my ESPs.
I did upgrade it to a SSD recently but it is still a lot for a Raspberry Pi3 to sort through.
The thing is running Mosquitto, Node-red, Sqlite3 and Pi-hole with no problems ;)

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: WARNING: Potential ESP brick issue with deepsleep!!

#42 Post by grovkillen » 20 Dec 2019, 20:02

:o :) thanks for the update.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests