New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonoff touch - physical switch delay #891
Comments
The problem is that tasmota lets you do different things if you press the button
multiple times, so it needs to wait and see if you are only pressing it once or
if you are pressing it multiple times.
There s an option that lets you disable this. I don't remember it at the moment
|
Let me help : By the way, the "Disable by holding 4 x SetOption32" feature is curious. |
are you referring the line below to set it to "0.1"? #define KEY_HOLD_TIME 40 // [SetOption32] Number of 0.1 seconds to hold Button or external Pushbutton before sending HOLD message I don't understand what it means by "Disable by holding 4 x SetOption32"? |
no, @PeggyFree is saying to issue the command "setoption13 1" to disable all the multipress options. This isn't a code change, it's a setting change. |
Noted, will give it a shot...
On Wed, Oct 4, 2017 at 1:31 AM David Lang ***@***.***> wrote:
no, @PeggyFree <https://github.com/peggyfree> is saying to issue the
command "setoption13 1" to disable all the multipress options. This isn't a
code change, it's a setting change.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#891 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIw6wGpnsuy_C1aPqbsZ15XFnSOs0_-Eks5som9VgaJpZM4Pd5r5>
.
--
Sent from Iphone Mobile
|
Tasmoata excepted the command I ran "setoption13 1" but there is still a lag on the touch buttons. There are times when it will lock up the button for a few seconds. And other times especially when it comes out from being ideal, the button becomes less responsive and than it catches up a few seconds later. What can I do to resolve this? |
I realize something while reading #947 , I did not set the MQTT IP address while running my button test. After setting the correct address it became responsive. My only concern is, what if MQTT looses connection? @ionciubotaru suggested there was an update on MQTT library, I'm using the latest 5.8.0 downloaded from Download Tasmota regardless, it still locks up when MQTT fails. |
@arendst |
There is a longstanding bug with the arduino libraries that if it has trouble
making a connection, nothing else can take place.
|
That explains a lot, can a time out be setup, stop trying to communicate
after 5 attempts? And re-attempt to connect after a reboot cycle.
…On Thu, Oct 5, 2017 at 8:51 AM David Lang ***@***.***> wrote:
There is a longstanding bug with the arduino libraries that if it has
trouble
making a connection, nothing else can take place.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#891 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ae1zH4TsoXVC7-VFOVRyT5U_9masNBvkks5spCgcgaJpZM4Pd5r5>
.
|
@alton76 I was going to ask the same as well....
…On Thu, Oct 5, 2017 at 8:51 PM, alton76 ***@***.***> wrote:
That explains a lot, can a time out be setup, stop trying to communicate
after 5 attempts? And re-attempt to connect after a reboot cycle.
On Thu, Oct 5, 2017 at 8:51 AM David Lang ***@***.***>
wrote:
> There is a longstanding bug with the arduino libraries that if it has
> trouble
> making a connection, nothing else can take place.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#891
issuecomment-334329577>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-
auth/Ae1zH4TsoXVC7-VFOVRyT5U_9masNBvkks5spCgcgaJpZM4Pd5r5>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#891 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIw6wAKnzeTPdo2GI-2f5QO0jwEEDk3Sks5spNDhgaJpZM4Pd5r5>
.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
I've flashed tasmota to my sonoff touch and I can see slight delay when using touch button. It's much faster to turn on the light by mqtt message than with touch button. Is there any option I can tweak? Stock sonoff firmware was much faster.
The text was updated successfully, but these errors were encountered: