Skip to content
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

CounterDebounce command without function #524

Closed
Stalkk opened this issue Jun 18, 2017 · 1 comment
Closed

CounterDebounce command without function #524

Stalkk opened this issue Jun 18, 2017 · 1 comment
Labels
bug Type - Confirmated Bug

Comments

@Stalkk
Copy link

Stalkk commented Jun 18, 2017

Hi,

The CounterDebounce command ignores parameter. eg.
http://sonoff/cm?cmnd=CounterDebounce%20200 returns
RESULT = {"CounterDebounce":0}, where 0 - the last set value.

To set CounterDebounce i have to use CounterDebounce3 command.
http://sonoff/cm?cmnd=CounterDebounce3%20300 returns
RESULT = {"CounterDebounce":300}

If i try to send CounterDebounce1 or CounterDebounce2 it have no impact- Probably because i have only Counter3 assigned to GPIO in settings.

This behavior is the same for mqtt and http commands.

@arendst
Copy link
Owner

arendst commented Jun 19, 2017

You gave already the correct answer by suggesting the 3 suffix.

I will remove the test for active GPIO in the next release so making command CounterDebounce work as expected.

@arendst arendst added the bug Type - Confirmated Bug label Jun 19, 2017
arendst added a commit that referenced this issue Jun 19, 2017
5.2.0 20170619
* Add command SetOption12 1 to disable newly released configuration
flash rotate to reduce flash wear
* Fix command CounterDebounce by removing test for active GPIO (#524)
* Add command SetOption33 1..250 to allow user configure POW
Max_Power_Retry count (#525)
@arendst arendst closed this as completed Jun 26, 2017
curzon01 pushed a commit to curzon01/Tasmota that referenced this issue Sep 6, 2018
5.2.0 20170619
* Add command SetOption12 1 to disable newly released configuration
flash rotate to reduce flash wear
* Fix command CounterDebounce by removing test for active GPIO (arendst#524)
* Add command SetOption33 1..250 to allow user configure POW
Max_Power_Retry count (arendst#525)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type - Confirmated Bug
Projects
None yet
Development

No branches or pull requests

2 participants