ESPEasy - Device=PushButton - Delays of feedback [ISSUE FIXED]

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: ESPEasy - Device=PushButton - Delays of feedback

#11 Post by papperone » 27 Oct 2016, 11:11

Martinus wrote:Check this setting in tools/advanced menu:

Message Delay (ms):

defaults to 1000 but can be lowered. This could be the delay that you're experiencing.
Thanks Martinus, that was it! I admit I've never realize there was such parameter in the Advanced Tab.
FYI bringing it to 0 did not work as the button behaviour was faster but unstable, with lots of false event.
With tome trial&error I set it to 100ms, really stable and button reacts real time even with multiple pushes one after the other!

Thanks again, I'll update the title as issue is fixed :D
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: ESPEasy - Device=PushButton - Delays of feedback [ISSUE FIXED]

#12 Post by Domosapiens » 14 Nov 2017, 23:50

Thanks Martinus for this explanation.
I thought this variable was related to MQTT only.

Some of my DS18B20 have an update rate of 500msec (close to the heater), so I tried to lower the message delay to 400msec.
The result was a very spiked memory usage: from normal operation 20300 bytes down to spikes of 14200 and even 12600.
Can you understand why? Is it something to worry about?

Martinus, what will happen with the measurements made every 500msec when the messages to the controller are send only every 1000msec?

@papperone: did you check your memory usage with the 100msec setting?
Thanks
Domosapiens
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: ESPEasy - Device=PushButton - Delays of feedback [ISSUE FIXED]

#13 Post by papperone » 15 Nov 2017, 06:56

Domosapiens wrote: 14 Nov 2017, 23:50 Thanks Martinus for this explanation.
I thought this variable was related to MQTT only.

Some of my DS18B20 have an update rate of 500msec (close to the heater), so I tried to lower the message delay to 400msec.
The result was a very spiked memory usage: from normal operation 20300 bytes down to spikes of 14200 and even 12600.
Can you understand why? Is it something to worry about?

Martinus, what will happen with the measurements made every 500msec when the messages to the controller are send only every 1000msec?

@papperone: did you check your memory usage with the 100msec setting?
Thanks
Domosapiens
I did and I saw no differences... this setting, in my case, was only affecting the reactiveness of some devices (swtiches) that's it...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Post Reply

Who is online

Users browsing this forum: No registered users and 129 guests