I've connected a wall switch (not push button) to the GPI14 and GND pin header of the Sonoff in order to be able to control the state of the lamp not only with the WIFI but with physical input has well. The the Sonoff-Tasmota firmware allow to sense the change of the Input (ON->OFF or OFF->ON) of the GPIO14 an reflect this input change to the status of the LAMP.
This setup has worked perfectly for weeks. But since a couple of day the the lamp is flickering (ON->OFF, OFF->ON in intermittence).
Bug reports are available which are describing the same issue but all off them conclude that the issue is not software but hardware related. The following remediation are proposed:
- Install an extra restore (5-10KOhm) between GPIO14 and 3.3V headers
- Aditionally to step one (pull-up restore) install a capacitor between GPIO14 and GND
What is really happening (the logs clearly showed a change of the GPIO14 input ON->OFF / OFF->ON) ?
There are already pull-up resistors available on GPIO14 according to this, why would add an other solve the problem ? What about the capacitor ?
Is there an other way to address this issue ?