Start a new topic

Setup based on a Sonoff basic flashed with the Sonoff-Tasmota firmware issue

I've the following setup based on a Sonoff basic flashed with the Sonoff-Tasmota firmware.

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.

Sonoff setup

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 headersAditionally to step one (pull-up restore) install a capacitor between GPIO14 and GND

Questions:

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 ? I've got some capacitors from kynix: http://www.kynix.com/? Can I use them?

Is there an other way to address this issue ?


For your own peace of mind I would monitor the output of the switch to the Sonoff with an oscilloscope whilst it is flickering. You will see what is exactly is going on and reassure yourself that the Sonoff is responding appropriately. Once you know the sonoff is changing appropriately you can try to figure out why the voltage is changing. If it is not the Sonoff then I’d wonder about the Switch next if it has worked for weeks, but not recently. If the flickering is quick you can probably sort it with just extra software compensation. Is the flickering when the switch is closed or also when it is open?

This looks like an interesting setup.


Is your Sonoff installed by the light switch or the light itself?   If by the lights, did you run a new wire from the Sonoff to the switch, or use existing wiring? 


Hi, 


I need the same setup, but i want to know whether you have used MQtt for this project, Can you please guide me on this? 

Login or Signup to post a comment