Sonoff T4EU1C looping on and off after switching ON

249 views
Skip to first unread message

jerome83136 tux

unread,
May 26, 2020, 3:02:23 PM5/26/20
to TasmotaUsers
Hello,

I just flashed a Sonoff T4EU1C switch wih Tasmota.

Everything went fine and I'm abble to access the WebUI after setting up wifi configuration.

When I powers ths switch by using an arduino uno it works well and I can access the tasmota webui and togle the switch on and off. (with no effect because the switch is not connected to the mains at this time of course)

When I plug the switch to the main and connect it to a light (or even without a light, by just connecting the provided capacitor); the switch seems to work well and I can access the tasmota webui.

But when I togle the switch ON from tasmota webui the switch goes into a kind of loop and togles on and off multiple times per second. It stays in the loop until I powers off the switch.
If I restore power the switch continues to loop between on and off forever.

When in this strange "loop" mode, tasmota webui is unreachable.

If I connect the switch to arduino uno, I can access tasmota webui again and everything seems fine.
If I togle the switch off by using the webui and connect the switch back to its mains, tasmota webui become reachable again until I try to togle the switch on. Then it loops again...

Does someone have an idea about what is happening ?

Thank you for your help

Best regards

Philip Knowles

unread,
May 26, 2020, 3:25:37 PM5/26/20
to jerome83136 tux, TasmotaUsers

Without knowing what your configuration is we can only guess.

What module have you picked and what GPIOs have been used?

 

Regards

 

Phil K

 

Sent from Mail for Windows 10

--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/b7194eba-740b-48b8-ba39-5f8e3865977a%40googlegroups.com.

 

Message has been deleted

jerome83136 tux

unread,
May 27, 2020, 1:33:19 PM5/27/20
to TasmotaUsers
Hello,

Just realised my previous answer was deleted.

I have made several tests and I think I understand what happens.

The physical button doesn't work properly and it seems this is a common problem reported by users.
It seems related to the R10 resistor that needs an upgrade. Will check this later as I don't think this is the reason of the on/off loops.

Concerning on/off loops:
It seems my switch toggles ON correctly when I use the Tasmota WebUI.

Then it loses its power (even if I attach the anti flicker module)
So it reboots and then tries to re-apply the last known state: ON This makes the switch rebooting several times and it seems after some cycles it erases its Tsmota configuration.

In that case, I can connect to the switch that reverted in AP mode like in the initial setup.

I've tried to change PowerOnState to OFF (default value is 3 which seems to tel the switch to restore the last known state)

After this, if I toggle the switch ON from Tasmota WebUI the switch toogles ON, then OFF (don't know why at the moment) and reboots.

In that case I'm able to reconnect the switch after the reboot and the Tasmota config is not lost anymore. I can then see the switch has indeed just restarted by consulting the uptime.

I think I have a problem with the anti flicker module or maybe wih the lights I used (I used a fluo light and a LED with the same result for both)
I have wired the anti flicker module as described in documentation.

I also wonder why does the switch lost its power when I toogle it ON ? I can understand it could be a problem with the anti flicker module when it is togled OFF and it has not enough power to stay alive.
But why does it happen whe the switch is supposed to be ON ?

Would be great to get some help here guys

Thank you

Best regards

To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.

Philip Knowles

unread,
May 27, 2020, 2:29:35 PM5/27/20
to jerome83136 tux, TasmotaUsers

If you haven’t got a neutral at the switch you MUST use the anti-flicker module for any light other than a filament bulb. Essentially it works by leakage through the bulb to neutral to keep the device alive and with non-filament bulbs you may only get conduction on a half cycle or part of a cycle. If the device s constantly switching on and off it will go into fast cycle reset and reset to defaults.

 

There is an issue on Tasmota GitHub which explains the steps to follow. Start with the Sonoff T1  1CH (28) module as your base configuration which seems to work for most.

To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/bb064dff-f92a-4095-a3a9-7a16c3aecab1%40googlegroups.com.

 

jerome83136 tux

unread,
May 27, 2020, 5:12:52 PM5/27/20
to Philip Knowles, TasmotaUsers
Yeah I know this
This is precisely for its ability to work without neutral that I've chosen this switch...

I've already tried what is said on the GitHub issue you mentioned but without luck.

I did a lot of searches to learn from the problems other users of this switch have encountered with tasmota.

I will continue searching and hopefully I will finally find the root cause of my problem.

Regards
Reply all
Reply to author
Forward
0 new messages