I have a project I have been working on for a few weeks now. I update the firmware with the latest MEGA version almost every night. Something MAJOR happened with the 20180311 version.
The project is a sprinkler controller. It has a 16 relay board powered by an MCP23017 IO expander. It also has a PCF8574 for inputs, an ADS1115 ADC board, an SI7102 temp and humidity sensor and 2 OLED's attached. A normal OLED and a Framed OLED. Module is an ESP-07S. The PCF8574 inputs are for future use and the analog inputs are for the same but 2 of them are jumpered for monitoring the 12vdc input and onboard 5 volts. There are 2 pages of rules currently to make it work.
The 2 IO expanders have no tasks assigned to them and the ADS1115 is using 2 tasks. This is probable quite a bit of stuff on 1 ESP module as it was pretty slow in response time and processing time. Sometimes web page loads were taking forever. For example, here are times for processing certain things
Measure 12v input (ADS1115) 4315 milliseconds
Measure 5 volts (ADS1115 4321 milliseconds
measure temp (SI7201) 4303 milliseconds
Measure humidity (SI7201) 4302 milliseconds
Process clock#time 3885 milliseconds
Pretty slow processing and every other thing was comparable. There are a couple switches to control things like automatic or manual operation that also write to the OLED.
Here are the times for processing the same things with the latest firmware...
Measure 12v input (ADS1115) 140 milliseconds
Measure 5 volts (ADS1115 136 milliseconds
measure temp (SI7201) 139 milliseconds
Measure humidity (SI7201) 135 milliseconds
Process clock#time 138 milliseconds
Thats a considerable difference. Kinda like going from a 386 to the latest Pentium overnight!!!
Whomever is responsible for this really deserves some major KUDO's!!!!!!!
Can't wait to dig out my keypad project and try it out!
WOW!!! Somebody installed a turbocharger!!!
Moderators: grovkillen, Stuntteam, TD-er
- budman1758
- Normal user
- Posts: 301
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
WOW!!! Somebody installed a turbocharger!!!
"The glass is twice as big as it needs to be".
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: WOW!!! Somebody installed a turbocharger!!!
I think the latest commits by Martinus is what you experience. That plus the fix with how the webserver is handling the requests is making ESP Easy lightning fast.
So it's really a team effort. Great job everyone
So it's really a team effort. Great job everyone
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: WOW!!! Somebody installed a turbocharger!!!
More speed-ups for the webserver are on its way, thanks to suggestions made by Martinus' commits
Although not as impressive, because a factor 10+ is not achievable anymore.
Although not as impressive, because a factor 10+ is not achievable anymore.
Re: WOW!!! Somebody installed a turbocharger!!!
Impressive. Responsive. Big thanks!
Re: WOW!!! Somebody installed a turbocharger!!!
Sounds great and is an extremely welcome improvement, thx to everyone involved.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Who is online
Users browsing this forum: Ahrefs [Bot] and 40 guests