Reset input-switch on MOES MS-104B
Posted: 02 May 2021, 20:11
Background:
I'll modify a MOES MS-104B (internal a WB2S BEKEN chip) with a ESP. The two input-channels a seems to work as follows:
Short press = single pulse to low
Long press = double pulse to low.
When I configure a Switch-Input-Device with 'Push Button Active Low' and press the button for a short time only, the state remains on '1' (for a long press, the release-impulse correctly reset it to '0').
Can I reset the switch-state with a rule-timer and special command ?
Or does someone have another solution? A normal switch does not work, because the impulses seem too short.
Edit: I have to revise the statement about the normal switch. It is short, but the event is triggered. But that doesn't really change the problem, because sometimes the 0-1-0 change is triggered once and a long press is then triggered twice.
I'll modify a MOES MS-104B (internal a WB2S BEKEN chip) with a ESP. The two input-channels a seems to work as follows:
Short press = single pulse to low
Long press = double pulse to low.
When I configure a Switch-Input-Device with 'Push Button Active Low' and press the button for a short time only, the state remains on '1' (for a long press, the release-impulse correctly reset it to '0').
Can I reset the switch-state with a rule-timer and special command ?
Or does someone have another solution? A normal switch does not work, because the impulses seem too short.
Edit: I have to revise the statement about the normal switch. It is short, but the event is triggered. But that doesn't really change the problem, because sometimes the 0-1-0 change is triggered once and a long press is then triggered twice.