The contact ' NO (normally in)/push' the panel I've connected to GPIO13.
With this switchinput I want to set my alarm 'OUT'.
When I enter the correct alarmcode on the panel to set, sometimes it works and sometimes it does not work. The signal on GPIO13 is very instable.
The output in the log when enter the correct code (setting: normal switch /no logic and pull up):
I think because it is a pushcontact that I get multiple switch changes. I do not want that.93787: SW : Switch state 1 Output value 0
93795: EVENT: NOAlarmuit#Switch=0.00
93987: SW : Switch state 0 Output value 1
93990: EVENT: NOAlarmuit#Switch=1.00
94187: SW : Switch state 1 Output value 0
94190: EVENT: NOAlarmuit#Switch=0.00
94687: SW : Switch state 0 Output value 1
94690: EVENT: NOAlarmuit#Switch=1.00
94987: SW : Switch state 1 Output value 0
94990: EVENT: NOAlarmuit#Switch=0.00
95687: SW : Switch state 0 Output value 1
95690: EVENT: NOAlarmuit#Switch=1.00
95787: SW : Switch state 1 Output value 0
95790: EVENT: NOAlarmuit#Switch=0.00
95887: SW : Switch state 0 Output value 1
95890: EVENT: NOAlarmuit#Switch=1.00
95987: SW : Switch state 1 Output value 0
95990: EVENT: NOAlarmuit#Switch=0.00
96097: SW : Switch state 0 Output value 1
96100: EVENT: NOAlarmuit#Switch=1.00
96287: SW : Switch state 1 Output value 0
96290: EVENT: NOAlarmuit#Switch=0.00
96787: SW : Switch state 0 Output value 1
96790: EVENT: NOAlarmuit#Switch=1.00
I have experimented with the different switch settings in esp easy from my wemos but nothing helps.
Another setting maybe? Maybe a rull? Or can I set a delay after the first Switch state change so the rest is ignored?
I need a stable response to be able to set up follow-up actions in domoticz to enable the alarm out (for example.)