[00:48:25][C][captive_portal:169]: Captive Portal:
[00:48:25][C][ota:029]: Over-The-Air Updates:
[00:48:25][C][ota:030]: Address: blitzwolf_bw_ss5.local:8266
[00:48:25][C][ota:032]: Using Password.
[00:48:25][C][api:095]: API Server:
[00:48:25][C][api:096]: Address: blitzwolf_bw_ss5.local:6053
[00:48:42][D][switch:021]: ‘Rele 1’ Turning ON.
[00:48:42][D][switch:045]: ‘Rele 1’: Sending state ON
[00:48:44][D][switch:025]: ‘Rele 1’ Turning OFF.
[00:48:44][D][switch:045]: ‘Rele 1’: Sending state OFF
[00:48:48][D][switch:021]: ‘Rele 2’ Turning ON.
[00:48:48][D][switch:045]: ‘Rele 2’: Sending state ON
[00:48:51][D][switch:025]: ‘Rele 2’ Turning OFF.
[00:48:51][D][switch:045]: ‘Rele 2’: Sending state OFF
[00:48:56][D][binary_sensor:036]: ‘Mini relé’: Sending state ON
[00:48:56][D][switch:029]: ‘Rele 1’ Toggling ON.
[00:48:56][D][switch:045]: ‘Rele 1’: Sending state ON
[00:48:56][D][binary_sensor:036]: ‘Mini relé’: Sending state OFF
[00:48:56][D][switch:029]: ‘Rele 1’ Toggling OFF.
[00:48:56][D][switch:045]: ‘Rele 1’: Sending state OFF
[00:48:56][D][binary_sensor:036]: ‘Mini relé’: Sending state ON
[00:48:56][D][switch:029]: ‘Rele 1’ Toggling ON.
[00:48:56][D][switch:045]: ‘Rele 1’: Sending state ON
[00:48:56][D][binary_sensor:036]: ‘Mini relé’: Sending state OFF
[00:48:56][D][switch:029]: ‘Rele 1’ Toggling OFF.
[00:48:56][D][switch:045]: ‘Rele 1’: Sending state OFF
[00:49:02][D][binary_sensor:036]: ‘Mini relé’: Sending state ON
[00:49:02][D][switch:029]: ‘Rele 2’ Toggling ON.
[00:49:02][D][switch:045]: ‘Rele 2’: Sending state ON
[00:49:02][D][binary_sensor:036]: ‘Mini relé’: Sending state OFF
[00:49:02][D][switch:029]: ‘Rele 2’ Toggling OFF.
[00:49:02][D][switch:045]: ‘Rele 2’: Sending state OFF
[00:49:02][D][binary_sensor:036]: ‘Mini relé’: Sending state ON
[00:49:02][D][switch:029]: ‘Rele 2’ Toggling ON.
[00:49:02][D][switch:045]: ‘Rele 2’: Sending state ON
[00:49:02][D][binary_sensor:036]: ‘Mini relé’: Sending state OFF
[00:49:02][D][switch:029]: ‘Rele 2’ Toggling OFF.
[00:49:02][D][switch:045]: ‘Rele 2’: Sending state OFF
Have you manage to figure it out? I bought a few of those and I am getting ahead by coding it before it arrives. Have you checked Tasmota?
It states:
This device uses AC frequency detection circuits on switch inputs supported since Tasmota 8.4.
My understanding is that your input will go from 1 to 0 together with your AC frequency, meaning 60hz would get you 60 up and 60 down signals per second.
I believe @nickrout’s suggestion would anyhow help, a debounce would do the trick. Please check this post for something more specific. Let me know how it goes.